![]() |
Variable not showing up in postbit template
Hi,
I want to add an ad after the first post. This I am able to do by adding the below code in postbit template Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> For this I have written a php code which works fine independently and in header template as well. But not in postbit template. I tried using $global, then writing in plugin and as a separate php file but in vain. Please help. My vb version is 3.8.1 patch level1 My code is as below Code:
<?php |
I had the same issue with some plugin code I tried to write for postbit. Didn't show that variable for me no matter what I tried. In fact, my help request is a few posts down. We tried a bunch of stuff but I was never able to make it work. Hopefully someone can help you and thus me as well.
|
All times are GMT. The time now is 08:08 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:
|