![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Show ads for last post on page only when there are more than X replies
![]() Developer Last Online: Feb 2021 ![]() ![]() ![]()
By default the ad in the last post will show if there are 2 posts on a page. This results in two successive, often cluttered looking ads. Alternatives if statements to this did not account for multi-page threads where 2 posts were on a page.
Here is the solution: In postbit find
replace with
I found that more than 2 posts on a page is sufficient to show an ad again. Of course if you rather have more posts on a page before showing another ad, simply change the 2 in the conditional to whatever you want. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Handy to know, thanks!
__________________
www.classic8bit.com Advertise using 'forumrules' and recode signatures on 1st & 2nd posts I need help with setting up a usergroup permissions plugin, if anyone is able to assist. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:59.