Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) MySpace/Facebook URL in Profile for YaBB 2.3/2.3.1 (Read 19164 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
MySpace/Facebook URL in Profile for YaBB 2.3/2.3.1
Oct 14th, 2008 at 5:44pm
Print Post  
MySpace/Facebook URL in Profile 1.3

Description:
Adds MySpace and Facebook address info in user profile and message view.

Credits:
The MySpace Mod was originally coded by Shay King (Xavier) for YaBB 2.1

Screenshots:

User CP:


Profile:


Display:


Zip Package:
MyNetworks Folder:
MyNetworks_V_1_3.mod
MyNetworks.lng
facebook.gif
facebook.png
myspace.gif
myspace.png

MySpace Folder:
MySpace_V_1_3.mod
MySpace.lng
myspace.gif
myspace.png

Facebook Folder:
Facebook_V_1_3.mod
Facebook.lng
facebook.gif
facebook.png

Installation:
Either install MySpace OR Facebook. If you want to install them both, install the MyNetworks Mod.
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server.

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 - Originally written for YaBB 2.1 by Shay King (Xavier)
Updated for YaBB 2.2.3 by Derek Barnstorm - 15th July 2008
1.1 - Added Facebook and corrected confusion with URL - 27th July 2008
1.2 - Updated for YaBB 2.3
« Last Edit: Apr 17th, 2009 at 12:20am by Derek Barnstorm »  

MyNetworks_V1_3.zip ( 28 KB | Downloads )
Back to top
 
IP Logged
 
bartez
Ex Member


Re: MySpace/Facebook URL in Profile for YaBB 2.3
Reply #1 - Oct 14th, 2008 at 5:53pm
Print Post  
could u please post/PM the things u've updated? I have rewritten this mod for my own forum for the community Hyves Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #2 - Oct 14th, 2008 at 6:00pm
Print Post  
Wouldn't it be easier to just download this update and modify it again for Hyves?

There isn't really anything that has changed... The old Mod just wouldn't find a few lines because of added 'title' attributes and slight changes in another couple of lines...


  
Back to top
 
IP Logged
 
magnum
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 48
Joined: Jun 1st, 2008
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #3 - Oct 14th, 2008 at 6:55pm
Print Post  
Excellent! I'll be adding this tonight. Thanks Derek
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #4 - Oct 15th, 2008 at 3:11am
Print Post  
Interesting ... conflicts between this and the moods mod.

Easy to fix, but I did have to tweak the mod file slightly.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #5 - Oct 15th, 2008 at 7:19pm
Print Post  
I'm afraid a few Mods will do that beacause they'll try to replace the same line.
  
Back to top
 
IP Logged
 
Moyamoya
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 26
Location: Wichita, KS
Joined: Jun 1st, 2008
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #6 - Oct 21st, 2008 at 3:13pm
Print Post  
Derek,

I found a slight problem in the MyNetworks_V_1_2.mod file which I had to correct on my installation.

Line 276:
Code
Select All
		<a href="http://www.facebook.com/${$uid.$user}{'myspace'}" target="_blank">$mynetworks_txt{'04'} ${$uid.$user}{'realname'}</a>
 



Should be:
Code
Select All
		<a href="http://www.facebook.com/${$uid.$user}{'facebook'}" target="_blank">$mynetworks_txt{'04'} ${$uid.$user}{'realname'}</a>
 



On the profile page, the Facebook link had the MySpace userID at the end instead of the Facebook ID.

I also changed the Facebook URL so that all the person had to do was put their Facebook Profile ID in on the Contact Information page in User CP.



Thanks for the mod!

DJ
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #7 - Oct 21st, 2008 at 4:06pm
Print Post  
Whoops! Okay, thanks for telling me... I've updated the zip package in the first post...

I changed the URL too...

Cheers!
  
Back to top
 
IP Logged
 
Moyamoya
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 26
Location: Wichita, KS
Joined: Jun 1st, 2008
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #8 - Oct 21st, 2008 at 8:34pm
Print Post  
No sweat.  Glad I could help!

DJ
  
Back to top
 
IP Logged
 
gman
Junior Member
**
Offline


The Mod Mangler <HeLp_mE>

Posts: 79
Location: Altered States
Joined: Aug 24th, 2007
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #9 - Oct 26th, 2008 at 5:35pm
Print Post  
I love this mod.  Installed with no problems at all.

I did notice that a word added by the audio mod caused one step to "hiccup" but that was quickly and easily remedied.

I wish I could also have this same mod to add Xfire also?

How difficult would that be to also have Xfire along with myspace and facebook?

here is two images one is an old one I had and the little one i just made...



did you make this xfire button jet? 

Tongue

Grin
  

xfire99.png ( 1 KB | Downloads )
xfire99.png

Unfortunately, prior to my birth, Missouri had not outlawed inbreeding.
Back to top
WWWYIM  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #10 - Oct 26th, 2008 at 5:43pm
Print Post  
gman wrote on Oct 26th, 2008 at 5:35pm:
I wish I could also have this same mod to add Xfire also?

How difficult would that be to also have Xfire along with myspace and facebook?

Tongue

Grin

Derek Barnstorm need ask Spikecity for update/permission. Without this cannot release.  Wink
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #11 - Oct 26th, 2008 at 10:43pm
Print Post  
gman wrote on Oct 26th, 2008 at 5:35pm:
I wish I could also have this same mod to add Xfire also?

I've sent Spikecity a message over at YaBB. I've not seen him log in for a while though, so it all depends if he gets my message and gives me permission.
  
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #12 - Oct 27th, 2008 at 6:35pm
Print Post  
Quote:
Derek Barnstorm need ask Spikecity for update/permission. Without this cannot release.


Unless, of coarse, it's a complete rewrite. Original code not used.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile V1.2 for YaBB
Reply #13 - Oct 29th, 2008 at 10:47pm
Print Post  
Right, Spikecity has given me permission to do this anyway... I never use XFire though, so before I do it, I'd like to know how you'd like it to be linked. Spikecity's original Mod linked to it by adding users as a friend, but from what I can see, to link to a users profile it would be 'http://xfire.com/profile/YourName'

What's the best way to link to an XFire profile?


  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: MySpace/Facebook URL in Profile for YaBB 2.3*
Reply #14 - Jan 4th, 2009 at 10:25pm
Print Post  
Updated for YaBB 2.3.1

Install V1.2 for YaBB 2.3 and V1.3 for YaBB 2.3.1

The same .mod file works with 2.3 and 2.3.1
« Last Edit: Jan 6th, 2009 at 2:27am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint