Add ads beside the forum header logo

thetillian

New Member
Hi frnds i wanna add ads besides the forum header logo can any one please help me with it
I am using fancy grey skin as shown in the below picture
2vkhzx0.jpg
My forum url:
Code:
http://www.mecoforum.com/

My header code:
PHP:
<!-- logo -->
<a name="top"></a>

<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="headerWrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="headerL">&nbsp;</td>
        <td class="logoWrap"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img id="fancygrey_logo" src="images/fancygrey/fancygrey_logo.gif" width="270" height="101" alt="$vboptions[bbtitle]" style="border:none" /></a></td>
        <td class="Afterlogo">&nbsp;</td>
        <td>&nbsp;</td>
        <td class="headerR">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="navWrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="navL">&nbsp;</td>
        <td>

<!-- nav buttons bar -->

    <table id="navstyle" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr align="center">
        <if condition="$show['member']">
            <td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if condition="$show['registerbutton']">
            <td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
        $template_hook[navbar_buttons_left]
        <td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if condition="$show['popups']">       
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" ><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if condition="$show['member']">
                <td id="usercptools" ><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if condition="$show['searchbuttons']">
                <td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">           
                <td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>           
            </if>           
        </if>
        $template_hook[navbar_buttons_right]
        <if condition="$show['member']">
            <td><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>
    </tr>
    </table>

<!-- / nav buttons bar -->


</td>
        <td class="navR">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="contentWrap"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="contentWraptable">
      <tr>
        <td class="cL"><img src="images/fancygrey/spacer.gif" width="4" height="1" alt="" border="0" /></td>
        <td>


<!-- content table -->
$spacer_open

$_phpinclude_output

thanks in advance
 
What kind of ads? The block that says "<td class="Afterlogo">&nbsp;</td>"

if you replace &nbsp; with you ad it should work. OR the next set of tags "<td>&nbsp;</td>" which will place the add in the next block just before the end of the header.

You should look in your MainCSS to see what .afterlogo does however, to make sure you ad doesn't step on something.

I don't have that style so I can look at the MainCSS but "<td class="headerR">&nbsp;</td>" probably displays the image that closes the header.

HTH
 
Back
Top