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)

:Judge: 12-10-2005 03:30 AM

Quote:

Originally Posted by ricker
Negative, same error. :(

I have the same problem

ricker 12-10-2005 04:36 AM

Quote:

Originally Posted by :Judge:
I have the same problem

I ended up deleting a bunch of the code within the plugin to get it to do the same thing. It was a bit of trial and error, but it seems to be working allright.

:Judge: 12-10-2005 04:50 AM

Quote:

Originally Posted by ricker
I ended up deleting a bunch of the code within the plugin to get it to do the same thing. It was a bit of trial and error, but it seems to be working allright.

Would you care to show any of that?

4number8 12-10-2005 01:19 PM

I'm getting the same error, which part of the code did you delete?

ricker 12-10-2005 03:48 PM

Quote:

Originally Posted by :Judge:
Would you care to show any of that?

You bet! Here is the last section of code I have for the plugin ... it looks like I commented out a couple of lines:

Code:

$FRIENDSFOES = "<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\"
cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">";
$FRIENDSFOES .= "<tr>";
if ($whichlist == "buddylist") { $FRIENDSFOES .= "<td class=\"tcat\" colspan=\"3\">$userinfo[username]s Friends ($inoutcounter) <!--... $mutual% Mutual--></td>"; }
// if ($whichlist == "ignorelist") { $FRIENDSFOES .= "<td class=\"tcat\" colspan=\"2\">$userinfo[username]s Foes ($inoutcounter) <!--... $mutual% Mutual--></td>"; }
$FRIENDSFOES .= "</tr><tr>";
$FRIENDSFOES .= "<td class=\"alt2\" colspan=\"2\">";
$FRIENDSFOES .= "  <table>";
$FRIENDSFOES .= "  <tr>";
$FRIENDSFOES .= $inoutuserlist;
$FRIENDSFOES .= "  </tr>";
$FRIENDSFOES .= "  </table>";
$FRIENDSFOES .= "</td>";
$FRIENDSFOES .= "</tr></table>";

and I actually set up a conditional so that each user can specify in their profile whether or not they want to have their friends shown ...

Code:

<if condition="$post[field24] == Yes">
$FRIENDSFOES
</if>

Example: here. If you click on any of my "friends," odds are they haven't activated the profile field yet and their "friends" will be at the default of off.

C.Birch 12-11-2005 11:22 AM

still get the xml error

Sparky_s 12-12-2005 12:18 AM

works grand for me cloud ;)

vB 3.5.2 aswell.

nexus851 12-12-2005 01:15 PM

can anyone make a script where when you add a buddy, it will notify that person thru PM that they added you and you have a choice to add them also...

silurius 12-12-2005 05:22 PM

Quote:

Originally Posted by nexus851
can anyone make a script where when you add a buddy, it will notify that person thru PM that they added you and you have a choice to add them also...

This is an excellent idea. Shall we start forming a request list just for the heck of it?

Ragnarok 12-13-2005 03:58 PM

Can we have it made it a user selectable option rather than mandatory? :P


All times are GMT. The time now is 04:50 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.01794 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
  • (2)bbcode_code_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