![]() |
Friends and/or Buddies on Profile
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) |
v2.0.2
v2.0.2
v2.0.1
v2.0.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
|
Thanks for the confirmation that it will work in 3.6.x... Shame that filesystem images won't work though. I guess I'll have to reluctantly move them back into database to use this beauty. A question: How are friends sorted?
|
Quote:
PHP Code:
PHP Code:
The buddy-by ordering is located on line 44. |
Cool idea, thanks! :)
|
The beauty of RAND. :)
Exactly how I'd like to do it, thanks for the info jj. :) |
Hi, I have installed your 3.5 Release in my vb 3.6.0
So is there any need to update or re-install it to this 3.6 release? thanks. |
Quote:
|
okay, thanks :)
|
Thanks for this, I hope people expand on improving the profiles in vB3.6 at the moment there arn't many mods out there.
p.s. The demo site has a really nice layout of the profile. Anychance you'll release a mod to do similar? Thanks once again |
Quote:
|
Works fine, only problem i have is that the avatars arent showing when i have them to show
|
Quote:
|
Nice, but how do you make the avatars their normal height and width? Since they are pretty small now. If you could tell me, it would be awesome.
|
Quote:
|
Looks like a great mod.
Update mu (us) when its 3.6.4 ready :) |
Quote:
I've looked all over and can't seem to find the setting :( Thank you! edit: nm...I found it :) |
After moving image to the filesystem and also after moving the image back into the database the avatars still won't show :(
Any ideas what I should do? Here's the profile: http://www.tankkillers.com/forums/member.php?u=1 Thank you! |
Oh, i like the idea, and that member template... anywhere i can get the code for that template? :p
thanks |
Quote:
|
Great hack. Installed. I get the buddy list with avatars, but the additional friends list that show who I am a friend of will not display no matter what setting I choose. Also, the only way I could get the buddy list to display was to set show friends to no. If I set it to yes, the buddy list won't display.
Also, which template do I edit so i can center the avatars? |
Hi
I tried your hack and it looks promising. But a few changes would be great. If a noavatar image is provided, it would be cool if all friends are shown with graphic. Somewhat like myspace does. It would also be cool to have an option "use default avatar size of users" (as alternate option to a fixed size like it is now) Because if all avatars are resized to a predefined size most of them look really bad. That would be great. /me clicks install |
Quote:
|
Thanks for the hack but I have a couple of questions.
Is this going to work just fine while I'm having my avatars as filesystem storage? Also is it possible to change the links to member's profile from "http://www.yourdomain.com/member.php?do=getinfo&username=Snake" to "http://www.yourdomain.com/member.php?u=1"? |
so the avitars will not show on 3.6.4?
|
I have a user with a TM after his name.. The character, not just the letters TM..
Doesn't recognize it.. Is it possible to be able to add users by memberid as well or possibly fixing this? |
show all button doesnt work with vbseo :(
http://www.arkasokak.net/uyeler/metluca/ |
I just realized that the "Show All" link doesn't work on vBSEO so I was wondering if there's a little fix for this? :)
|
Quote:
|
what are friends?
i don't know where they are from |
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Great Hack!
Is it possible to set that the admin is by default a friend of every new user? Thank you! |
I have 3.6.5. I have the mod installed but I don't see the avatars. My images are stored in my database. Here's my profile
http://www.sofreshforums.com/member.php?u=1 |
Quote:
|
I thought I'd just confirm that this is running fine on 3.6.5 - As you can see here.
|
How can I get $FNB_HTML to display in the homepage of the UserCP. Can someone please either post or PM me.
|
Quote:
|
All times are GMT. The time now is 01:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|