Adding buddy list to profile

Nanana

New Member
I've seen a lot of forums where you can view your buddy list on your profile. I'm not sure if this is a mod or an option in the ACP. So, how do I add the buddy list onto users profiles?
 
INSTALLATION


Install with product manager.


Set your preferences in the acp (vBulletin options)


Add

PHP:
$FNB_HTML
somewhere in your MEMBERINFO template. Whereever you'd like to show up the friends or buddies. If you're not sure what to do, search for

PHP:
<if condition="$show['signature']">

in your MEMBERINFO template and add it before that line.


OPTIONAL (User selectable)


If you want to have this user-selectable you need to add a custom profile field. Create the new field as a radiobutton, give it a name and description of your choice, the options yes and no and use the following code instead of only $FNB_HTML:


PHP:
<if condition="$userinfo[fieldXX] == yes">$FNB_HTML</if>

(if user wishes to show up)
or


PHP:
<if condition="$userinfo[fieldXX] != no">$FNB_HTML</if>

(show by default, user can deactivate it)

Remember to replace XX with the number of the new profilefield!
 
Back
Top