Results 1 to 12 of 12

Thread: Ad after first post

  1. #1
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055

    Ad after first post

    I added the common adsense forum integration of an ad after the first post. The reason is that in my upcommon optimization article I mention this as a recommendation and so its easier to illustrate if I do it here.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  2. #2
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    its not that annoying either. Its not great, but i thought it would really annoy the hell out of me. Hows it convert?

  3. #3
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    I don't track it separately from the other adcodes and I don't think I have enough uniques on this forum for accurate statistics.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  4. #4
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Chris - did you use a vb hack for this?

    I'm testing "vB Ad Management" - but can only get my ads to show to registered users... if they aren't registered - no ads
    I Do Website Design - but I am here to learn all about publishing

  5. #5
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    Yes I did, it was a specific "adsense" hack for vb 3.0 that I only had to do minor edits to for it to work in vb 3.5.
    Put this at the very end of your postbit_legacy template, obviously changing your google id.
    PHP Code:
    <if condition="$post[postcount] == 1">

    $spacer_open
    <div style="padding:0px 0px $stylevar[cellpadding]px 0px">

    <
    table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">

    <
    tr>
        <
    td class="alt1" align="center">
    <
    script type="text/javascript"><!--
    google_ad_client "pub-3280446741348688";
    google_ad_width 728;
    google_ad_height 90;
    google_ad_format "728x90_as";
    google_ad_type "text_image";
    google_ad_channel ="4554257847";
    google_color_border "DFDFDF";
    google_color_bg "DFDFDF";
    google_color_link "DD0A2D";
    google_color_text "000000";
    google_color_url "DD0A2D";
    //--></script>
    <script type="text/javascript"
      
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
        </td>
    </tr>
    </table>

    </div>
    $spacer_close

    </if> 
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  6. #6
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Do you have a link... or do you know what it was called
    I Do Website Design - but I am here to learn all about publishing

  7. #7
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Sorry Chris - didn't see your code
    I Do Website Design - but I am here to learn all about publishing

  8. #8
    Senior Member agua's Avatar
    Join Date
    Sep 2005
    Location
    Pottsville, NSW
    Posts
    531
    Cool - works great

    I had to post it at the end of my Postbit template as well - but it works great

    Thanks
    I Do Website Design - but I am here to learn all about publishing

  9. #9
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    here is the vb 3.6 version

    PHP Code:
    <if condition="$post[postcount] == 1">


    <
    table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style "margin: 0px; padding: 0px;">
    <
    tr>
        <
    td class="thead" $scrolltothis style="font-weight:normal">Word from our Sponsor:</td>
    </
    tr>
    <
    tr>
        <
    td class="alt1" style="padding:0px">
        <
    div class="smallfont" align="center">

    <
    script type="text/javascript"><!--
    google_ad_client "pub-3280446741348688";
    google_ad_width 728;
    google_ad_height 90;
    google_ad_format "728x90_as";
    google_ad_type "text_image";
    google_ad_channel ="4554257847";
    google_color_border "DFDFDF";
    google_color_bg "DFDFDF";
    google_color_link "DD0A2D";
    google_color_text "000000";
    google_color_url "DD0A2D";
    //--></script>
    <script type="text/javascript"
      
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
        </div>
        </td>
    </tr>
    </table>


    </if> 
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  10. #10
    Wow. Life is short. Erin's Avatar
    Join Date
    Mar 2006
    Posts
    173
    Be sure to check out this thread on vB.com. It's got some good info and links to code snippets.

  11. #11
    Registered
    Join Date
    May 2005
    Posts
    81
    It's already been like that since september last year

    Anyway, I doubt you get much clicks on these forums since even if we (webmasters) do recognize them, we usually don't click.

  12. #12
    I'm the oogie boogie man! James's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    1,566
    I agree with Emancipator: it's not really intrusive or anything.

Similar Threads

  1. Post your Picture
    By AndyH in forum General Chat
    Replies: 92
    Last Post: 11-22-2005, 12:45 AM
  2. Getting people to post on a new forum
    By Cutter in forum Community Management
    Replies: 32
    Last Post: 11-18-2005, 06:50 AM
  3. Post exchange to get forum going
    By sitepointRefugee in forum The Marketplace
    Replies: 12
    Last Post: 08-04-2005, 06:35 PM
  4. phpBB : Unable to post
    By Emancipator in forum Website Programming & Databases
    Replies: 1
    Last Post: 11-18-2004, 02:46 PM

Bookmarks

Posting Permissions

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