Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Mar 2008, 11:52
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Real name: Michael Kitchens
Unhappy Conditional isn't working...

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.

__________________
Hawaii's Online Community!
Hawaii Talks
Reply With Quote
  #2  
Old 22 Mar 2008, 12:23
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.

__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 22 Mar 2008, 13:13
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Real name: Michael Kitchens
Thanks as always, will do!

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

Ahhhh...Thank you, the second one worked! I really appreciate it!
__________________
Hawaii's Online Community!
Hawaii Talks

Last edited by ArchangelX; 22 Mar 2008 at 13:18. Reason: Auto-Merged DoublePost
Reply With Quote
  #4  
Old 26 Apr 2008, 17:56
th13rteen th13rteen is offline
 
Join Date: Aug 2007
How do you add multiple forums? Like x, x1, x4, etc.
Reply With Quote
  #5  
Old 26 Apr 2008, 18:37
Opserty Opserty is offline
 
Join Date: Apr 2007

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

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



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 04:29.

Layout Options | Width: Wide Color: