The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Advertising Banner System

Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2008, 01:50 PM
powerful_rogue powerful_rogue is offline
Member
 
Join Date: Nov 2007
Posts: 56
Default GAB and Release mod

If I was to purchase GAB ,

Would it be possible to display banners underneath the release post, but above the first reply?
Reply With Quote
  #2  
Old 09-09-2008, 02:13 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

It should be possible, though I haven't tried it, but you'd probably need to do this and instead of adding the template conditional to the postbit template, you'd probably want to add it to the template you are using in place of the postbit template for the release post, though it might require adding global $GAB_ads; to the GARS code as well.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 09-17-2008, 12:48 PM
powerful_rogue powerful_rogue is offline
Member
 
Join Date: Nov 2007
Posts: 56
Default

Sorry Moran, I kind of get what your saying.

So I would need to add
"<if condition="$counter == 1"><if condition="THIS_SCRIPT!='private'"><div style="padding-top:5px">$GAB_ads[x]</div></if></if>"

into the GARS_release_pb at the bottom, however which GARS pluggin would I need to add "global $GAB_ads, $counter;" into?
Reply With Quote
  #4  
Old 09-17-2008, 03:34 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Untested by try this. Add a plugin to the vB postbit_display_start hook with the following content:
Code:
global $GAB_ads;
Then add the following to the GARS_release_pb template where you want the ad to appear:
Code:
$GAB_ads[X]
Where X is 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #5  
Old 09-17-2008, 03:38 PM
powerful_rogue powerful_rogue is offline
Member
 
Join Date: Nov 2007
Posts: 56
Default

Thanks Morgan. Works a treat
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Release Mod Help.... Half Pint Geek Article and Review System 0 11-16-2007 08:29 PM
GAB RC3b Release Discussion The Geek Geek Advertising Banner System 15 03-12-2007 10:01 AM
compare GAB to a vb mod Hornstar6969 Geek Advertising Banner System 1 12-21-2006 07:42 AM
GAB RC2 Release Discussion The Geek Geek Advertising Banner System 35 02-27-2006 05:44 PM
GAB RC2b Release discussion The Geek Geek Advertising Banner System 0 02-23-2006 06:43 PM


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.