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
  #42  
Old 01-27-2006, 02:44 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA
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".
You could make this like Hi5.com, they have an interesting system of friendships:

(1) Friends are just the friends they are now.
(2) unconfirmed friends are buddys you have on the list but the other don't.
(3) people asking for friendships are users who have you on the buddy list but you do not have them on the list.

The group (3) should not be shown to other users than the user to whom the user asking for friendhip adresses.
Reply With Quote
  #43  
Old 01-27-2006, 05:27 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
You could make this like Hi5.com, they have an interesting system of friendships:

(1) Friends are just the friends they are now.
(2) unconfirmed friends are buddys you have on the list but the other don't.
(3) people asking for friendships are users who have you on the buddy list but you do not have them on the list.

The group (3) should not be shown to other users than the user to whom the user asking for friendhip adresses.
Sounds good.

OT: Schreib mir das nochmal in Deutsch ^^, damit ich genau verstehe was du willst. Im Moment hab ich zwar keine Zeit, aber ich setz mich baaaald an eine neue Version mit Phrasen und Templates und den Optionen im ACP statt im Quellcode.
Reply With Quote
  #44  
Old 01-27-2006, 08:48 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
Sounds good.

OT: Schreib mir das nochmal in Deutsch ^^, damit ich genau verstehe was du willst. Im Moment hab ich zwar keine Zeit, aber ich setz mich baaaald an eine neue Version mit Phrasen und Templates und den Optionen im ACP statt im Quellcode.
Gerne

Quote:
(1) Friends are just the friends they are now.
(2) unconfirmed friends are buddys you have on the list but the other don't.
(3) people asking for friendships are users who have you on the buddy list but you do not have them on the list.

The group (3) should not be shown to other users than the user to whom the user asking for friendhip adresses.
(1) Die Kategorie "Freunde" bleibt so wie jetzt
(2) "Unbest?tigte Freunde" sind die Buddys, die man selbst auf der Liste hat, aber der andere hat einen selbst nicht auf der Liste. Diese werden aber auch mit Bild angezeigt. (-> Realisierung: "Unbest?tigte Freunde" = eigene Buddyliste - "Freunde")
(3) "Anfragende Leute" sind Benutzer, die einen auf der Buddy Liste haben, die man selbst aber nicht auf der Liste hat. (-> Realisierung: fremde Buddyliste - eigene Buddyliste)

Die Gruppe (3) sollte nur dem Benutzer (und evtl. auch Moderatoren) angezeigt werden, der diese "anfragenden Leute" akzeptieren kann. (-> einfaches conditional)

Es bleibt eigentlich fast alles beim Alten, nur dass eben keine Person mehrfach angezeigt wird. Wenn z.B. A und B sich gegenseitig auf der Buddyliste haben, dann wird B 1. als Freund, 2. auf der eigenen Buddyliste, 3. auf den fremden Buddylisten angezeigt. Nach der "neuen" Methode wird B nur noch als "Freund" angezeigt.

Quote:
Originally Posted by Translation for moderators
Mostly everything is as before, only users are just not shown several times. If for example A and B have themselfes both on their buddylist, they B is shown 1. as friend, 2. on the own buddy list, 3. on the other buddy lists. With the "new" method B is only shown as friend.
Reply With Quote
  #45  
Old 01-28-2006, 05: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 ThorstenA
You could make this like Hi5.com, they have an interesting system of friendships:

(1) Friends are just the friends they are now.
(2) unconfirmed friends are buddys you have on the list but the other don't.
(3) people asking for friendships are users who have you on the buddy list but you do not have them on the list.

The group (3) should not be shown to other users than the user to whom the user asking for friendhip adresses.
Quote:
Originally Posted by ThorstenA
Es bleibt eigentlich fast alles beim Alten, nur dass eben keine Person mehrfach angezeigt wird. Wenn z.B. A und B sich gegenseitig auf der Buddyliste haben, dann wird B 1. als Freund, 2. auf der eigenen Buddyliste, 3. auf den fremden Buddylisten angezeigt. Nach der "neuen" Methode wird B nur noch als "Freund" angezeigt.
Ok, understood ^^. This was quite an easy change, so I added the option to the setup and the 5 lines of code to handle it. See the updatet plugin - just overwrite the old one with the plugin manager.
Reply With Quote
  #46  
Old 02-06-2006, 08:53 PM
ChuckH's Avatar
ChuckH ChuckH is offline
 
Join Date: Mar 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I stop it from resizing the avatar pic in the friends list?
Reply With Quote
  #47  
Old 02-07-2006, 08:39 PM
ChuckH's Avatar
ChuckH ChuckH is offline
 
Join Date: Mar 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, I got it. However, I cant figure out the option combination to show all friends with avatars. I can only get Buddies with avatars. Anyone?
Reply With Quote
  #48  
Old 02-07-2006, 09:11 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
When you limit the friend's shown that you can limit these users on the top 8 to the one's that have a avatar/profile picture
will this be installed in the release?
Reply With Quote
  #49  
Old 02-07-2006, 10:30 PM
vbreal vbreal is offline
 
Join Date: Dec 2005
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks nice hack
Reply With Quote
  #50  
Old 02-08-2006, 12:10 AM
mchaos mchaos is offline
 
Join Date: Jan 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i set avatars not saved on file system???
Reply With Quote
  #51  
Old 02-08-2006, 10:45 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 The Chief
will this be installed in the release?
Hi, i found out, that this is only possible for avatars but not for profilepics. I will add the feature for avatars soon.


I've finished the next version of the plugin. Now it's a product and available in german and english. Hope you don't mind my english ^^

Uninstall the plugin before you install the product! The template edit stays the same. See 1st post for more info.

I hope I did all right Tell me how the product install worked.
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 12:18 AM.


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.08131 seconds
  • Memory Usage 2,326KB
  • 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
  • (9)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