The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

07.09.10 at 21:52:12, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 
MySpace/Facebook URL in Profile for YaBB 2.3/2.3.1 (Read 4277 times)
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



14.10.08 at 17:44:39  
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: 17.04.09 at 00:20:11 by Derek Barnstorm »  
IP Logged
 

MyNetworks_V1_3.zip (28 KB | 68 )
bartez
Bloody Novice
*
Offline

Posts: 36



Reply #1 - 14.10.08 at 17:53:13  
could u please post/PM the things u've updated? I have rewritten this mod for my own forum for the community Hyves Smiley
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #2 - 14.10.08 at 18:00:22  
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...


 
IP Logged
 
magnum
Bloody Novice
*
Offline

Posts: 48



Reply #3 - 14.10.08 at 18:55:27  
Excellent! I'll be adding this tonight. Thanks Derek
 
IP Logged
 
batchman
Hacker God
*****
Offline

Orlando, Florida, USA
Posts: 1202



Reply #4 - 15.10.08 at 03:11:33  
Interesting ... conflicts between this and the moods mod.

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

Improving my forum, one mod at a time!

...
Now up and running again, with an accurate link.

...

Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #5 - 15.10.08 at 19:19:29  
I'm afraid a few Mods will do that beacause they'll try to replace the same line.
 
IP Logged
 
Moyamoya
Bloody Novice
*
Offline

Wichita, KS, USA
Posts: 22



Reply #6 - 21.10.08 at 15:13:45  
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:
		<a href="http://www.facebook.com/${$uid.$user}{'myspace'}" target="_blank">$mynetworks_txt{'04'} ${$uid.$user}{'realname'}</a>


Should be:
Code:
		<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
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #7 - 21.10.08 at 16:06:48  
Whoops! Okay, thanks for telling me... I've updated the zip package in the first post...

I changed the URL too...

Cheers!
 
IP Logged
 
Moyamoya
Bloody Novice
*
Offline

Wichita, KS, USA
Posts: 22



Reply #8 - 21.10.08 at 20:34:18  
No sweat.  Glad I could help!

DJ
 
IP Logged
 
gman
Hacker Wannabe
**
Offline

Altered States, Missouri, USA
Posts: 79



Reply #9 - 26.10.08 at 17:35:32  
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
« Last Edit: 26.10.08 at 18:08:21 by gman »  
IP Logged
 

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

Unfortunately, prior to my birth, Missouri had not outlawed inbreeding.
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2531



Reply #10 - 26.10.08 at 17:43:11  
gman wrote on 26.10.08 at 17:35:32:
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
 
IP Logged
 

greetings
Jeff
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #11 - 26.10.08 at 22:43:20  
gman wrote on 26.10.08 at 17:35:32:
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.
 
IP Logged
 
ccarr
Ex Member





Reply #12 - 27.10.08 at 18:35:55  
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.
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #13 - 29.10.08 at 22:47:23  
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?


 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 611



Reply #14 - 04.01.09 at 22:25:38  
Updated for YaBB 2.3.1 Forum Software
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: 06.01.09 at 02:27:04 by Derek Barnstorm »  
IP Logged
 
Pages: 1 2 
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum