![]() |
I like mine to display every 5 posts... so I use this line. :)
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND (($post[postcount] % 5) == 0)"> |
How can I do so it will display on every page of every thread?
Right now is only showing on the first page of a given thread. Bear w/ me since i'm not coder. Thanks. |
Your code:
PHP Code:
How to modify it so that if the thread spans multiple pages the ad appears after the first post on each page? |
I know theres an if conditional to get this to appear in the subforums you want. I just don't know exactly what I need to put in there.
I need one of the smart coders on here to give me what I need for this to work. This is just the first part. It worked before version 4.0 Code:
<vb:if condition="$foruminfo['forumid'] == 9 OR $foruminfo['forumid'] == 20 OR $foruminfo['forumid'] == 11 OR $foruminfo['forumid'] == 21 OR $foruminfo['forumid'] == 48 OR THIS_SCRIPT == 'newthread' OR THIS_SCRIPT == 'editpost' OR THIS_SCRIPT == 'register' OR THIS_SCRIPT == 'search' OR THIS_SCRIPT == 'usercp' OR THIS_SCRIPT == 'inlinemod' OR THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'newreply' OR THIS_SCRIPT == 'login' OR THIS_SCRIPT == 'private'"> |
installed but gor this error
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected '[' in /home/****/public_html/includes/adminfunctions_template.php(4597) : eval()'d code on line 12 |
Quote:
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND !$GLOBALS['FIRSTPOSTID']"> |
Quote:
|
Quote:
|
Dont show anything and if put second method show ads inside first post...
|
I have 16:9 1920*1080....
|
All times are GMT. The time now is 02:23 PM. |
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:
|