Hello,
Thank you for your response. I am attaching screen shots and have explained below what's happening on using this condition...
Quote:
<if condition="$post[postcount] % X == 0">
|
replaced X with 5.
Meaning, I want to show Google ads below every 5th post in the thread.
My forum threads have max 10 posts per page.
Using the above condition, I am able to get ads displayed below 5th post. (refer image 1 - showing ad)
But ads are not getting displayed below 10th post. (refer image 2 - no ad - white space)
While ads are getting displayed below 15th post too. (refer image 3 - showing ad)
But again ads are not getting displayed below 20th post. (refer image 4 - no ad - white space)
I used to have conditions included for displaying ads "below the 1st post in all pages of the thread and below the last post in all pages of the thread".
After I included the above condition to display ad below the 'X' post,
the condition for displaying ads below last post in all pages of a thread is also not working.
While I have ads below 1st post in all pages of a thread working fine.
Hope my issue is clear now with the screen shots and the explanation.
Please advise. Thanks.