vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBFriends - View your social network and surf to others in vBulletin 3 (https://vborg.vbsupport.ru/showthread.php?t=66449)

T3MEDIA 03-13-2005 08:53 PM

Quote:

Originally Posted by sabret00the
what the if condition is asking is "if you are not this user => do you want to add him/her to your userlist?" and NOT "if you're a buddy do you wanna add me?".

what????
ok hold up. I am looking at a user right now. I am his buddy he is mine.
it still says Add to Your buddy List

that isnt right. ok. put it this way look at your comment. "we want to change this to remove"
there isnt anything there right?

sabret00the 03-13-2005 09:03 PM

you're correct, but the comment is wrong
<!-- // If already on list, will want to change this to remove... -->

should read
<!-- // If i am not this user offer to add me -->

you could, or anyone could quite easily readd the original conditional but if i remember correctly i removed that due to a bug in the system where it wasn't removing users properly.

T3MEDIA 03-13-2005 09:05 PM

Quote:

Originally Posted by sabret00the
you're correct, but the comment is wrong
<!-- // If already on list, will want to change this to remove... -->

should read
<!-- // If i am not this user offer to add me -->

you could, or anyone could quite easily readd the original conditional but if i remember correctly i removed that due to a bug in the system where it wasn't removing users properly.

ummm so your sayin just leave it I guess? Ok the reason I asked was I would like that conditional to actually work

If I am a buddy already just disapear. any if cons I could use?

It shows constantly at the moment you really dont need a if statement.

sabret00the 03-13-2005 09:12 PM

surround it with this
HTML Code:

<if condition="in_array($userinfo[userid], $outuserids)">
<if condition="$userinfo[userid] != $bbuserinfo[userid]">
<a class="smallfont" href="$vboptions[bburl]/profile.php?do=addlist&userlist=$whichlistshort&u=$userinfo[userid]">Add to Your $whichlistshort List</a>
</if>
</if>


T3MEDIA 03-13-2005 09:27 PM

Im on it batman

T3MEDIA 03-13-2005 09:29 PM

+++++++++++++++
question what is the URL to remove so I can do a else statement?

thanks for the help so far.

sabret00the 03-13-2005 09:34 PM

i have no idea try this though

<a href="$vboptions[bburl]/profile.php?do=removelist&userlist=$whichlistshort &u=$userinfo[userid]">

Dennis Olson 03-15-2005 10:31 PM

Quote:

Originally Posted by T3MEDIA
good idea sounds like myspace... nice.

I'd still REALLY like this change:

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

Could someone perhaps work that out?

TIA!

T3MEDIA 03-15-2005 10:36 PM

a template conditional? like your asking a Hi5 thing? I can see people in my own network? I never understood what that ment.

Dennis Olson 03-29-2005 04:59 PM

A "regular member" should ONLY be able to see his/her own list. An Admin could see everyone's list. Would probably be a conditional, but I don't know where it'd go, or the syntax.


All times are GMT. The time now is 07:05 AM.

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.01219 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_html_printable
  • (3)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