Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 12 Oct 2008, 21:25
sarahk's Avatar
sarahk sarahk is offline
Join Date: Jun 2004
How many posts on the page?

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?

Property Management Services
Simple SEO Blog
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 09:47.

Layout Options | Width: Wide Color: