How to add banner at the top of the vbulletin forum?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nacho-lopez
    New Member
    • Sep 2007
    • 8

    How to add banner at the top of the vbulletin forum?

    Hi:
    I would like to add an adsense banner 468x60 at the top of my forum, aling right. I attached an image capture so you can see better what i am looking for...
    I was looking for something like this in the forum but i was not be able to find it by now...
    Could you help me with this code please?
    Thanks a lot
    Attached Files
  • Andy Huang
    Senior Member
    • Feb 2004
    • 4602

    #2
    Edit the "header" style to add it.
    Admin CP > Styles & Templates > Style Manager > <<>> > header
    Find this code:
    Code:
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    	<td align="$stylevar[right]">
    		[COLOR="Red"]&nbsp;[/COLOR]
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    And replace the red space with HTML to your banner.
    Best Regards,
    Andy Huang

    Comment

    • Nacho-lopez
      New Member
      • Sep 2007
      • 8

      #3
      Thanks a lot Andy...
      It worked perfectly...
      Any post where I can find code to add adsense into first post for example?. I found to add after first post but not into it...


      Originally posted by Andy Huang
      Edit the "header" style to add it.
      Admin CP > Styles & Templates > Style Manager > <<>> > header
      Find this code:
      Code:
      <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
      <tr>
          <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
          <td align="$stylevar[right]">
              [COLOR=red]&nbsp;[/COLOR]
          </td>
      </tr>
      </table>
      <!-- /logo -->
      And replace the red space with HTML to your banner.

      Comment

      • Andy Huang
        Senior Member
        • Feb 2004
        • 4602

        #4
        To add into first post; you will need to make use of the custom conditional in postbit:
        Best Regards,
        Andy Huang

        Comment

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