Announcement

Collapse
No announcement yet.

Easy ad banner question...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • daemon
    replied
    Glad it worked . To do this, place the following line of code directly above the code block in my previous post:

    HTML Code:
    <if condition="!in_array($thread[forumid], array(22, 51))">
    And the following directly after:

    HTML Code:
    </if>

    Leave a comment:


  • coloradok5
    replied
    Thanks, worked perfect!
    Do you know the string that would not allow the ads to show in forum ID's 22 and 51 ?
    Just want to show the ads everywhere but those two forums.

    Leave a comment:


  • daemon
    replied
    Go to:

    Admin CP --> Styles & Templates --> Style Manager --> « » --> Showthread Temlates --> SHOWTHREAD

    Find:

    HTML Code:
    <!-- controls below postbits -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr valign="top">
    Before that, add:

    HTML Code:
    <!-- sponsor -->
    <div style="padding: 0px 0px $stylevar[cellpadding]px 0px">
    	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    	<tr>
    		<td class="thead" align="left">Sponsored Links</td>
    	</tr>
    	<tr>
    		<td class="alt1" align="center">
    			BANNER CODE HERE
    		</td>
    	</tr>
    	</table>
    </div>
    <!-- / sponsor -->
    Just replace "BANNER CODE HERE" with your banner code .

    Leave a comment:


  • coloradok5
    started a topic Easy ad banner question...

    Easy ad banner question...

    http://www.vbulletin.com/forum/showthread.php?t=123281

    I want to do the above mod but show the ad as the last post on each thread page.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X