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-17-2008, 03:33 PM
powerful_rogue powerful_rogue is offline
Member
 
Join Date: Nov 2007
Posts: 56
Default Ads in sidebar on index page

Im currently using a mod which allows me to place banners on the lefthand side of the index page.

Now ive got GABS, id like to be able to use the GAB system so if someone decides they dont want them and turns them off, the index page will revert back to normal size.

This is my current index page - http://www.thefreebiefinder.co.uk/forum.php

Does anyone know how I can acheive the same using GABS?
Reply With Quote
  #2  
Old 09-17-2008, 03:49 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 but one idea would be to use the following template conditional to only show the sidebar when there is an ad to be shown:
Code:
<if condition="$GAB_ads[X]">
	sidebar stuff here
</if>
__________________
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, 04:21 PM
powerful_rogue powerful_rogue is offline
Member
 
Join Date: Nov 2007
Posts: 56
Default

thanks Morgan. The mod im using creates a template called "forumhome_sidecolumn_left" - would I add the condition to the top of that?

I also have these two edits in forumhome

Quote:
FIND

$navbar

ADD BELOW

<!-- peterska2 side column -->
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" width="160px">
<table class="tborder" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" align="center">
$forumhome_sidecolumn_left
</table>
</td>
<td width="10px"></td>
<td valign="top">

<!-- / peterska2 side column -->

#########################

Edit Two

FIND

$footer

ABOVE ADD

<!-- peterska2 side column -->
</td>
</tr>
</table>
<!-- / peterska2 side column -->
Reply With Quote
  #4  
Old 09-18-2008, 12:50 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

Not familiar with that add-on, but my suggestion would be to surround each template addition you made for that add-on with the template conditional in post two and see if it works.
__________________
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
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
Just index table on the forum page? pingme Geek Article and Review System 3 12-12-2006 04:45 PM
index page EasyTarget Geek Article and Review System 3 09-14-2006 06:26 AM
Latest GARS Threads On FORUMHOME Sidebar? Seiken Geek Article and Review System 0 08-20-2006 10:47 PM
An Index Page mikekey Geek Article and Review System 2 12-27-2005 09:54 AM
index.php page for /gal folder? bob Geek Auto-Linker 1 10-21-2005 05:59 AM


All times are GMT. The time now is 08:10 PM.


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