![]() |
Template var question
Is there a canview type of template var for conditionals? I seem to remember there was one to use to keep adsense from apearing in non public areas. I can't seem to remember what it is. :confused:
|
Quote:
|
is_member_of perhaps
|
$show['guest'] maybe?
Ah, $show['search_engine']. I knew I had seen that before. Nah, that won't work either. |
Quote:
HTML Code:
<if condition="!$show['member']"> |
No, because it needs to show to members and guests. I just want to stop the adsence spider from being trigered in forums it can't see. Too many errors and they get upset. ;)
I guess I have to sleep on it and code my own. |
Have you hacked it so Guests can see what spiders cannot?
'They' tend to frown on that too, AFAIK. :) Otherwise... is there some reason why you can't just use an array of $forum[forumid]? Or, if it is more complicated... pull the Permissions for it and restrict/allow it that waY? |
No I am not cloaking.
There are lot's of things I can do with code, I just wanted to know if vBulletin already took care of that. I guess it doesn't |
All times are GMT. The time now is 09:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|