Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic YouTube in Profile V1.1 for YaBB 2.4 (Read 4111 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
YouTube in Profile V1.1 for YaBB 2.4
May 13th, 2009 at 3:38pm
Print Post  
YouTube in Profile V1.1

Description:
----------------
Adds YouTube address info in user profile and message view.

Credits:
----------
Thanks to OH Eng (Cable) for the button and icon.



Screenshots:
-----------------
User CP:


Profile:


Display:


Zip Package:
-----------------
YouTube_in_Profile_V1_1.mod
YouTube_in_Profile_V1_1_CSS_Buttons_Patch.mod
YouTube.lng
youtube.gif
youtube.png

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload language file to your server in ASCII mode.
4) Upload images in Binary mode.

If you are using the CSS Buttons Mod, install that first, then the YouTube Mod and then the YouTube CSS Buttons Patch.

Note: If you are installing other Contact Mods (i.e. Twitter, Xfire, Last.fm), the Mod will fail on steps 10, 19 and 20. You need to open up the .mod file in a text editor and add the extra contact info accordingly.
For example if you have the Twitter Mod installed, the step that edits MyCenter.pl, you need to add the highlighted like this:

Code
Select All
			$membAdInfo = $profbutton . $wwwlink . $msnad . $gtalkad . $icqad . $yimad . $aimad . $skypead . $myspacead . $facebookad . $twitterad; 



And the same thing for the template files:

Code
Select All
$contactlist = qq~
       {yabb profile}{yabb email}{yabb pm}{yabb www}{yabb msn}{yabb gtalk}{yabb skype}{yabb myspace}{yabb facebook}{yabb twitter}{yabb icq}{yabb yim}{yabb aim}{yabb addbuddy}
~; 



Code
Select All
$contactlist = qq~
       <yabb profile><yabb email><yabb pm><yabb www><yabb msn><yabb gtalk><yabb skype><yabb myspace><yabb facebook><yabb twitter><yabb icq><yabb yim><yabb aim><yabb addbuddy>
~; 



Files to edit:
----------------
Admin/ManageTemplates.pl
Admin/Modlist.pl
Sources/Display.pl
Sources/Load.pl
Sources/MyCenter.pl
Sources/Profile.pl
Sources/System.pl
Templates/default/Display.template
Templates/yabb2/Display.template

Mod History:
-----------------
1.0 - First release - 13th May 2009
1.1 - Added to ManageTemplates.pl - 10th November 2009
« Last Edit: Nov 12th, 2009 at 6:14pm by Derek Barnstorm »  

YouTube_in_Profile_V1_1.zip ( 8 KB | Downloads )
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: YouTube in Profile V1.0 for YaBB 2.4
Reply #1 - May 14th, 2009 at 7:52pm
Print Post  
I've made a slight adjustment to this. I don't think there was any need for 'user' in the URL, so I've removed it.

Code
Select All
http://www.youtube.com/user/ 


I've updated the Zip package.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: YouTube in Profile V1.1 for YaBB 2.4
Reply #2 - Nov 10th, 2009 at 11:12pm
Print Post  
I've added this to ManageTemplates.pl so that the yabb tag doesn't display in Template Configuration.

New Zip attached to first post. I'll call this one done soon if nobody's got any problems.

If you've already got it installed and apply the Mod again, you only need to upload Admin/ManageTemplates.pl
« Last Edit: Jan 31st, 2010 at 1:12am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint