vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Friends and/or Buddies on Profile (https://vborg.vbsupport.ru/showthread.php?t=105302)

jj 01-13-2006 10:00 PM

Friends and/or Buddies on Profile
 
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)

jj 01-14-2006 03:14 PM

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

Snake 01-14-2006 03:48 PM

Woohoo! First one to install. Thanks bro! :D

jj 01-14-2006 04:20 PM

Quote:

Originally Posted by Aftermath
Woohoo! First one to install. Thanks bro! :D

Actually I have to dissapoint you. You're not the first :) as some other people got this already. The plugin was born in the vBFriends thread.

IrPr 01-14-2006 06:52 PM

same as vBFriend?

jj 01-15-2006 11:45 AM

Read credits, first sentence, Moosa :)

So no it's not the "same"

The Chief 01-15-2006 08:56 PM

heya thanks so much for the update on what I suggested, and all my honors to you for mentionning my name for the idea ;)

[high]* The Chief clicks install[/high]

The Chief 01-15-2006 11:18 PM

here are some requests I would like to have, and maybe other members would like...

First, when you click on Show All that it opens up a new page showing all the user's friends, so it will be alot easier to browse, like they are listed now but just on it's own page...with that I/we won't even need to have the friend's list anymore as it won't even be needed... just don't know if this is possible..

Second, is it possible when you limit the friend's shown that you can limit these users on the top 8 to the one's that have a profile picture. The one's that don't then they won't be on top, if you know what i mean..

I would rather if you would be able to choose your top 8 like on myspace, but I think that that can be a pain in the arse to build, so I will limit myself to the <if condition something for the profile pictures...

Thanks so much for this and you can count on me to keep you up-to-date on your products ;)

maroceve 01-16-2006 10:37 AM

allright i am having a little trouble figuring out where exactly in memberinfo to add :

PHP Code:
$FNB_HTML

do i throw it anywhere ? :O ...sorry ..not really into coding so i just follow instruction when installing plugins etc ;)

thanks

jj 01-16-2006 10:45 AM

Quote:

Originally Posted by maroceve
allright i am having a little trouble figuring out where exactly in memberinfo to add :

PHP Code:
$FNB_HTML

do i throw it anywhere ? :O ...sorry ..not really into coding so i just follow instruction when installing plugins etc ;)

thanks

I assume you use the original MEMBERINFO template. Try adding it before the line
HTML Code:

<if condition="$show['signature']">
there.


All times are GMT. The time now is 05:15 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.01208 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete