Log in

View Full Version : How to showing adsense after last post, in every pages, what is the conditional


basketmen
08-11-2011, 01:11 AM
There are many mod and post to showing adsense after first post,
but i cant find a mod or post to showing adsense after last post,

the if conditional for showing adsense after first post is
<if condition="!$GLOBALS['FIRSTPOSTID']">
adsense code here
</if>

what is if conditional for showing adsense after last post??

i tried this, its not working

<if condition="!$GLOBALS['LASTPOSTID']">
adsense code here
</if>

kh99
08-11-2011, 11:16 AM
Do you need a conditional? Why not just put the code in SHOWTHREAD after the posts?

basketmen
08-11-2011, 07:43 PM
Do you need a conditional? Why not just put the code in SHOWTHREAD after the posts?
yes, the the conditional for postbit

yes in showthread template is the alternative, if there is conditional in postbit i want to try it

Michael.A
08-11-2011, 11:06 PM
there is an addon for that..

BirdOPrey5
08-14-2011, 09:00 PM
$post[islastshown] is true only in the last post on a page in the postbit.