smirky, it is NOT porn. So what are the sites?
Moparx.. That conditional sets it for 5 posts or more in the whole thread. I want to do it as 5 posts or more per page. In other words, if the thread has 1 2 3 or 4 posts, no ad is shown, but at 5 or more, then and add is shown. If a thread shows 20 posts per page and there are 21 pages, then page 2 shows 1 posts and 1 add...but I don't want it to show the ad UNTIL there are 5 posts on page 2.... and the same for each subsequent page...
Does this have to be done as some kind of formula such as:
(last thread number shown on current page) mod (total replies shown per page) >=5
If so, then what are those variables stored as?
|