vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Help? (https://vborg.vbsupport.ru/showthread.php?t=144888)

UltimateOreo! 04-14-2007 10:39 PM

Help?
 
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:
PHP Code:

// Check Perms
if ($show['guest'])
{
    
print_no_permission();


and the html
HTML Code:

<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

Quote:

Originally Posted by UltimateOreo! (Post 1227924)
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 :)


All times are GMT. The time now is 03: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.00960 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete