I just can’t stop asking these questions…
I want to show ads between first and second forumpost – so far, so good – I’ve managed to implement some ad code here in my own custom theme.
if ($spTopicView->currentPost == 1 && $spTopicView->postCount > 1) {
?>
<div style="text-align:center; background:white; color:black; padding:5px;">
<?php
if (function_exists('show_ad')) show_ad();
?>
</div>
<?php } ?>
Not so pretty maybe, but it works(!)
I would like to add another if at the top of this one.
if (current-user-post-count < 20) {
show ads
} else {
dont show the div
Meaning that if the user who browse the forum, has more than 20 posts all together, don’t show the ads.
What is the variable I can use to get the correct post-count-number for the user?
}