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
  #22  
Old 01-18-2006, 02:19 PM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would you add a link to "Add $userinfo[username] to your buddy list"?
Reply With Quote
  #23  
Old 01-18-2006, 05:46 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 agiacosa
How would you add a link to "Add $userinfo[username] to your buddy list"?
Search your MEMBERINFO template for <if condition="$show['addbuddylist']"> you should find it there.
Reply With Quote
  #24  
Old 01-20-2006, 06:57 PM
vwturbo vwturbo is offline
 
Join Date: Jul 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I found a pretty big bug. I decided to change my profile pic which changed successfully. The problem is whoever I had as a friend when I go to their pages it still has my old profile pic.
Reply With Quote
  #25  
Old 01-20-2006, 07:30 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great great idea! Some suggestions:

- if there is no friend, do not show friends (same for buddy lists)
- set no avatar pic location standard to any standard picture from vbulletin like "images/smilies/smile.gif"
- maybe implement template system, hopefully it's not soo complicated
(- more complicated: get a private message if someone has put you on his buddy list "Dear ... xxx has put you on his buddy list, to be his friend, just put him also on your buddy list")

This hack's a really big improvement to community.
Reply With Quote
  #26  
Old 01-20-2006, 08:49 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA
(- more complicated: get a private message if someone has put you on his buddy list "Dear ... xxx has put you on his buddy list, to be his friend, just put him also on your buddy list")
Dude, have a look at https://vborg.vbsupport.ru/showthrea...2&page=1&pp=15
The hack that Antivirus has done.

Hope it helps.

Hanif
Reply With Quote
  #27  
Old 01-20-2006, 09:18 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 ThorstenA
if there is no friend, do not show friends (same for buddy lists)
On list for next update

Quote:
Originally Posted by ThorstenA
set no avatar pic location standard to any standard picture from vbulletin like "images/smilies/smile.gif"
Hm, don't know. You are free to set in there what ever you like to. As the options will move to acp soon, it's even easier to set an alternative pic location.

Quote:
Originally Posted by ThorstenA
maybe implement template system, hopefully it's not soo complicated
(more complicated: get a private message if someone has put you on his buddy list "Dear ... xxx has put you on his buddy list, to be his friend, just put him also on your buddy list")
Read the answer by Hanif or re-read my initial posting, in which I mentioned both of your "requests"

Thx for your suggestions.
Reply With Quote
  #28  
Old 01-20-2006, 09:21 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 vwturbo
I think I found a pretty big bug. I decided to change my profile pic which changed successfully. The problem is whoever I had as a friend when I go to their pages it still has my old profile pic.
As my time is limited at the moment, I have to figure out that later.
Reply With Quote
  #29  
Old 01-20-2006, 10:51 PM
vwturbo vwturbo is offline
 
Join Date: Jul 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
As my time is limited at the moment, I have to figure out that later.
No problem, I just thought that I would let you know what I found.
Reply With Quote
  #30  
Old 01-21-2006, 07:35 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

j.jacobsen, thanks very much for considering my last suggestion. And Hanif, thanks for showing me the right product for the private message suggestion.

My users do like this hack very much. I have one more suggestion about the redundant view of buddys both as "friends" and "buddys", I think it's very easy to implement. Show all buddys with avatars - and if they are friends, extra mark this "friends" as "confirmed" or "Friendship".
Reply With Quote
  #31  
Old 01-21-2006, 08:35 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, take your time j.jacobsen and thanks for all the efforts you put into this
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 07:37 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.24101 seconds
  • Memory Usage 2,322KB
  • 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
  • (7)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
  • (4)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