Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 conditional statement for adsense
mac834 Offline
Junior Member
**
Posts: 3
Joined: May 2011
Post: #3
RE: conditional statement for adsense
(05-21-2011 06:30 PM)ZiNgA BuRgA Wrote:  $postcounter refers to the current post's #.
If you want the total number of posts, you should use $thread['replies']

But if all you want to do is put it after all the posts, don't put the code in the postbit template - try the showthread template instead.

Thank you for your reply. I want it under all the posts on each page, but ONLY if there are 3 or more posts on the page. I had it on the showthread template but it would appear even if there was only 1 or 2 posts.
05-21-2011 08:35 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
conditional statement for adsense - mac834 - 05-21-2011, 11:30 AM
RE: conditional statement for adsense - mac834 - 05-21-2011 08:35 PM

 Standard Tools
Forum Jump: