The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Friends and/or Buddies on Profile Details »» | |||||||||||||||||||||||||
WHAT's THIS
INSTALLATION Install with product manager. Set your preferences in the acp (vBulletin options) Add PHP Code:
Code:
<if condition="$show['signature']"> 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: HTML Code:
<if condition="$userinfo[fieldXX] == yes">$FNB_HTML</if> or HTML Code:
<if condition="$userinfo[fieldXX] != no">$FNB_HTML</if> Remember to replace XX with the number of the new profilefield! PLANNED FEATURES
LIVE DEMO(S) CREDITS Thx to Cloud-Warrior for inspiration and idea. If you want a seperate friends page, too, get the vBFriends extension by Cloud-Warrior. vwturbo (for the idea of gettin profilepics instead of avatars), gamebgs (limitting shown friends/buddies to a max number), D|ver (hiding the information who you got in your buddy list and whohas added you to his buddy list), yayvb (show a "no avatar" picture if no avatar is available), ThorstenA (see changelog version 1.0.2) Show Your Support
|
Comments |
#182
|
||||
|
||||
Quote:
The list on the left is the buddys you have on your list.. the list on the right is the list of members that have YOU on their list.. but you don't have them.. Click the add button [+] next to the members to add them to your list.. once you are on eachother's list.. you will see the avatars! Sandra |
#183
|
||||
|
||||
Quote:
I'm not sure where to go and edit the code for this area. Do I go into plugin manager, or should I go into replacement variable area or somewhere else? |
#184
|
|||
|
|||
It's hit or miss on if the avatar shows up.
What is up with that? |
#185
|
||||
|
||||
Quote:
Go to Admin CP >> Plugin System >> Plugin Manager >> Click on [edit] Friends and/or Buddies in Profile >> then . . . . (cut & paste into note pad the Plugin PHP Code, and use the find feature) You need to find this line: Code:
$FNB_HTML .= "<td class=\"tcat\" colspan=\"2\">".($vbulletin->options['fnb_show_friends'] ? $vbphrase['fnb_friends'] : $vbphrase['fnb_buddies']).( ($vbulletin->options['fnb_show_counts']) ? " (".count($FNB_choice).")" : "" )."</td>"; Code:
$FNB_HTML .= "<td class=\"tcat\" colspan=\"2\">"."<a href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&showall=1\">".($vbulletin->options['fnb_show_friends'] ? $vbphrase['fnb_friends'] : $vbphrase['fnb_buddies'])."</a>".( ($vbulletin->options['fnb_show_counts']) ? " (".count($FNB_choice).")" : "" )."</td>"; :banana: :banana: :banana: P.S. Here's an example of how you can click on "Friends(xx)" so it's linkable. Nothing very exciting, just a link. |
#186
|
||||
|
||||
Thanks for this, it works like a charm.
Also I wanted to share something with everyone else. I for one wanted the lists to be randomized instead of the usernames be in alphabet order. So all I did was to change PHP Code:
PHP Code:
|
#187
|
|||
|
|||
I have problem with "Show All".
When users clicks "Show All" it opens; http://www.domain.com/members/admin.html My Seo using "members/[user_name].html" and rewrites "/member.php?u=".$userinfo['userid']" so i have problem with this line "href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&showall=1\">" how do i fix it? Thanks... |
#188
|
|||
|
|||
Can somebody help?
|
#189
|
||||
|
||||
Will this work with vb 3.6?
|
#190
|
||||
|
||||
Quote:
Working on my site running vb 3.6. |
#191
|
|||
|
|||
Is there a way to automatically add new members to my buddy list when they sign up?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|