Announcement

Collapse
No announcement yet.

Banners

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

  • Banners

    I have banner ads on my forum and I want them to go at the very top right of the forum (See attached Pic). I have a tamplate for them, so all I have to do is find the correct place in the code to add "$Advert"

    Here is the header code:

    <!-- logo and buttons -->
    <center>
    <table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top" align="left" background="{imagesfolder}/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
    <td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif">
    <!-- toplinks -->
    <a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
    <a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
    <a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
    <a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
    <a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
    <a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
    <a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
    <!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
    &nbsp;
    <!-- /toplinks -->
    </td>
    </tr>
    </table>
    $advert
    <!-- /logo and buttons -->
    <!-- content table -->
    <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
    <tr>
    <td>


    Any help is greatly appreciated!
    Attached Files

  • #2
    Cant say for sure, but you can try adding it somewhere after the img which points to "$bbtitle"

    Comment


    • #3
      Well I played a little with it, PLEASE back up your existing code first please

      <!-- logo and buttons -->
      <center>
      <table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
      <tr>
      <td valign="top" align="left" background="{imagesfolder}/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
      <td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif">
      <!-- toplinks -->
      <a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
      <a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
      <a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
      <a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
      <a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
      <a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
      <a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
      <!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
      &nbsp;
      <!-- /toplinks -->
      </td>
      <td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif">
      $advert
      <!-- /logo and buttons -->
      <!-- content table -->
      </td>
      </tr>
      </table>
      &nbsp;<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
      <tr>
      <td>
      I really like to center my image title, and then put the banners and buttons under. I do not know what is going to happen unless I can get into your forums and play a little.

      Ian

      Comment


      • #4
        Here is an example..I prefer this look if using banners but hey that is me

        Ian
        Attached Files

        Comment


        • #5
          Thanks Stangpower.. it is close, but it is right beside the buttons. I would like to have it at the top above them.

          Let me know if you have any more ideas, and thanks for trying!
          Attached Files

          Comment


          • #6
            Well i finally got something to work! Thanks for the help anyway. I solved all of the problems that I was having with the banner ads with PHPadsnew.

            What an awesome program!

            Comment

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