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! TODO
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 |
#72
|
||||
|
||||
Cool. Thanks jj. It would be so great have the two incorporated.
I just have a couple of problems. The first one is the pagination system and the buddy (or friends) count. I'm finding that if there are enough friends or buddies to split into two or more pages the count is right and so are the avatars that show up. The problem is that when a member has less than the amount of buddies (or friends) to show up on two or more pages, one of the buddies (or friends doesn't appear). For example, if a member has two buddies, the count will say 2 buddies, but it will only show one of them... then if another buddy is added the count will change accordingly but the buddy just added won't show up until another buddy is added. This is no longer a problem when there are more buddies added and it splits into two pages... any idea why that would be happening? Hope the above makes sense. It seems to be a pagination problem. ...and also I have noticed that when the "Links to the profiles of friends/buddies by ID?" is set to no, the link is incorrect and doesn't go to the buddies profile. Thanks again for all your work jj. Cheers Clancy |
#73
|
||||
|
||||
Quote:
Anyone else with this problem? I've tested a lot to get this work. Quote:
|
#74
|
||||
|
||||
Using 3.6.5.
Not sure why the phrases are fcked like that. |
#75
|
|||
|
|||
I had the older version working without problems. Updated, installed overwrote the german product but doesnt show up in memberinfo only in admincp. Deleted product and installed again, but no difference.
|
#76
|
||||
|
||||
Fixed. Sorry, it was another plugin affecting your init_startup plugin.
Wierd. Managed to find a real bug though...the remove buddy/add buddy phrases are backwards. :P |
#77
|
|||
|
|||
Fixed. Installed the english version and it worked, installed the german product over the english one and it worked, too.
|
#78
|
||||
|
||||
Weird. I had no problems with the german version on my test board and on our board itself.
|
#79
|
||||
|
||||
Fixed, and thanks for the info with your problem (maybe click install now? =])
|
#80
|
||||
|
||||
Quote:
First, you are already grabbing all buddies' avatar info from the DB in one query, but then for each friend you are fetching the avatr info again meaning each friend adds another query to the page... I'd provide more info/a fix to you for this but your code is sorta all over the place and the var names are not constant, so it's too confusing for me to trace it... Anyway, it works great so if you're not going to fix that I'll keep this installed anyway, until I can find my own fix. |
#81
|
||||
|
||||
Quote:
Clancy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|