PDA

View Full Version : Last Post Code


MikeRoweForums
03-10-2004, 05:33 AM
I'm trying to put the adsense code in between the last post and second to last post on my site and I need the code for the last postcount.

The code to put it right under the first post is: <if condition="$post[postcount] == 1">
<center>
***** PLACE YOUR ADSENSE CODE HERE *****
</center>
</if>
but I want the last one :p.

Thanks

Dean C
03-10-2004, 02:32 PM
Wow we have a celebrity ;)! I'm not sure that there is a variable which holds the number of posts on the current page and their indivdidual position in the thread. You may have to ask this over at vbulletintemplates.com :)

Boofo
03-10-2004, 02:53 PM
I'm curious. What adsense code would you put there? ;)

MikeRoweForums
03-10-2004, 06:52 PM
I'm not a celebrity :p.

I will go ask vbulletintemplates.com however. Thanks.

Boofo: What do you mean?

Boofo
03-10-2004, 07:36 PM
I mean what is the code that you put there for adsense?