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!

TunerNetwork 02-28-2006 03:22 AM

Installed this, was working perfect for bout 2 weeks, now getting the following error:

Code:

Database error in vBulletin 3.5.3:
 
Invalid SQL:
SELECT user.username,user.userid,usertextfield.buddylist FROM
        user,usertextfield WHERE
        user.userid = usertextfield.userid AND
        FIND_IN_SET('881', REPLACE(usertextfield.buddylist, ' ', ',')) > 0
        ORDER BY user.username;
 
MySQL Error  : Got error 28 from table handler
Error Number : 1030
Date        : Monday, February 27th 2006 @ 09:19:14 PM
Script      : http://www.tunernetwork.com/forum/member.php?u=881
Referrer    : http://www.tunernetwork.com/forum/
IP Address  :
Username    :
Classname    :

anyone get this?

Exitilus 03-07-2006 05:07 AM

I'm not sure if other people have the same thing happen. But it seems that users that are not logged in (or guests) can't view this page? ... Comes up completely blank.

Blackhat 03-12-2006 11:41 AM

how do you make this wrap ? One of my members got 7 members on the line and that makes the page wider than allowed

thumbsucker 03-31-2006 09:49 AM

BUG: Get a blank page when trying to view a user's Friend's page as a GUEST user.

I get a broken link box if the user does not have a profile pic.

Any way to get a small gif that says "No profile picture" to display instead?

Serial Killer 04-11-2006 09:27 PM

I don't want to call it vBfriends. How do I change the name to something else?

criscokid 04-15-2006 05:03 PM

Quote:

Originally Posted by thumbsucker
I get a broken link box if the user does not have a profile pic.

I also get the 'broken link' box showing.

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

Yes the page is blank if you are not logged in.

To change the name from vBFriends, just edit any reference to it in the file.

In related news, I've posted on my wiki some information on how to view these buddylists or social networks graphically. It's not for the newbie, but people familiar with PHP and MySQL should find it easy enough to follow.

http://www.johnbreslin.com/wiki/inde..._Visualisation

noonespecial 05-20-2006 04:20 AM

Is there anyway to add pagination for this? That'd be a big help for those with a lot of friends ... and would probably cut down on server load too.

silkie 05-21-2006 04:11 AM

is there a stable release of this hack for vb3.5.4? anyone have this working on their 3.5.4 board?

JazzleBug 06-05-2006 04:23 AM

This is so cool - my members are going to love this. Thank you! :)

Polo 06-22-2006 05:08 PM

how would this hack work in a huge forum??? more than 10,000 users??

jeffj 06-22-2006 06:58 PM

Quote:

Originally Posted by Polo
how would this hack work in a huge forum??? more than 10,000 users??


HUGE?

I have 123,000 members and it works fine on my forum.

Anarchy 06-22-2006 10:42 PM

Users who are not logged in and go to the page get a blank page, can we get it so it says they are not allowed here and to login?

Also the profile pic if you store it on file doesn't show.

Will see if i can fix the bug but maybe someone else knows.

Anarchy 06-22-2006 11:24 PM

$userinfo['avatarurl'] is blank

also empty($userinfo['profilepicdateline']) seems to not be working, even tho i have my avatars on the file system it still choosed the image.php instead of the first option.

PHP Code:

if (empty($userinfo['profilepicdateline'])) {
        
$HTML .= "<img width=\"64\" height=\"64\" src=\"".$userinfo['avatarurl']."\" alt=\"\"><br />";
    }
    else {
        
$HTML .= "<img src=\"".$vbulletin->options['bburl']."/image.php?u=".$userinfo['userid']."&amp;type=profile&amp;dateline=".$userinfo['profilepicdateline']."\" alt=\"\"><br />";
    } 


futuredood 07-03-2006 09:45 AM

is their any way to re arrange your friends list?

Chicago_VLNU_4s 08-03-2006 06:04 AM

is there supposed to be a "+" next to a user's name that i added as buddy when looking at who's online?

and why when i look at other peoples friends from postbit, there avatar pic link seems broken?

Chicago_VLNU_4s 08-03-2006 09:25 PM

nvm... i think its broken because it's the picture feild, and if a user hasn't uploaded a pic, thats why it shows broken.

noonespecial 08-08-2006 05:49 AM

Has anyone been able to add a pagination to the friends page?

http://www.absolutepunk.net/friends.php?u=1083

It'd really improve my friends system. Any ideas?

futuredood 08-08-2006 06:51 AM

Quote:

Originally Posted by noonespecial
Has anyone been able to add a pagination to the friends page?

http://www.absolutepunk.net/friends.php?u=1083

It'd really improve my friends system. Any ideas?

Hey Noone, your friends page is nice. How did you get it listed verically that way?

noonespecial 08-08-2006 07:20 AM

Quote:

Originally Posted by futuredood
Hey Noone, your friends page is nice. How did you get it listed verically that way?

Uhm .. I don't even remember; if you want my page I'll upload it here and let you dig through it.

futuredood 08-08-2006 08:26 AM

Quote:

Originally Posted by noonespecial
Uhm .. I don't even remember; if you want my page I'll upload it here and let you dig through it.

Yeah that'd be awesome, please do so. I wanna use the same vertical display for my friends page.

noonespecial 08-11-2006 03:59 AM

Here's my file - trust me - you better know something about the code before you try and use it - haha, I have a bunch of shit hardcoded into it just for my site. I don't really have any time to help with anything either - so - yeah, hope it helps.

This is the final page: http://www.absolutepunk.net/friends.php?u=1083

noonespecial 08-13-2006 12:39 AM

Is there anyway to remove a wannabe? Like a full on "denial" of friend thing?

michaelk 12-26-2006 11:33 PM

Quote:

Originally Posted by noonespecial (Post 1049634)
Here's my file - trust me - you better know something about the code before you try and use it - haha, I have a bunch of shit hardcoded into it just for my site. I don't really have any time to help with anything either - so - yeah, hope it helps.

This is the final page: http://www.absolutepunk.net/friends.php?u=1083

It's very good :)
Can you make a plugin ?

lg michael

RichieBoy67 03-23-2007 03:28 AM

Any plans on a version for 3.6??? Will this work on 3.6??

Thanks

tpearl5 06-15-2007 08:13 PM

Quote:

Originally Posted by RichieBoy67 (Post 1210084)
Any plans on a version for 3.6??? Will this work on 3.6??

Thanks

Same question

vitrag24 08-21-2007 07:55 PM

for 3.6.4?

Cloud-Warrior 08-22-2007 08:10 AM

Yep, it'll work just fine with vB 3.6 (I use it at www.boards.jp).

yoyoyoyo 11-07-2007 12:15 AM

this does not play well with 3.6.8 with vb blog installed:

Quote:

Fatal error: Call to undefined function blog_online_location_preprocess() in /home/mysite/public_html/forum/includes/functions_online.php(1057) : eval()'d code on line 1

squishi 12-14-2007 07:02 AM

Ditto. See above. blog_online_location_preprocess() error


All times are GMT. The time now is 02:05 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.03211 seconds
  • Memory Usage 1,834KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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