SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
Posted:  19 Jun 2007 03:57   Last Edited By: nortkele
I want to publish Google Ads on only first post of all topics. But i couldn't manage it. How can i do that ? Any idea ?

http://img263.imageshack.us/img263/4824/googlekb3.gif
Posted:  19 Jun 2007 07:26
There was an adsense topic a while ago, where I posted some code for sth similar which you can find and adapt.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  19 Jun 2007 14:54
I think you mean "adsense poster". But i want to publish the ads inside the first post.

How can i do that ?
Posted:  20 Jun 2007 17:00
The "adsense poster" shows you the general principle of implementing it.
Basically, you need to program the following:
1. insert a new variable into the html template that renders a post. That variable will represent the adsense code.
2. go to the code that shows a post. Add a code that checks if this is the first post, and if it is set the variable with the adsense code. If it is not the first post set it to an empty value.
That's it.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  20 Jun 2007 23:26
Thanx Hristo, i will try to manage.
Posted:  20 Jun 2007 23:51
I couldn't define if it is the first post or not.

Posted:  24 Jun 2007 10:36
I am sorry I don't have the time to come up with the exact code you need.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com