vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=173810

Conditional isn't working...
by ArchangelX
22 Mar 2008 11:52

Hello all,

I'm trying to keep a Google Adsense code from appearing as a thread in my Adult Discussion forum.

I'm using the following conditional within the Forum Display Template, right before the Adsense code. It's doesn't seem to be working as it still shows up as a post. I'm using 3.5.x

Can anyone suggest what I'm doing wrong? Thanks!


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Dismounted 22 Mar 2008 12:23

Try these (vBulletin can be messy with variable names):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


ArchangelX 22 Mar 2008 13:13

Thanks as always, will do!

--------------- Added 22 Mar 2008 at 13:18 ---------------

Ahhhh...Thank you, the second one worked! I really appreciate it! :D

th13rteen 26 Apr 2008 17:56

How do you add multiple forums? Like x, x1, x4, etc.

Opserty 26 Apr 2008 18:37


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add a ! before the in_ to reverse/invert the condition.


All times are GMT. The time now is 03:01.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.