try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Internet Forum Softwares > vBulletin


Disable Ads in Custom Thread??

This is a discussion on Disable Ads in Custom Thread?? within the vBulletin section, part of the Internet Forum Softwares category; Hello, I'm using this code to appear ads for guest only: Code: <if condition="$show['guest']"> ads </if> How to disable ads ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-11-2010, 12:11 PM
No Avatar

Learner
 
Join Date: Nov 2010
Posts: 9
v123shine is on a distinguished road
Icon5 Disable Ads in Custom Thread??

Hello,

I'm using this code to appear ads for guest only:

Code:
<if condition="$show['guest']">ads</if>
How to disable ads in custom thread for guest only???

example:
I want disable ads in this thread:

'http://www.domain.com/forum/showthread.php?t=1256779

and

'http://www.domain.com/forum/showthread.php?t=2347889

Please help me!!

Last edited by v123shine; 05-11-2010 at 01:19 PM.
Reply With Quote
  #2  
Old 05-11-2010, 12:20 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

To show something in specific thread, try this:

HTML Code:
<if condition="$thread['threadid'] == 123">ads</if> 
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #3  
Old 05-11-2010, 01:20 PM
No Avatar

Learner
 
Join Date: Nov 2010
Posts: 9
v123shine is on a distinguished road
Default

Dear Webwizzy, thank you for help me.
But i mean how to disable ads in custom or specific thread for guest only??

I'm using this code for display ads for guest only:

Code:
<if condition="$show['guest']">ads</if>
Reply With Quote
  #4  
Old 05-11-2010, 02:05 PM
No Avatar

Learner
 
Join Date: Nov 2010
Posts: 9
v123shine is on a distinguished road
Default

i get the solution

i'm using this code to disable ads in custom or specific thread for guest only

Code:
<if condition="$show['guest'] && $thread['threadid'] != 123">
other question, how to disable in multiple thread id??

can you help me, please!!
Reply With Quote
  #5  
Old 05-11-2010, 05:21 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

For multiple thread ID's, try something like:

HTML Code:
<if condition="!in_array($thread['threadid'], array(123,34345))"></if> 
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #6  
Old 07-11-2010, 06:17 AM
No Avatar

Learner
 
Join Date: Nov 2010
Posts: 9
v123shine is on a distinguished road
Default

Dear Webwizzy, thank you very much for help me

- God Bless You -
Reply With Quote
  #7  
Old 26-11-2010, 03:13 PM
No Avatar

Learner
 
Join Date: Nov 2010
Posts: 2
beccaa is on a distinguished road
Default

Nice sharing.............
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 09:01 AM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top