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)
-   -   vBFriends - View your social network and surf to others in vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=101470)

jj 01-19-2006 01:55 PM

You could extract that info out of Cloud-Warrior's initial post.

Quote:

Originally Posted by Cloud-Warrior
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>

If you want to set a link to each one's own friends.php something like $userinfo[userid] would be the right var to get the userid, but I'm not sure about that.

bogene2020 01-19-2006 03:03 PM

I still am not able to figure out how to link to friends.php

I looked at member.php

HTML Code:

  'member.php?' . $vbulletin->session->vars['sessionurl'] . "u=$userinfo[userid]" => $vbphrase['view_profile'],
 '' => $userinfo['username']

Well how is everybody using this script .

yayvb 01-19-2006 06:38 PM

I changed the columns to 4 isntead of 5 so now some peoples profiles look less awful when broken, but it still will break sometimes up to 15 pixels or so off. Is there any way to limit the username length on the friends thing that i have in memberinfo?

jj 01-19-2006 06:54 PM

Quote:

Originally Posted by bogene2020
I still am not able to figure out how to link to friends.php

I looked at member.php

HTML Code:

  'member.php?' . $vbulletin->session->vars['sessionurl'] . "u=$userinfo[userid]" => $vbphrase['view_profile'],
 '' => $userinfo['username']

Well how is everybody using this script .

Ok, a little more for you: If you want a link to your friends.php page in the useful links section in the navbar, go to the navbar template, find
HTML Code:

                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
below add
HTML Code:

                <tr><td class="vbmenu_option"><a class="smallfont" href="friends.php?$session[sessionurl]u=$bbuserinfo[userid]">Friends</a></td></tr>
hope this finally helps you

jj 01-19-2006 06:57 PM

Quote:

Originally Posted by yayvb
I changed the columns to 4 isntead of 5 so now some peoples profiles look less awful when broken, but it still will break sometimes up to 15 pixels or so off. Is there any way to limit the username length on the friends thing that i have in memberinfo?

Head over to the plugin thread and post your request there ^^

vprp 01-20-2006 12:55 AM

Is there a way to make the admin of the forum automatically the friend of everyone who signs up on the forum? Kind of like Tom on Myspace. You sign up and he's automatically your friend.

Rukas 01-22-2006 06:39 AM

I installed the phpAdsNew Integration and now I get the following error.


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /member.php(654) : eval()'d code on line 197

http://www.streethop.com/forum/member.php?u=3

Anyone got any idea how to fix?

jj 01-22-2006 12:47 PM

Quote:

Originally Posted by Rukas
I installed the phpAdsNew Integration and now I get the following error.


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /member.php(654) : eval()'d code on line 197

http://www.streethop.com/forum/member.php?u=3

Anyone got any idea how to fix?

Update your plugin. See #102 for new location.

Rukas 01-23-2006 09:54 AM

Quote:

Originally Posted by j.jacobsen
Update your plugin. See #102 for new location.


I tried this, no luck. Any other ideas?

Cloud-Warrior 02-01-2006 05:02 PM

I've updated the main post with j.jacobsen's new version - thanks Jens!


All times are GMT. The time now is 09:00 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.01237 seconds
  • Memory Usage 1,746KB
  • 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_html_printable
  • (5)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