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
  #152  
Old 05-03-2006, 02: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 bada_bing
Sorry I clicked install must of forgot.
No need to be so worked up over nothing.. Why cant a default inage be displayed rather then a blank, It works for avatars?
The answer is in this post: https://vborg.vbsupport.ru/showpost....4&postcount=54

Maybe there's another plugin out there who changes something in the output of that profile picture php file and you get the alternative image that way.
Reply With Quote
  #153  
Old 05-03-2006, 08:13 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jj
The answer is in this post: [url]Maybe there's another plugin out there who changes something in the output of that profile picture php file and you get the alternative image that way.
The is the 'default photo' mod - I don't know what the URL is though off hand.
Reply With Quote
  #154  
Old 05-03-2006, 01:52 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid
The is the 'default photo' mod - I don't know what the URL is though off hand.
I have the defualt picphoto mod but it does not work for this hack. Currently on my site if a member does not upload a profile pic a defualt pic is displayed but this hack does not inherrit that mod
Reply With Quote
  #155  
Old 05-03-2006, 02:00 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
I have the defualt picphoto mod but it does not work for this hack. Currently on my site if a member does not upload a profile pic a defualt pic is displayed but this hack does not inherrit that mod
As I previously mentioned in this thread... If you look through this thread Code Red (I think) has posted his version of the MEMBERINFO template which shows a default image if the user doesn't have a photo in their profile.

It works because I've applied the same concept to my MEMBERINFO template and I have a default photo showing on my user profile pages.
Reply With Quote
  #156  
Old 05-03-2006, 02:14 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid
As I previously mentioned in this thread... If you look through this thread Code Red (I think) has posted his version of the MEMBERINFO template which shows a default image if the user doesn't have a photo in their profile.

It works because I've applied the same concept to my MEMBERINFO template and I have a default photo showing on my user profile pages.
Searched and search no code red member. I did see one guy list his memberinfo code but doesnt explain why. Man this is like pulling teeth trying to get support for this hack.
Reply With Quote
  #157  
Old 05-03-2006, 04:55 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did say "Code Red (I think)" - the 'I think' meant that I wasn't sure so be on the lookout. "I did see one guy list his memberinfo code" - that's the one. "Man this is like pulling teeth trying to get support for this hack" - it's actually a pretty straightfoward mod. You need to sit down with some time to spare and take it one step and a time, apply some logic and it'll work ok.
Reply With Quote
  #158  
Old 05-03-2006, 06:02 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid
I did say "Code Red (I think)" - the 'I think' meant that I wasn't sure so be on the lookout. "I did see one guy list his memberinfo code" - that's the one. "Man this is like pulling teeth trying to get support for this hack" - it's actually a pretty straightfoward mod. You need to sit down with some time to spare and take it one step and a time, apply some logic and it'll work ok.
criscokid,
I appreciate your guidence but bare with me man I am not a coder and this is why im asking for some help with the code. I ahve sat down at tried to modify the code but havent had any luck
Reply With Quote
  #159  
Old 05-06-2006, 03:04 AM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome
Reply With Quote
  #160  
Old 05-06-2006, 10:34 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
criscokid,
I appreciate your guidence but bare with me man I am not a coder and this is why im asking for some help with the code. I ahve sat down at tried to modify the code but havent had any luck
Hiya mate

I'm no coder either. I say apply some logic for a number of reasons... Quite often someone can't get something to run simply because they haven't read the instructions (and set a variable such as the base directory). One should always read the instructions at least twice, three times is recommended before starting out.

When you're trying to get something to work read the error message... don't just copy it into a thread and ask for help. Quite often the error message is staring you in the face. All too often people look at an error messgae, they don't read the error message.

Little things... look at a line of code... if there's opening quotes look to see if there's closing quotes, if there's a < is therea a > closing off the line? It's the little things... the attention to detail. Give it a go and you'll find that eventually you'll be able to climb up one rung of the ladder to becoming a coder. Coder's have attention to detail and apply logice - without it they aren't coders.
Reply With Quote
  #161  
Old 05-06-2006, 12:17 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 bada_bing
I have the defualt picphoto mod but it does not work for this hack. Currently on my site if a member does not upload a profile pic a defualt pic is displayed but this hack does not inherrit that mod
Could you post me the link to the mod, and I'll look if I can find out how to show a default profile pic if no profile pic is available. I'm just too lazy to search for it right now ^^
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:58 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.06206 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
  • (8)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