Results 1 to 15 of 15

ads in the top right hand corner

This is a discussion on ads in the top right hand corner within the Template Modifications forums, part of the vBulletin SEO Discussion category; I would like to display ad's in the top right hand corner of my forum "the same as digitalpoint" You ...

  1. #1
    Senior Member Array
    Real Name
    Glen
    Join Date
    May 2006
    Posts
    115
    Liked
    0 times

    ads in the top right hand corner

    I would like to display ad's in the top right hand corner of my forum "the same as digitalpoint"

    You guys here have links there, so can you tell me exactly how its done please, and just where to put the code

    Im not the best at modifiying vbulletin

  2. #2
    Senior Member Array Lian's Avatar
    Real Name
    Lian
    Join Date
    Jun 2006
    Location
    Munich, DE
    Posts
    333
    Liked
    0 times
    You may want to think about installing your own AdServer, I prefer phpAdsNew.
    Welcome to phpAdsNew / Open-source ad server

  3. #3
    vBSEO Staff Array Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,277
    Liked
    612 times
    In the default vBulletin style, in your header template (see in bold):
    Code:
    <!-- logo -->
    <a name="top"></a>
    <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]">
    Stick your ad here!
    </td>
    </tr>
    </table>
    <!-- /logo -->
    <!-- content table -->
    $spacer_open
    $_phpinclude_output
    Juan Muriente / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #4
    Senior Member Array
    Real Name
    Glen
    Join Date
    May 2006
    Posts
    115
    Liked
    0 times
    thank you very much juan

  5. #5
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    i use CSS to display my ad absolute positioned, so that the ad code is in the footer template, and loads last. view the source code on HS to see an example

  6. #6
    Senior Member Array
    Real Name
    james
    Join Date
    Aug 2006
    Posts
    254
    Liked
    0 times
    Code:
    <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]" background="<A href="http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a">http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
    </td>  </tr> </table> <!-- /logo -->  <!-- content table --> $spacer_open  $_phpinclude_output

    How would I add the banner in this code? I tried adding it after </td> but did not work. Any help?

  7. #7
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    Code:
     background="<A onclick="urchinTracker ('/outgoing/http_www_traderslaboratory_com_forums_images_kirsch_misc_banner_02_jpg');" href="http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a">
    WTF is that? lol that's not html



    Throw this in your footer template just above </html>:

    Code:
    <div id="adframe">
     PUT (valid) AD CODE HERE, such as:
    <a href="sponser.com"><img src="sponsor.jpg" alt="sponsor" /></a>
    </div>
    put this in your CSS file at the bottom in the custom box:

    Code:
    #adframe {
        position: absolute;
        top: 5px;
        right: 10px;
        margin: 0;
        padding: 2px
            z-index: 99;
    }
    Ignore all that table malarky.

  8. #8
    Senior Member Array
    Real Name
    Alex
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    508
    Liked
    0 times
    Who use phpAdsNew? i've tried to install it but i have some problems how to set the campaign could someone help me?

    Thanks

  9. #9
    Member Array
    Real Name
    Rob Weatherly
    Join Date
    Nov 2006
    Posts
    30
    Liked
    0 times
    Quote Originally Posted by Juan Muriente View Post
    In the default vBulletin style, in your header template (see in bold):
    Code:
    <!-- logo -->
    <a name="top"></a>
    <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]">
    Stick your ad here!
    </td>
    </tr>
    </table>
    <!-- /logo -->
    <!-- content table -->
    $spacer_open
    $_phpinclude_output
    i know this is an old thread but im trying to exactly this (with phpadsnew), but with vb4. the header template is very different and im not sure hwo to get it in adn to align right, everywhere i place it, it just shows up under the main left logo/title image

  10. #10
    vBSEO Staff Array Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    675 times
    Blog Entries
    2
    Edit template
    Ad Location Templates
    ad_global_header2

    Add code:

    Code:
    <div style="float: right;">
    <!-- ad code here -->
    </div>
    <br style="clear:both;" />
    Brian Cummiskey / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Member Array
    Real Name
    Rob Weatherly
    Join Date
    Nov 2006
    Posts
    30
    Liked
    0 times
    doesn't look quite right, can you have a looksie
    -Link removed-

  12. #12
    vBSEO Staff Array Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    675 times
    Blog Entries
    2
    That is where the ad template is located, under the logo. Since you used an extended height logo, that obviously won't work.

    You may need to use negative margins or absolute positioning.


    try:
    Code:
    <div style="margin-top:-75px; float:right;">
    or

    Code:
    <div style="position:absolute; top:75px; right: 10px;">
    You may need to tweak those numbers to fit better.
    Brian Cummiskey / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  13. #13
    Member Array
    Real Name
    Rob Weatherly
    Join Date
    Nov 2006
    Posts
    30
    Liked
    0 times
    thanks i used
    Code:
    <div style="margin-top:-75px; float:right;">
    i was reading that vB 4 has an ad management feature, but cant seem to find wehre to management from, are you by any chance aware of that function?

  14. #14
    vBSEO Staff Array Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    675 times
    Blog Entries
    2
    Sorry, i have limited experience with vb4 as of yet. I know there is a control panel for the ads right above the template nav item, but i haven't played with it.
    Brian Cummiskey / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  15. #15
    Member Array
    Real Name
    Rob Weatherly
    Join Date
    Nov 2006
    Posts
    30
    Liked
    0 times
    no problem
    you have been very helpful

    thank you again

Similar Threads

  1. AdSense ads in foreign countries
    By d6rth7ader in forum Ad Networks
    Replies: 1
    Last Post: 07-12-2006, 12:05 PM
  2. New Sitemaps Info - Average Top Position
    By Ace Shattock in forum General Discussion
    Replies: 1
    Last Post: 03-14-2006, 03:58 AM
  3. Already Near Top of Search Engines
    By mikem79 in forum Pre-Sales Questions
    Replies: 1
    Last Post: 02-08-2006, 10:41 AM
  4. Replies: 2
    Last Post: 10-25-2005, 06:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •