Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 12-16-2006 Last Update: 08-26-2007 Installs: 162
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!


TODO

  • Looking into avatar/profilepicture display/detection
  • Online status of friends/buddies
  • ?SEO compatibility?


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
  #2  
Old 12-17-2006, 10:42 AM
jj's Avatar
jj jj is offline
 
Join Date: Sep 2005
Location: Viernheim, Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v2.0.2
  • [Fix] Fixed the german xml file on 2007-27-08

v2.0.2
  • [Fix] Add/remove buddy phrases switched

v2.0.1
  • [Fix] Error in pagination count and displayed entries mismatched
  • [Fix] Profile links by username should work now

v2.0.0
  • [Change] GLOBAL Phrases now in sperate phrasegroup
  • [Add] HTML code now in template system
  • [Add] Pagination

v1.0.5
  • [Fix] Prevent showing the "red X" in Internet Explorer, if no profile pic is set and you're using file based storage of the profile pics

v1.0.4
  • [Add] Option to set hight/width of avatar/profilepic
  • [Add] Option to use profilelinks with id or username
  • [Add] Option to show only friends/buddies with username if you limit them to a max number

v1.0.3
  • [New] It's a product now
  • [Add] Phrased
  • [Add] Setup options moved to ACP (vBulletin options)
  • [Fix] Little fix with added option from 1.0.2

v1.0.2
  • [Add] Option to remove "friends" from being shown in buddy-list and buddy-by-list

v1.0.1
  • [Add] Friends list/Buddy list will not show up, if no friends are available. Also the additional Buddylist/Added by list will not show up if both of the are empty (i.e. you added no buddy and were not added by anyone else to his buddylist)
  • [Add] Prefixes to add/remove buddies in the additional lists now editable in setup part (what is meant exactly? these: [+], [-] as the default)

v1.0.0
  • Initial release
Reply With Quote
  #3  
Old 12-17-2006, 11:54 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 12-17-2006, 12:01 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 FleaBag View Post
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?
They are ordered by username. If you want to change it, you need to edit the plugin code under the hook "member_complete" on line 21 from
PHP Code:
                    username
to something like
PHP Code:
                    RAND()
ie. for randomization. Someone mentioned that in the 3.5.x Thread already.

The buddy-by ordering is located on line 44.
Reply With Quote
  #5  
Old 12-17-2006, 12:09 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool idea, thanks!
Reply With Quote
  #6  
Old 12-17-2006, 12:11 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The beauty of RAND.

Exactly how I'd like to do it, thanks for the info jj.
Reply With Quote
  #7  
Old 12-17-2006, 12:29 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 12-18-2006, 07:01 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 Pehchaan View Post
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.
No, as you can read under "EXTRA INFORMATION" it's absolutely the same version and code. I've just tested it myself with a 3.6.0 vb.
Reply With Quote
  #9  
Old 12-18-2006, 08:46 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay, thanks
Reply With Quote
  #10  
Old 12-18-2006, 03:44 PM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

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 07:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04573 seconds
  • Memory Usage 2,305KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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