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)

etaslim 12-21-2005 03:04 AM

Quote:

Originally Posted by wcbryant
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

I got the exactly the same problem. Any answer on this, pls? Thanks

ConKien 12-21-2005 04:33 AM

If I want to add a link to the member profile so when a visitor clicks on a link it will shown this script instead of embeded into the profile page. I used this code

<a href="friends.php?u=$userinfo[userid]">$userinfo[musername]'s </a>

but it show a blank page when user even though the link turned to be http://mydomain.com/forum/friends.php?u=1 on the address bar.

Cloud-Warrior 12-21-2005 08:20 AM

Does the user ID 1 exist? You need to be logged in as well to see the Friends page...

Cloud-Warrior 12-21-2005 08:21 AM

Quote:

Originally Posted by etaslim
I got the exactly the same problem. Any answer on this, pls? Thanks

I suspect this may be fixed if you replace any mysql_ bit's with $db-> - for example change mysql_fetch_array to $db->fetch_array.

EricaJoy 12-27-2005 10:01 PM

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.

Color me slow but exactly where does this plugin go?

edit: nvm i've sorted it. very nice!

[high]* EricaJoy clicks install[/high]

Blackhat 12-29-2005 03:56 PM

*clicks install*

never mind :)

Antivirus 12-29-2005 04:34 PM

Trying to modify the php code to do the following, but i am stumped...

if any member is on the user's $inoutlist then that member's username would no longer show on the user's $inlist or $outlist



Also, as others here have suggested, if someone who knows php well can check out the following thread by KirbyDE, the automatic sending of the PM could probably be implemented... https://vborg.vbsupport.ru/showthrea...6&highlight=pm

DDX 01-04-2006 04:09 AM

Quote:

Originally Posted by ricker
Hey this is perfect for what I need but I get "XML Error: syntax error at Line 1" ... anyone else get it working?

he left out some code at the top and bottom of the file. here i fixed it reupload this one

The Chief 01-04-2006 04:45 AM

how do we make it so that we can fix the size of the list, like I cannot get it to match my width, it goes directly off the table...

does anybody know how to fix this?

nexus851 01-04-2006 09:11 AM

This script mod is conflicting with my PHPAD Banner module.. it spits out an fatal error in my memberinfo template where the vbfriends are activated.

Anyone else have this problem and fixed it or a solution for it??


All times are GMT. The time now is 03:32 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.01281 seconds
  • Memory Usage 1,740KB
  • 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_php_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