PDA

View Full Version : Help?


UltimateOreo!
04-14-2007, 10:39 PM
I know there is a conditional that states that if a user is a member, that can view the page, and I do NOT want a conditional for a usergroup, I want the member one, I just can't seem to remember it. Help anyone?

InfoNirvana
04-14-2007, 10:43 PM
Does this tutorial help ?

How to create your own vBulletin-powered page! (uses vB templates)
https://vborg.vbsupport.ru/showthread.php?t=62164

UltimateOreo!
04-14-2007, 10:44 PM
Ive already got the page, but I just need the conditional, unless that link has the conditional in it. If it does, thank you!

HMBeaty
04-14-2007, 11:09 PM
Are you looking for the php code or the html code?

Well, here you go....

for the php code:
// Check Perms
if ($show['guest'])
{
print_no_permission();
}

and the html
<if condition="$show['member']">
</if>

UltimateOreo!
04-14-2007, 11:17 PM
Im going to go ahead and assume that I just replace guest with member?
I knew it was something simple like this, I just didnt want to waste 30 minutes guessing.

HMBeaty
04-14-2007, 11:18 PM
Oh, sorry, in the second one (the html code) yes (fixed the post). But if you're using the php code, no. The php code will not show the page to guests

UltimateOreo!
04-14-2007, 11:55 PM
Ok, appreciate the help! And is it just me, or did you just become active again only recently?

HMBeaty
04-14-2007, 11:57 PM
And is it just me, or did you just become active again only recently?
I think thats just you. I've always been active as far as I know

UltimateOreo!
04-14-2007, 11:58 PM
Ah, I just remember you posting a lot more recently. Anyway, thanks for the help again.

HMBeaty
04-14-2007, 11:59 PM
Not a problem :)