Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #92  
Old 01-11-2006, 02:52 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 gamebgs
will there be a way that you will only be able to show like 8 friends in the profile, and then the rest brings you to the friends page or something, can this be done?
See attachment, set max_show to 8 in the setup part. If you want to show a link to the friends page edit the line which shows
PHP Code:
if ($choicecounter >= $FNB_setup['max_show'] && $FNB_setup['max_show'] > 0$FNB_HTML .= "<a class=\"smallfont\" href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&amp;showall=1\">".$FNB_setup['show_all']."</a>"
currently it just hides all friends/buddies more than max_show and shows them on click and reload of profile page with &showall=1

Quote:
Originally Posted by gamebgs
what would be even better is that we can choose our top 8 but I know that that would be something hard to do...
That would need some sort of saving the preference in a database field. Maybe somewhen later.

Current xml: #102
Reply With Quote
  #93  
Old 01-11-2006, 03:07 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
Yes, the xml from #85, and it should overwrite the previous one, as it's the same name. Hope you have removed the first one I did. Had another name, so there should be only "Friends and/or Buddylist on Profile" under (Hook) : member_complete in plugins.
Well, with the superb and comprehensive help from our hack author here, my issue has been resolved. And it had NOTHING to do with this hack.

I overlooked a simple html tag in my memberinfo template. I am such a moron.

Quite interestingly though, for some reason, this hack's plug in helped keep my memberinfo template "alive"; without it, the whole page really kind of failed, which mistakenly made me think it was this plug in which had caused the problem.

Thanks J! You're an awesome guy.
rich
Reply With Quote
  #94  
Old 01-11-2006, 04:10 PM
vwturbo vwturbo is offline
 
Join Date: Jul 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
Well, with the superb and comprehensive help from our hack author here, my issue has been resolved. And it had NOTHING to do with this hack.

I overlooked a simple html tag in my memberinfo template. I am such a moron.

Quite interestingly though, for some reason, this hack's plug in helped keep my memberinfo template "alive"; without it, the whole page really kind of failed, which mistakenly made me think it was this plug in which had caused the problem.

Thanks J! You're an awesome guy.
rich
j.jacobsen I uploaded your newest xml file and now my friends thing doesn't show up at all. Any idea's? Nothing else has changed.
Reply With Quote
  #95  
Old 01-11-2006, 04:13 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
j.jacobsen I uploaded your newest xml file and now my friends thing doesn't show up at all. Any idea's? Nothing else has changed.
re-read post #85 carefully, especially the part about the MEMBERINFO template ^^
Reply With Quote
  #96  
Old 01-11-2006, 04:16 PM
vwturbo vwturbo is offline
 
Join Date: Jul 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j.jacobsen
re-read post #85 carefully, especially the part about the MEMBERINFO template ^^
Thanks for the quick reply. Thanks for all the help and coding that you've provided in numerous spots on this board. It's greatly appreciated.
Reply With Quote
  #97  
Old 01-11-2006, 05:57 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*BUMP* posted this a day or two ago but still the same problem and no fix. I also just removed old plugin and put new one from post 85.

The usernames are white so they appear invisible, I've tried manually changing the .xml file, the .php file, and my css settings. Anyone have this problem or know what I'm supposed to do?

Also if a user has no avatar I would like a 'no avatar' image, where would I stick that line of code in where?

Thanks in advance!!
Here's what I have so far: www.420boards.com/420kid
Reply With Quote
  #98  
Old 01-11-2006, 06: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 yayvb
The usernames are white so they appear invisible, I've tried manually changing the .xml file, the .php file, and my css settings. Anyone have this problem or know what I'm supposed to do?
If the usernames are white, you have to change you css setting for the hyperlinks in your style The usernames got the right color on several styles on our board.

Quote:
Originally Posted by yayvb
Also if a user has no avatar I would like a 'no avatar' image, where would I stick that line of code in where?
Find clear.gif and replace with your noavatar image. If it is placed for example in your images dir replace by images/noavatar.gif
Reply With Quote
  #99  
Old 01-11-2006, 06:31 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks that helped.... I'll try to do this again but the thing is you can see that all the other text on the page, links and all, work just fine. For some reason this text shows white and it seems like no matter what I do it continues to remain white.

see www.420boards.com/420kid

Thanks for the noavatar image answer too, that helps!!
Grrr, I can't seem to figure out what the problem is.. Do you happen to know EXACTLY which css style? What I mean is if I go to my style options and see all the CSS options, etc. I can choose background color, font color, link color, visited link color, hover link color, etc. There are a lot of these that I can modify and all of them seem fine. I change ones that are transparent to green and nothing so I change back.

I think I'm going crazy. If you can't help further atleast thanks for your help to this point, this hack works great other than this.
Reply With Quote
  #100  
Old 01-11-2006, 06:39 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 yayvb
Thanks that helped.... I'll try to do this again but the thing is you can see that all the other text on the page, links and all, work just fine. For some reason this text shows white and it seems like no matter what I do it continues to remain white.
Try replacing all 4 occurances of alt1 in the code with panelsurround.
Reply With Quote
  #101  
Old 01-11-2006, 06:52 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks... There were only 3 occurrences, and I switched them all to panelsurround but everything's still white or blank..... Do you think it's because I have a bad file or something? hehe let me try redownloading since you said 4 occurrences and there were only 3. I use textpad so I didn't just overlook it.
Reply With Quote
Reply

Thread Tools

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 01:53 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.06786 seconds
  • Memory Usage 2,320KB
  • 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
  • (1)bbcode_code
  • (2)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
  • (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