The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how can i hide this from unregistered members?
<div style="padding: 1px 1px 1px 1px;"></div><table width="100%" border="0" cellpadding="4" cellspacing="0" class="welcome_dot_border">
<tr> <if condition="$show['member']"><td class="welcome_bottom"><div class="smallfont"><img src="$stylevar[imgdir_misc]/arrow.gif" alt="" class="inlineimg" /> $vbphrase[currently_active_users]: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</div></if> |
#2
|
||||
|
||||
HTML Code:
<if condition="$show['member']"> stuff to only show logged on members </if> |
#3
|
|||
|
|||
yay lynne responded! like always you are great but can you please explain a little better im so tired right now lol
|
#4
|
||||
|
||||
I posted the code to hide something from unregistered members. If you look at what you posted, you already have that condition in there around the line that shows (this is from vb.orgs home page):
Currently Active Users: 574 (197 members and 377 guests) So, that line is only being shown to logged in users according to your code. |
#5
|
|||
|
|||
i already have <if condition="$show['member']">
and for some reason it was showing still when logged out |
#6
|
||||
|
||||
Do you have a link to the page? (And you are only hiding that one line, not the whole list of users, with that code.)
|
#7
|
|||
|
|||
ok thank you, i got it!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|