Neopets Cheats, Games and Neopoints - Loans - Internet Advertising - Facebook proxy list - Free Credit Score

PDA

View Full Version : How do I insert Adsense after the 1st post?


C-E-O
Feb 4th 2008, 6:53 pm
I followed this Tutorial Here (http://www.v7n.com/forums/coding-forum/22148-php-ads-vbulletin.html), but it isnt working!

moneytalkpro
Feb 4th 2008, 7:30 pm
where do you want to insert your adsense ?

C-E-O
Feb 4th 2008, 7:34 pm
where do you want to insert your adsense ?

Under the first post

Loco.M
Feb 4th 2008, 7:55 pm
Here are a list of vbulletin conditions (http://forum.vbulletinsetup.com/f66/vbulletin-template-conditionals-list-2185.html).
The one your after is listed plus a bunch more.

cheers

Cheap SEO Services
Feb 4th 2008, 7:57 pm
I added VB Ad Management 4 and set it all up but can't get it to show. Time to read some more.

C-E-O
Feb 4th 2008, 8:08 pm
Here are a list of vbulletin conditions (http://forum.vbulletinsetup.com/f66/vbulletin-template-conditionals-list-2185.html).
The one your after is listed plus a bunch more.

cheers

Sorry bro, that did me no good

FoxyFLS
Feb 6th 2008, 7:54 am
Just place it at the bottom of your postbit or postbit_legacy template

<if condition="$post[postcount] % $vboptions[maxposts] == 1">
<div style="padding:6px 0px 0px 0px;margin-top:4px;">

<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">
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-//your id goes here";
google_alternate_color = "444466";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="YOUR CHANNEL ID";
google_color_border = "EBE7DA";
google_color_bg = "EBE7DA";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>

</div>
</if>

Loco.M
Feb 6th 2008, 8:28 am
Sorry bro, that did me no good

yes it does if you would just look :rolleyes:

Place Information After x Post On Every Page

this is exactly what your asking, but then again, it would require you to look.


oh well, good luck anyways

\btw.. cheap seo services, you shouldn't post the whole template of a paid script :mad: I would of assumed you knew that...:rolleyes:

Cheap SEO Services
Feb 17th 2008, 3:40 pm
yes it does if you would just look :rolleyes:

Place Information After x Post On Every Page

this is exactly what your asking, but then again, it would require you to look.


oh well, good luck anyways

\btw.. cheap seo services, you shouldn't post the whole template of a paid script :mad: I would of assumed you knew that...:rolleyes:

I arranged for mods to remove it. BAH! I still don't know where to put the hook.

It says this:

To have the advertisement added to the top or bottom of a template, or enter any other text which appears in the template, template hooks included. The text will be searched for and your adcode will be placed immediately after it.

If you are not using automatic insertion, paste $postbit_advertisement into the appropriate template.

Examples:
bottom
<strong><br />
$template_hook[this_hook]

$postbit_advertisement
$GLOBALS[postbit_advertisement]

and then it has this in the box:

$template_hook[postbit_end]

ksb2050
Feb 17th 2008, 4:54 pm
You could do all that coding........


...........or you could just install a VBulletin Product that'll do it.

Try: http://www.vbulletin.org/forum/showthread.php?t=148061

If that mod doesnt work, search Vbulletin.org , theres about 7 mods that will do this for your forum.

Cheap SEO Services
Feb 17th 2008, 4:59 pm
You could do all that coding........


...........or you could just install a VBulletin Product that'll do it.

Try: http://www.vbulletin.org/forum/showthread.php?t=148061

If that mod doesnt work, search Vbulletin.org , theres about 7 mods that will do this for your forum.

Will this work on 3.6.8 Patch 2 ??