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
great addon
i will use this
but is it possible to hide those information who you got in your buddy list and whohas added you to his buddy list?
so only the friends are shown?
that would be great
but is it possible to hide those information who you got in your buddy list and whohas added you to his buddy list?
so only the friends are shown?
that would be great
Here we go This is a complete rewrite of the plugin. Please remove the old one before installing the new one. Replace
Code:
$FRIENDSFOES
in your MEMBERINFO template with
Code:
$FNB_HTML
Also take a look at the extended setup part of the plugin code.
PHP Code:
// Setup
/////////////////////////////
$FNB_setup = array(
'friends' => "Freunde",
'buddies' => "Buddies",
'has_these_users_on_his_list' => "Buddy-Liste",
'is_on_these_buddy_lists' => $userinfo['username']." ist auf den Buddy-Listen von",
'columns_to_show' => 5,
// set these to TRUE or FALSE
// if you set show_friends to false you will get buddies shown up instead of friends and extended info is removed even
// you set show_ext_info to true
// if you set show_ext_info to false the additional buddy-list and where the user is buddy on others lists gets hidden
// if you set fetch_avatar true you will get avatar picture, else you get profile picture if present
You can now additionally choose which list is shown, i.e. the friendslist or the buddylist with avatars or profilepics - as you like. If you choose the buddylist to be shown the extra information on who's on your buddylist and on whom's you are will be hidden. Even if show_ext_info is set true.
If you use file-based storage of profile pics, the profile-pics will NOT show up.
If you choose the friendslist to be shown, you can decide if you want to show the extra buddy info to be hidden or not with the show_ext_info array key.
Please re-download the xml file and overwrite the installed plugin with it. The sql error should be gone then.
If I remove the input-variable from the MEMBERINFO template everything is fine, the profile page is working and the friends or buddie field doesn't show up.
which xml? From post 85? Will that overwrite the previous plug ins?
Thanks!
Yes, the xml from #85, and it should overwrite the previous one, as it's the same name. Hope you have removed the first one I did. Had another name, so there should be only "Friends and/or Buddylist on Profile" under (Hook) : member_complete in plugins.
Here we go This is a complete rewrite of the plugin. Please remove the old one before installing the new one. Replace
Code:
$FRIENDSFOES
in your MEMBERINFO template with
Code:
$FNB_HTML
Also take a look at the extended setup part of the plugin code.
PHP Code:
// Setup
/////////////////////////////
$FNB_setup = array(
'friends' => "Freunde",
'buddies' => "Buddies",
'has_these_users_on_his_list' => "Buddy-Liste",
'is_on_these_buddy_lists' => $userinfo['username']." ist auf den Buddy-Listen von",
'columns_to_show' => 5,
// set these to TRUE or FALSE
// if you set show_friends to false you will get buddies shown up instead of friends and extended info is removed even
// you set show_ext_info to true
// if you set show_ext_info to false the additional buddy-list and where the user is buddy on others lists gets hidden
// if you set fetch_avatar true you will get avatar picture, else you get profile picture if present
You can now additionally choose which list is shown, i.e. the friendslist or the buddylist with avatars or profilepics - as you like. If you choose the buddylist to be shown the extra information on who's on your buddylist and on whom's you are will be hidden. Even if show_ext_info is set true.
If you use file-based storage of profile pics, the profile-pics will NOT show up.
If you choose the friendslist to be shown, you can decide if you want to show the extra buddy info to be hidden or not with the show_ext_info array key.
will there be a way that you will only be able to show like 8 friends in the profile, and then the rest brings you to the friends page or something, can this be done?
what would be even better is that we can choose our top 8 but I know that that would be something hard to do...