Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Friends and/or Buddies on Profile Details »»
Friends and/or Buddies on Profile
Version: 1.0.5, by jj jj is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 01-13-2006 Last Update: 03-12-2006 Installs: 270
Uses Plugins Template Edits
 
No support by the author.

WHAT's THIS
  • This product adds a public friends and/or buddy list in the profile.
  • What are friends? Friends means you are on each others buddylists. It is no seperate addition/addon. It's all based on vb's buddy system.
  • Need more info? Look at the attached screenshots, or the live demo(s).
  • Avatars/profilepics will not show up, if stored in filesystem!
  • Need some kind of informing the users, which have been added to a buddy list? Look at the AutoPM after addBuddy Plugin by Antivirus
  • The product adds 2 queries to the profile page


INSTALLATION


Install with product manager.


Set your preferences in the acp (vBulletin options)


Add
PHP Code:
$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
Code:
<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:

HTML Code:
<if condition="$userinfo[fieldXX] == yes">$FNB_HTML</if>
(if user wishes to show up)
or

HTML Code:
<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!


PLANNED FEATURES

  • Using Templates


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 12-14-2006, 08:59 AM
jj's Avatar
jj jj is offline
 
Join Date: Sep 2005
Location: Viernheim, Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
This seems to be a great hack, but for a lot of my members the profile page shows up as blank, so I am guessing that there is something in the code that fails when a certain variable is empty.

Does anyone have any idea what could be causing this or how to fix it?

Thanks.
I heard some people saying in this thread, that this isn't working for > 3.6.3 and I'm really sorry that I cannot try to get it running in > 3.6.0 (see post above)
Reply With Quote
  #233  
Old 12-17-2006, 04:43 PM
Cocko Cocko is offline
 
Join Date: Oct 2006
Location: Germany
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cocko View Post
seems to be a great hack.
till now i couldn't test.

anyone working on version for 3.6 ?
this is running in vb 3.6.4
Friends and/or Buddies on Profile
Reply With Quote
  #234  
Old 12-20-2006, 01:14 PM
dead7 dead7 is offline
 
Join Date: Aug 2005
Location: Detroit
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off I want to say thank you for everyones work on this hack, we've been molding this and the myspace layout for our site and so far its perfect!

I do have one question and please excuse me if it were touched on earlier in this thread but in the 16 pages I went through there wasn't much about them.

DONE 1.) I see in the examples how you are all using the user profiled field to select if you want your friends visible or not to the general public. My question is how do I craft an <if condition> that checks if someone is or isn't on someones buddy list? I want the if statement to basically check that if someone viewing another persons profile isn't on their buddy list than this would disallow them from viewing the friends (or whatever else I put within that if statement to not show them).

I'm fairly good with the if conditions I just never actually tried checking buddy lists like that. This is similar to how you would show one thing to members but not guests.. only my situation is if someone is actively on someone elses buddy list. I believe VB has default options for this for private messaging and pager where you can optionally select if people aren't on your buddy list they cannot PM or Pager you.


2.) I tried this a few times in the plugin using some postbit snippets for online status and that is getting an online status under the persons name/avatar in the friends list. If you're on MySpace you know that in a friends list it will say (Online!) under their picture in your friends list. I'd like to try to get that going also.


EDIT - I copied $post[onlinestatus] or $userinfo[onlinestatus] and it "kind of" works when its in the plugin code.. problem is its using the onlinestatus of the profile you're viewing, not the individual friends in the list. So its kind of there.. any other help someone can give?

EDIT 2 - Only friends/buddies can view profile was figured out.



Thank you so much for any help or direction you can point me to resolve a these little things. Other than that, well done guys you're doin great!
Reply With Quote
  #235  
Old 03-08-2007, 02:01 PM
rockmyway5 rockmyway5 is offline
 
Join Date: Aug 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the hack but it doesnt show avatars.
I am not sure if the avatar is saved in file system or not.
I have attached a pic for that.
But yes , path of avatars show up like images/avatars/somethign.gif , so i feel it must be file based , so how do i have that to database based?
also the [+] and [-] doesnt show up to me. I have all options set up well in vb options (confirmed by seeing other people screeshot in this thread.)
I browsed all 16 pages and I also tried searching this forum on how to do that but couldnt find help.
please help.
Reply With Quote
  #236  
Old 03-10-2007, 02:00 AM
nikki712 nikki712 is offline
 
Join Date: Sep 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to remove friends from a member's profile?
Reply With Quote
  #237  
Old 04-25-2007, 07:44 PM
jj's Avatar
jj jj is offline
 
Join Date: Sep 2005
Location: Viernheim, Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nikki712 View Post
Does anyone know how to remove friends from a member's profile?
Delete the buddy?
Reply With Quote
  #238  
Old 07-09-2007, 09:02 PM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works in my vb 3.6.7
Reply With Quote
  #239  
Old 07-09-2007, 10:09 PM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello I installed this and it is showing an incorrect number of buddies on the users profile page. It will say (for example) Friends (4) on the profile, but when in the user cp the buddy list shows the accurate number of users on the buddy list, in this instance 12. How do I correct this?
Reply With Quote
  #240  
Old 07-14-2007, 05:16 PM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump hoping for a response...
Reply With Quote
  #241  
Old 10-18-2007, 04:24 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. I've just added border="1" to the avatars..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12709 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete