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)

Fallback 01-14-2006 11:17 AM

Has this been optimised? Does this still add one query for each friend on each page load?

jj 01-14-2006 03:21 PM

Quote:

Originally Posted by Fallback
Has this been optimised? Does this still add one query for each friend on each page load?

The plugin has been optimized, and has it's own thread now. https://vborg.vbsupport.ru/showthread.php?p=873179

jj 01-15-2006 11:42 AM

Quote:

Originally Posted by agiacosa
I'm sorry. I'm a little slow today.

How is one added to the friends list?

A adds B to his buddy list, and B adds A also to his buddy list. Done.

bogene2020 01-17-2006 10:55 PM

If I put in ....friends.php?u=1 or u=2 it works but what should I use as the link so that it pulls the members ID automatically when they are logged on . I am using one of those nav bar hacks that adds a 2nd nav bar and so I want to put the link on the navbar . I have to put www.domain.com/forum/friends.php/?u......
Thanks

yayvb 01-18-2006 08:34 PM

Please see a user of my website's profile. The friends names are too long so it is breaking my skin. www.420boards.com/scottso

Can someone please tell me how I can make either only 4 allowed per row or even better yet how to not have this skin break by somehow limiting the names in the vbfriends thing.

davidw 01-18-2006 09:43 PM

<font color="SeaGreen">* christianb subscribes to this thread</font>

.Tim 01-18-2006 09:48 PM

Quote:

Originally Posted by yayvb
Please see a user of my website's profile. The friends names are too long so it is breaking my skin. www.420boards.com/scottso

Can someone please tell me how I can make either only 4 allowed per row or even better yet how to not have this skin break by somehow limiting the names in the vbfriends thing.

Well first, I look at your profile and didn't see anything wrong with it but to change the per row option.....

Change this:

Code:

(($inoutcounter % 5
to

Code:

(($inoutcounter % 4
or whatever amount you want to show.

shadowdancer36 01-19-2006 08:37 AM

I can't get it to show up under my profile. I put the friendfoe variable there but its not showing up. I can bring it up in the browser no problem, but withing my profile, no. Any ideas to why?

Here is what I have in my memberinfo template

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<style type="text/css">
$post[field24]
</style>
</head>
<body>
$header
$navbar
<table width="90%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
  <tr> 
    <td colspan="2"><div align="center" class="bigusername">$userinfo[musername]</div><if condition="$userinfo['usertitle']"> 
              <div class="smallfont" align="center">$userinfo[usertitle]</div>
              </if>
              <div align="center">$post[reputationdisplay]</div></td>
  </tr>
  <tr> 
    <td valign="top" width="40%"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tbody>
          <tr class="tcat"> 
            <td class="text" colspan="2" style="" align="left" valign="bottom"></td>
          </tr>
          <tr class="alt2"> 
            <td> <div align="right"><if condition="$show['profilepic']"> <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" 
                border="0" style="border:1px solid $stylevar[tborder_bgcolor]; 
                border-top:none" />
                <else />
                <img src="$stylevar[imgdir_misc]/no_pic.jpg"  alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
            </if>
               
                </div></td>
            <td align="left" valign="top" class="text">
              <strong>Sex:</strong> $userinfo[field8] <br /> <if condition="$show['age']"><strong>$vbphrase[age]:</strong> 
              $userinfo[age]</if> <br /> <strong>Location:</strong> $userinfo[field2]<br />
              <div>$userinfo[onlinestatus]</div>
              <br />
<div><strong>Last Online:</strong> $userinfo[lastactivitydate] at $userinfo[lastactivitytime]</div><!-- DONATIONS -->
<if condition="$userinfo['donor'] AND $userinfo['showdonor'] == '1'"><br /><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0" alt="Donor" /></a></if>
<!-- END DONATIONS -->
 </td>
          </tr>
        </tbody>
      </table>
      <p> 
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td colspan="2">Contacting $userinfo[musername]</td>
        </tr>
<if condition="$show[registerbutton]">
<if condition="$userinfo[field26]=No">
<tr class="alt2">
<td>
$vbphrase[contact_is_private]
</td>
</tr>
</if>
<else />
        <tr class="alt2"> 
          <td align="center" height="5" nowrap="nowrap" width="50%"> <div align="left"> 
              <img src="$stylevar[imgdir_button]/note_go.png" alt="$vbphrase[profile_pm]" border="0" /> 
              <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[profile_pm]</phrase></a> 
            </div></td>
          <td align="center" height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showicq']"> $userinfo[icqicon] 
              <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a> 
              </if> </div></td>
        </tr>
        <tr class="alt2"> 
          <td align="center" height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><img src="$stylevar[imgdir_button]/email_go.png" alt="$vbphrase[profile_email]" border="0" /> 
              <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[profile_email]</phrase></a> 
            </div></td>
          <td align="center" height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showaim']"> $userinfo[aimicon] 
              <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a> 
              </if></div></td>
        </tr>
        <tr class="alt2"> 
          <td align="center" height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$show['addbuddylist']"> <img src="$stylevar[imgdir_button]/group_add.png" alt="$vbphrase[profile_addbuddy]" border="0" /> 
              <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[profile_addbuddy]</phrase></a> 
              <else /><img src="$stylevar[imgdir_button]/group_delete.png" alt="$vbphrase[profile_deletebuddy]" border="0" /> 
              <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[profile_deletebuddy]</phrase></a> 
              </if> </div></td>
          <td align="center" height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showmsn']"> $userinfo[msnicon] 
              <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a> 
              </if></div></td>
        </tr>
        <tr class="alt2"> 
          <td align="center" height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$show['addignorelist']"> <img src="$stylevar[imgdir_button]/user_delete.png" alt="$vbphrase[profile_blockuser]" border="0" /> 
              <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[profile_blockuser]</phrase></a> 
              <else /><img src="$stylevar[imgdir_button]/user_add.png" alt="$vbphrase[profile_unblockuser]" border="0" /> 
              <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[profile_unblockuser]</phrase></a> 
              </if> </div></td>
          <td align="center" height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showyahoo']"> $userinfo[yahooicon] 
              <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a> 
              </if></div></td>
        </tr>
        </if>
      </table>
      <p> 
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td colspan="3" valign="middle">$userinfo[musername]'s Interests</td>
        </tr>
        <tr valign="top" class="alt2"> 
          <td align="left" valign="top"><span class="">General:</span></td>
          <td align="left" valign="top">$userinfo[field19]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"><span class="">Music:</span></td>
          <td align="left" valign="top">$userinfo[field20]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"><span class="">Movies:</span></td>
          <td align="left" valign="top">$userinfo[field21]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"><span class="">Television:</span></td>
          <td align="left" valign="top">$userinfo[field22]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"><span class="">Heroes:</span></td>
          <td align="left" valign="top">$userinfo[field23]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"><span class="">Groups:</span></td>
          <if condition="$show['membergroups']"> 
          <td></td>
          <else /> 
          <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
          </if> 
      </table>
      <p> 
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td class="text" align="left" height="10" valign="center" colspan="2"> 
            $userinfo[musername]'s Details</td>
        </tr>
        <tr valign="top" class="alt2"> 
          <td align="left" valign="top"> <div align="left">Status:</div></td>
          <td style="">$userinfo[field11]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Orientation:</div></td>
          <td style="">$userinfo[field12]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Hometown:</div></td>
          <td style="">$userinfo[field13]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Religion:</div></td>
          <td id="ProfileReligion:" style="">$userinfo[field14]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Zodiac 
              Sign:</div></td>
          <td style=""><if condition="$show['zodiacsign']"> 
            <div>$zodiacsign</div>
            </if></td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Smoke 
              / Drink:</div></td>
          <td style="">$userinfo[field15] / $userinfo[field16]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Children:</div></td>
          <td style="">$userinfo[field17]</td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="left">Education:</div></td>
          <td style="">$userinfo[field18]</td>
        </tr>
      </table></td>
    <td valign="top" width="60%"> <if condition="$show[journalinfo]"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td>$userinfo[musername]'s Latest Blog Entry</td>
        </tr>
        <tr class="alt2"> 
          <td><if condition="$show[journalinfo]"> <if condition="$show[journal_lastentry]"><a href="journal.php?$session[sessionurl]do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> 
            ($journal[lastentry_date])<br />
            <else />$vbphrase[private]</if> </if></td>
        </tr>
        <tr class="alt2"> 
          <td><if condition="$show[journalinfo]"> [<a href="journal.php?$session[sessionurl]do=showjournal&j=$journal[journal_id]"><phrase 1="$userinfo[username]">$vbphrase[visit_xs_journal]</phrase></a>] 
            </if></td>
        </tr>
      </table>
      <p></if> 
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td>$userinfo[musername]'s Blurbs</td>
        </tr>
        <tr class="alt2"> 
          <td valign="top"><strong>About Me:</strong><br />$userinfo[field9]</td>
        </tr>
        <tr> 
          <td class="alt2"><strong>Who I'd Like to Meet:</strong><br />
            $userinfo[field10]</td>
        </tr>
      </table>
<if condition="$userinfo[field25]">
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr class="tcat"> 
          <td class="text" wrap="" style="" align="left" height="10" valign="center" colspan="2"> 
            <span class="">$userinfo[musername]'s Shared Media </span> </td>
        </tr>
        <tr class="alt2"> 
          <td align="left" valign="top"> <div align="center"><EMBED SRC="$userinfo[field25]"></div></td>>
        </tr>
      </table>
</if>
      <p>$FRIENDSFOES</p>
      <p>$comment_panel</p></td>
  </tr></table></td>
  <tr> 
    <td colspan="8" align="right" valign="bottom">  <if condition="$show['profileviews']">
          <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews]
  </if></td>
  </tr>
</table>
$footer

</body>
</html>


jj 01-19-2006 10:16 AM

Quote:

Originally Posted by shadowdancer36
I can't get it to show up under my profile. I put the friendfoe variable there but its not showing up. I can bring it up in the browser no problem, but withing my profile, no. Any ideas to why?

https://vborg.vbsupport.ru/showpost....&postcount=112

bogene2020 01-19-2006 01:05 PM

Is it possible to link to friends.php. I have it installed but how can I make it possible for a member to link to such that they can see there friends . I want to but it in my Navbar . Thanks


All times are GMT. The time now is 03:07 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.01284 seconds
  • Memory Usage 1,819KB
  • 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
  • (3)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