![]() |
PHP Sponsors Displaying in PM's
I have added the following code to my "postbit" template to show some google ads after the first and fifth post displayed on each page of a thread. I modified the "if condition" line. It works like a champ! The only problem I am now having is that it is showing these ads below Private Messages. Any clue how to stop them from showing up under a private message?
PHP Code:
|
Replace your line
Code:
<if condition="((($post[postcount]-1)%10 == 0)|(($post[postcount]*5)%25 == 0))"> Code:
<if condition="(THIS_SCRIPT!='private') && (((($post[postcount]-1)%10 == 0)|(($post[postcount]*5)%25 == 0)))"> |
Perfect! Thanks a million!
|
All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|