Go Back   Internet Business Forums > Webmasters

Reply
 
LinkBack Thread Tools Display Modes
Old 14-08-2006, 04:17 PM   #1 (permalink)
Business Guru
 
Brian Turner's Avatar
 
Join Date: Dec 2003
Location: Near Inverness, Highlands, Scotland
Posts: 7,950
Default vbulletin conditionals

I can't believe I never used this feature before - but it's great!

Quote:
<if condition="$bbuserinfo['userid'] == 1">
[template]
</if>
Simply add that to any template feature you don't want guests to see, to create less clutter on the boards - adding the conditional around the template feature you don't want to display to guest.

Great stuff!
__________________
SEO specialist.
Brian Turner is offline   Reply With Quote
Old 14-08-2006, 08:22 PM   #2 (permalink)
Business Guru
 
Brian Turner's Avatar
 
Join Date: Dec 2003
Location: Near Inverness, Highlands, Scotland
Posts: 7,950
Default Re: vbulletin conditionals

Whoops!!! The above *does not* do what I thought it did - it simply restricts view of that section of template to the admin only!

Will try and ensure I get the right conditional.
__________________
SEO specialist.
Brian Turner is offline   Reply With Quote
Old 16-08-2006, 11:26 AM   #3 (permalink)
Business Guru
 
Brian Turner's Avatar
 
Join Date: Dec 2003
Location: Near Inverness, Highlands, Scotland
Posts: 7,950
Default Re: vbulletin conditionals

This is the one:

Quote:
<if condition="$bbuserinfo[userid]"> </if>
__________________
SEO specialist.
Brian Turner is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.