I want to use day conditional. Please advise how to use it.
PHP Code:
|
Quote:
|
Quote:
How can I get registration on/of condition. Is it like <vb:if condition="$vboptions== 1"> ? I want to use registration on/off condition. Please help. |
that would be the variable $vboptions['bbactive']
|
Quote:
Is it like <vb:if condition="$vboptions>registration['active']"> |
Quote:
Quote:
|
Hello Lynne and everyone,
The smiliebox is causing havoc for me, so there are a couple of pages where I'd like it not to appear. I've worked out how to make it disappear for one of them, but I don't know how to make this happen for both. Editing the template editor_ckeditor, every time it says 'if smiliebox' I add an extra condition: <vb:if condition="$smiliebox" AND condition="THIS_SCRIPT != 'profile'"> That fixes it for the edit signature box. Smiliebox gone, editor full width. But how can I make it so that the condition applies if there is a smiliebox and if I'm not on either the profile page or the showwiki page? Huge thanks for any help. ~~~~~ Update: I was using 'AND' because an earlier post on this thread said it was possible. Well... at least for me, it didn't work. I tried it both with and without the 'condition=' following. The result's always the same: only the final condition before the > is applied, none of the others. The example I gave above did indeed remove the smiliebox from the profile, but it had removed the first condition (which meant the smiliebox was appearing in all other editors eg quickreply). Didn't notice that until later... The only way I found to apply three conditions was to create three nested 'ifs'. Not pretty, but it works. Thanks to BBR-APBT for the original post! |
I'm wanting to hide some coding for my advertisements for a specific usergroup. How do I do this?
I originally used the show for usergroup code, but apparently that's no longer working right. |
What happens with
Code:
<vb:if condition!="is_member_of($bbuserinfo, 1)">ad code here</vb:if> |
Quote:
PHP Code:
|
All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|