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
vBFriends - View your social network and surf to others in vBulletin 3.5 Details »»
vBFriends - View your social network and surf to others in vBulletin 3.5
Version: 2.00, by Cloud-Warrior Cloud-Warrior is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 11-23-2005 Last Update: 01-31-2006 Installs: 111
 
No support by the author.

As with vBFOAF, I've just released this mod. (There are no modications needed really, so it's more of an add-on.)

Please note that your buddy list becomes public (to other registered users) with vBFriends, so you will have to notify people of the small change in policy.

Put the attached file in your vbulletin folder, and call with the u=1 parameter, e.g.

http://www.vbulletin.ie/forums/friends.php?u=1

You can surf your social network (similar to orkut), and view connections you have made to others and that others have made to you (similar to FOAF, or as illustrated with plink.org).

Screenshot attached.

The code contains some hardcoded HTML to avoid the use of templates (for now), but it uses standard vB3 CSS classes such as tcat, thead, smallfont, alt1 and alt2 - so should be fine with most styles.

Changelog:

PHP Code:
// 0.1 - 2004-06-23 - First version
// 0.2 - 2004-06-24 - Added missing trailing slash
// 0.3 - 2004-06-28 - Added missing TABLE_PREFIX to tables
// 0.4 - 2004-07-01 - Added functionality for enemies
// 1.0 - 2004-07-21 - No comment
// 1.1 - 2004-09-09 - Added mutual percentage, in and out counts, link and unlink options for own account
// 1.2 - 2005-11-24 - Updated for the vB 3.5 series 
I have edited my postbit/postbit_legacy template, and linked it from there, e.g. under the reputation part, add in something like:

Code:
<a class="smallfont" href="friends.php?$session[sessionurl]u=$post[userid]">Friends</a>

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-26-2005, 01:34 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im at work so cant have a play with this until I get home, one question though, does this work with the in built buddies system or is it a seperate friends system?

The reason I ask is that I have vbJournals installed a lot of people are using private buddy only journals so I would like the friends shown in the profile to be those buddies.

Thanks.
Reply With Quote
  #23  
Old 11-27-2005, 12:14 PM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Bah I should have read the details closer before posting heheh sorry. Browsing at work is a covert opperation nowadays.

Anyway, http://www.streethop.com/forum/userRukas its done, and working well. Thanks.
Reply With Quote
  #24  
Old 11-27-2005, 05:26 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
Nice addon, but indeed, it would be perfect in the profile view, so I played around a bit ^^.

I've attached the plugin xml file. You need to edit the text in the php code, if you don't like german. Maybe this will get extended with phrases to a full product. You need to add
PHP Code:
$FRIENDSFOES 
somewhere in your MEMBERINFO template, wherever you like to have it displayed.

I've also attached a screenshot how it would look like.


An english Version would be nice if possible
Reply With Quote
  #25  
Old 11-27-2005, 07:56 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went ahead and installed the “German” plug in and sorted out the text, I see the buddy’s lists fine but I am not getting any avatars to show up in the profile, any suggestions?

Also: I checked the avatar user picture storage type and I am using database rather then file.

Thanks in advance.

_V
Reply With Quote
  #26  
Old 11-27-2005, 08:00 PM
jj's Avatar
jj jj is offline
 
Join Date: Sep 2005
Location: Viernheim, Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should remember, that the extension does not show the buddies with their avatars, but only the friends with their avatars. That means you have to be in the other ones buddy list, too that he is shown as a friend with his avatar.
Reply With Quote
  #27  
Old 11-27-2005, 08:28 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doh!

working now, thanks
Reply With Quote
  #28  
Old 11-27-2005, 11:25 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
Nice addon, but indeed, it would be perfect in the profile view, so I played around a bit ^^.

I've attached the plugin xml file. You need to edit the text in the php code, if you don't like german. Maybe this will get extended with phrases to a full product. You need to add
PHP Code:
$FRIENDSFOES 
somewhere in your MEMBERINFO template, wherever you like to have it displayed.

I've also attached a screenshot how it would look like.
I've edited the xml file for those who just want the part where it shows the avatars and names without the list and the avatars fullsize.
Reply With Quote
  #29  
Old 11-27-2005, 11:36 PM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone running this successfully with php5?

I'm getting the following;

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /friends.php on line 50

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /friends.php on line 69
Reply With Quote
  #30  
Old 12-04-2005, 05:57 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vizionz
this is a awesome hack would there be a easy way to throw this into a profile instead of standalone
Can you explain to me what this means:

Code:
 Put the attached file in your vbulletin folder, and call with the u=1 parameter, e.g. http://www.vbulletin.ie/forums/friends.php?u=1
Reply With Quote
  #31  
Old 12-07-2005, 06:53 AM
ricker ricker is offline
 
Join Date: Jun 2003
Location: Apple Valley, CA
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by .Tim
I've edited the xml file for those who just want the part where it shows the avatars and names without the list and the avatars fullsize.
Hey this is perfect for what I need but I get "XML Error: syntax error at Line 1" ... anyone else get it working?
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 11:34 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.07277 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (3)bbcode_php
  • (4)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