Ad after every X posts
Add a plugin to the postbit_display_complete hook with the following code:
Code:
global $GAB_ads; ad appears and changing Y to 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 depending on what you have set in GAB: Code:
<if condition="$post[postcount] % X == 0"> Add a plugin to the postbit_display_complete hook with the following code: Code:
global $GAB_ads; ad appears: Code:
<if condition="$post[postcount] % X == 0"> |
where do I fhind this?
"Add a plugin to the postbit_display_complete hook with the following code:" thanks |
See http://www.vbulletin.com/docs/html/main/add_plugin for how to add a plugin.
|
cheers, got it working now
|
Quote:
This link is not working for me... :( |
|
with this tutorial can we make that ads appear ONLY after the 1st post and not every X posts?
|
|
<if condition="$post[postcount] % X == 0">
<div style="padding-top:5px"> $GAB_ads[$GAB_random_key] </div> </if> -- <if condition="$post[postcount] % X == 0"> is this really capital X? or small case? |
The account you used to post your message is showing as unlicensed. Please use the account with a license to obtain support. Thank you.
|
All times are GMT. The time now is 03:04 PM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Tutorial powered by GARS 2.1.9 ©2005-2006