sarahk
10-12-2008, 08:25 PM
I need to anticipate the length of the page that I am displaying so that I can decide which ads to show.
This is done using the style_fetch hook in the plugin manager (because the style also impacts on the ad choice).
I can test if I'm in a thread by checking the value of THIS_SCRIPT but what variables do I have available for checking the number of posts?
thanks
This is done using the style_fetch hook in the plugin manager (because the style also impacts on the ad choice).
I can test if I'm in a thread by checking the value of THIS_SCRIPT but what variables do I have available for checking the number of posts?
thanks