Announcement

Collapse
No announcement yet.

Easy ad banner question...

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

  • 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.
    Do not click this link... you may save hundreds on your auto insurance.

  • #2
    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 .
    Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

    Comment


    • #3
      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.
      Do not click this link... you may save hundreds on your auto insurance.

      Comment


      • #4
        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>
        Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X