Forum Ads Problem

Discussion in 'vBulletin' started by StocksonWallStreet.net, Oct 28, 2009.

  1. #1
    If anyone could help me how do I replace the Ads on my forum: http://www.randomchatter.org/. It is vbulletin software yet can't figure out where the html codes are located as someone else did it.
     
    StocksonWallStreet.net, Oct 28, 2009 IP
  2. faran100

    faran100 Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #2
    i didn't understand what do u mean by replace?
    its should be under Admin >Styles & Templates >style manager > header template
     
    faran100, Oct 30, 2009 IP
  3. StocksonWallStreet.net

    StocksonWallStreet.net Active Member

    Messages:
    1,200
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #3
    Thats all I needed, thanks
     
    StocksonWallStreet.net, Oct 30, 2009 IP
  4. StocksonWallStreet.net

    StocksonWallStreet.net Active Member

    Messages:
    1,200
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #4
    Can't find Styles and Templates, where is it?
     
    StocksonWallStreet.net, Oct 30, 2009 IP
  5. faran100

    faran100 Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    its should be under Admin control panel
     
    faran100, Oct 30, 2009 IP
  6. Qryztufre

    Qryztufre Prominent Member

    Messages:
    6,071
    Likes Received:
    491
    Best Answers:
    0
    Trophy Points:
    300
    #6
    get some GREAT help here: http://www.vbulletin-faq.com/forum/showthread.php?t=4697

    This will place an AD under the first post for guests only for the first 17 pages of a thread... assuming the default is 10 posts per page.

    in Admin CP -> Styles & Templates -> Style Manager -> Postbit Templates -> postbit or postbit_legacy

    find
    <!-- / post $post[postid] popup menu -->

    and put this under it...

    <if condition="in_array($post['postcount'], array(1, 11, 21, 31, 41, 51, 61, 71, 81, 91, 101, 111, 121, 131, 141, 151)) AND !$bbuserinfo[userid]">
    <div style="padding: $stylevar[cellpadding]px 0px 0px 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">
    GOOGLE CODE HERE 
        </td>
    </tr>
    </table>
     
    </div>  
    </if></if>
    PHP:
    If I recall correctly I could not find what I was supposed to find so I put it someplace near the bottom... but I have since undone that, so I don't really remember it clearly.
     
    Qryztufre, Oct 30, 2009 IP
  7. StocksonWallStreet.net

    StocksonWallStreet.net Active Member

    Messages:
    1,200
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #7
    What if I just want to get rid of ads all-together how do I go about doing so?
     
    StocksonWallStreet.net, Nov 12, 2009 IP
  8. policywala

    policywala Active Member

    Messages:
    177
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #8
    Go to Admin CP > Advertising > Google Adsense > No google ads > change
     
    policywala, Nov 13, 2009 IP
  9. policywala

    policywala Active Member

    Messages:
    177
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #9
    In your website it is adtoll so select that not ad sense.
     
    policywala, Nov 13, 2009 IP
  10. sachin410

    sachin410 Illustrious Member

    Messages:
    6,422
    Likes Received:
    573
    Best Answers:
    0
    Trophy Points:
    410
    #10
    Use the "search templates" feature.

    Suppose you are using Google Adsense.

    To find all templates that have the Adsense code, search for something like "google_ad_client" which is found in all Adsense codes.

    Open the template and replace the code with any other code or delete it if you want no ads.
     
    sachin410, Nov 13, 2009 IP
  11. StocksonWallStreet.net

    StocksonWallStreet.net Active Member

    Messages:
    1,200
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    98
    #11
    K will try and look into it and get it all sorted out.
     
    StocksonWallStreet.net, Nov 14, 2009 IP