vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBFriends - View your social network and surf to others in vBulletin 3 (https://vborg.vbsupport.ru/showthread.php?t=66449)

gmarik 06-26-2004 10:58 AM

Looks great - like livejoornal and even better!

Serph_kun 06-29-2004 08:18 PM

Ohhhh!!
excellent!! :D
Good idea!! ^^
Congratulations!! :)

will_lean 06-30-2004 12:11 AM

#Fixed
nice hack.

yinyang 07-01-2004 05:27 PM

i'm getting an "Invalid user ID specified. " error. don't know what's wrong, in fact i don't know much about coding in general. any ideas?

Cloud-Warrior 07-02-2004 12:34 PM

For u=1 is it? Try the userid of your own account...

yinyang 07-02-2004 09:02 PM

Quote:

Originally Posted by Cloud-Warrior
For u=1 is it? Try the userid of your own account...

when you mean try the userid of my own account, does this mean i type something in the friends.PHP file? where would i put it?

58sniper 07-03-2004 12:00 AM

You have to call the file with a value for u. For example, friends.php?u=1 where the value of u is the user ID that you want to see the friends for....

yinyang 07-03-2004 05:13 AM

Quote:

Originally Posted by 58sniper
You have to call the file with a value for u. For example, friends.php?u=1 where the value of u is the user ID that you want to see the friends for....

tks, i got that. but how do i do that automatically? is there anyway that it can be made a global so if i make the link into a tab, any of my members will get their friends list?

58sniper 07-03-2004 11:17 AM

Quote:

Originally Posted by yinyang
tks, i got that. but how do i do that automatically? is there anyway that it can be made a global so if i make the link into a tab, any of my members will get their friends list?


I added this to postbit:
Code:

<a href="friends.php?u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/friends.gif" alt="<phrase 1="$post[username]">$vbphrase[see_xs_friends]</phrase>" border="0" /></a>

Lee Wilde 07-04-2004 07:12 AM

Quote:

Originally Posted by D|ver
great hack :D :D

but is it possible to integrate this into the normal user profile?


Yes, I've done this. I dissected friends.php.....I took all the code and added it to member.php and I took the html and added it to the end of the MEMBERINFO template (see attached).


All times are GMT. The time now is 04:40 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.01157 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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