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



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

Description:
----------------
Adds Twitter 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:
-----------------
Twitter_in_Profile_V1_1.mod
Twitter_in_Profile_V1_1_CSS_Buttons_Patch.mod
Twitter.lng
twitter.gif
twitter.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 Twitter Mod and then the Twitter CSS Buttons Patch.

Note: If you are installing other Contact Mods (i.e. YouTube, 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 YouTube 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 . $youtubead; 



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 youtube}{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 youtube><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 »  

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



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Twitter in Profile V1.1 for YaBB 2.4
Reply #1 - Nov 10th, 2009 at 11:18pm
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
 
123flashchat
New Member
*
Offline


I Love YaBB 2!

Posts: 10
Joined: Jan 26th, 2010
Re: Twitter in Profile V1.1 for YaBB 2.4
Reply #2 - Jan 26th, 2010 at 9:30am
Print Post  
Twitter is so popular and your this mod is so useful.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint