Version: 2.00, by Cloud-Warrior
Developer Last Online: Apr 2010
Version: 3.5.3
Rating:
Released: 11-23-2005
Last Update: 01-31-2006
Installs: 111
No support by the author.
As with vBFOAF, I've just released this mod. (There are no modications needed really, so it's more of an add-on.)
Please note that your buddy list becomes public (to other registered users) with vBFriends, so you will have to notify people of the small change in policy.
Put the attached file in your vbulletin folder, and call with the u=1 parameter, e.g.
You can surf your social network (similar to orkut), and view connections you have made to others and that others have made to you (similar to FOAF, or as illustrated with plink.org).
Screenshot attached.
The code contains some hardcoded HTML to avoid the use of templates (for now), but it uses standard vB3 CSS classes such as tcat, thead, smallfont, alt1 and alt2 - so should be fine with most styles.
Changelog:
PHP Code:
// 0.1 - 2004-06-23 - First version
// 0.2 - 2004-06-24 - Added missing trailing slash
// 0.3 - 2004-06-28 - Added missing TABLE_PREFIX to tables
// 0.4 - 2004-07-01 - Added functionality for enemies
// 1.0 - 2004-07-21 - No comment
// 1.1 - 2004-09-09 - Added mutual percentage, in and out counts, link and unlink options for own account
// 1.2 - 2005-11-24 - Updated for the vB 3.5 series
I have edited my postbit/postbit_legacy template, and linked it from there, e.g. under the reputation part, add in something like:
Here we go with a little enhancement. I added a setup part into the code, so you don't need to search the text in the hard coded html. I also removed the foe part because I don't think someone wants to show these in his profile. You can choose if you want to use avatares or profilepics for the friends part (see attached images). The plugin still only shows friends. If you want to have the buddies only you have to edit it again to your needs.
Maybe I should start a new thread for this in the vB 3.5 plugin forum if I get permission from you, Cloud-Warrior, since it's basically your code a bit optimized
Heres the setup part of it
Code:
// Setup
///////////////////////////////////////////////////////////
$FFsetup = Array(
// these are the texts which are displayed
'friends' => "Freunde",
'has_these_users_on_his_list' => "Buddy-Liste",
'is_on_these_buddy_lists' => $userinfo['username']." ist auf den Buddy-Listen von",
// set these to TRUE or FALSE
// if you set fetch_avatar true you will get avatar picture, else you get profile picture if present
'show_counts' => false,
'fetch_avatar' => true
);
// End of setup
///////////////////////////////////////////////////////////
You see i commented a bit.
I hope it works for you, as it works for me. I'm using 3.5.3
EDIT: For those who haven't used it before I need to mention it again: Place
Code:
$FRIENDSFOES
in the MEMBERINFO template wherever you want to display this.
cheers
Jens
nice addition mister
Now I only need something that will notify by PM when somebody requests to be a buddy...
Works good EXCEPT all text is in white, so since the background where the avatar thumbnails show is also white, you can't see any text??
I tried changing the .php file but no luck. I also tried changing the .xml and replugging after I Deleted the old plugin, but no luck.
Can someone just tell me how to make the text black?
*EDIT*
I tried adding font tags to both the xml file and re-plugging and also the php file, etc. I probably tried more but this is the 4th hack that I'm installing today so I'm getting confused now lol... Just if someone knows what I am talking about here, I'm sure I'm not the only person with white background fields. (please see http://www.420boards.com/member.php?u=1 for an example, u don't have to register/login.)