vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 1 of 1

The easier and better ways to display ads on all forum pages

This is a discussion on The easier and better ways to display ads on all forum pages within the Ad Networks forums, part of the Monetizing category; First see this http://www.vbseo.com/f160/vbulletin-...tutorial-6221/ and we will do some things new on this thread i will put ads in this ...

  1. #1
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,543
    Blog Entries
    2

    The easier and better ways to display ads on all forum pages

    First
    see this
    vBulletin Google Adsense Deep Integration Tutorial
    and we will do some things new on this thread

    i will put ads in this area



    do this

    open admincp>search on templates>FORUMDISPLAY

    FIND

    Code:
    </td>
     <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    <!-- / controls above thread list -->
     



    Add above
    Code:
    <!-- Gl Adsense |By MARCO1 --> 
     
    your google ad code 
     
     <!-- / Gl Adsense |By MARCO1  -->
    
    AND i will put ads in this area (in threads)



    do this
    open admincp>search on templates>SHOWTHREAD

    FIND
    Code:
    </td> 
     <else /> 
      <td class="smallfont">&nbsp;</td> 
     </if> 
     <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if> 
    </tr> 
    </table> 
    <!-- / controls above postbits -->
    
    Add above


    Code:
    <!-- Gl Adsense |By MARCO1 --> 
     
    your google ad code 
     
     <!-- / Gl Adsense |By MARCO1  -->
    
    I love these ways to display your ads and this will give more and more clicks


    AND i will put ads in this area



    do this
    open admincp>search on templates>FORUMHOME

    FIND

    Code:
    <!-- main -->
    
    add above
    Code:
    <table border="0"> 
     <tr> 
      <td width="100%" align="right" valign="top">
    
    And research to
    Code:
    <!-- main -->
    
    add below

    Code:
    <td valign="top" align="right" > 
       <table border="0" width="100%"> 
        <tr> 
            <td align="right" valign="top"> 
    <table border="1" cellspacing="0" style="border-collapse: collapse"> 
     <tr> 
      <td align="center"> 
        
    <!--  Gl Adsense |By MARCO1 --> 
    <center> 
    YOUR GOOGLE ADS CODE HERE
     </center> 
     
    <!--  / Gl Adsense |By MARCO1 -->  </td> 
     </tr> 
    </table> 
         </td> 
     </tr> 
    </table> 
     </td> 
        </tr>
    
    And will put ads in posts



    do this

    In postbit template replace

    Code:
     <!-- message -->
      <div id="post_message_$post[postid]">$post[message]</div>
       <!-- / message -->
    
    With

    Code:
            <!-- message -->
    <if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])">
    <span style="margin: 2px; float: right; width: 301px; height: 251px;">
            ADSENSE CODE HERE
    </span>
    </if>
        <div id="post_message_$post[postid]">$post[message]</div>
                  <!-- / message -->
    
    you will have to replace ADSENSE CODE HERE with the actual code.

    to put ads in Archive
    like this



    Download the product in the
    Attachments
    and open the product with notepad or other editor

    and replace the pub code (pub-7556473518368210)
    with your Google adsense pub code

    save..

    import it from admincp and go to
    Archive


    Attached Files

Similar Threads

  1. Forum Usability – Make member’s life easier
    By MaestroX in forum Member Articles
    Replies: 1
    Last Post: 07-21-2008, 03:59 AM
  2. Forum Display: 0 why?
    By ssmarket.net in forum Troubleshooting
    Replies: 2
    Last Post: 11-11-2007, 02:57 AM
  3. Best Title For Forum Display
    By LPH2005 in forum General Discussion
    Replies: 0
    Last Post: 02-17-2007, 06:00 PM