![]() |
How do I get something like this so it is after the LAST post and not the first? The thing is, I already have an advert just below the footer, so you can see that advert and the one below the first post if the first post is not too long. So I would prefer it to be just above the quick reply bar but cannot seem to be able to do it.
|
dosent work on vb 4.1.6
|
4.1.6 users, all you need to do is enter this code at the end of postbit/postbit legacy. It's only one code, not two.
Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> |
Quote:
That is all I have to do to have this mod work on 4.1.6? I have to do it per each theme? Where do I put the adsense code? Thanks |
No one?
|
nice one...marked installed...
|
I am trying to place space for ad after 1st post so tried following code
In the "postbit" or "postbit_legacy", add to the end: <vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> <div class="attachments"> <div style="width: 100%; text-align: center"> Your text here </div> </div> </vb:if> When i try to save am getting the below error..why? You may not use the function parsePhrase()!!! With a few exceptions, function calls are not permitted in template conditional expressions. Please go back and re-write this expression. The following functions are allowed in template conditional expressions: and() or() xor() in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of() construct_phrase() iif() |
and when am trying with 2nd method as said by developer am not able to see any changes
nd method, in the "ad_showthread_firstpost" template, add: Code: <div class="attachments"> <div style="width: 100%; text-align: center"> Your text here </div> </div> My verison is 4.1.7 but am trying this for testing over VB DEMO 4.1.8 |
Ok this mite be a silly qestion but any way to not show this to a special group on my forums , say i want everyone to see the ads but admins is there a way to do this?
|
Quote:
Thanks and regards! |
All times are GMT. The time now is 01:44 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:
|