The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2006, 01:21 AM
ziG ziG is offline
Junior Member
 
Join Date: May 2006
Posts: 24
Geek Article and Review System License Holder 
Default Google Ads Module request for GARS

not sure if this is the right place to put this but

I'd like to make a request for someone to put together a GARS module that would fit to the right of the article content, and would just be an area to display a google tower banner /advertisement.
Reply With Quote
  #2  
Old 11-16-2006, 06:44 AM
CallieJo CallieJo is offline
Junior Member
 
Join Date: Feb 2006
Posts: 18
Geek Article and Review System License Holder 
Default

Attached you'll find the one I use. Upload it to your folder here
geek/gars/mods/display

Go into your styles and add a new template called:
GARS_google

Inside that template add your google code. I have mine wrapped in div tags.

Now go into gars and add the new google.php module. Set it to go to the right of your content.

Done
Reply With Quote
  #3  
Old 11-16-2006, 06:45 AM
CallieJo CallieJo is offline
Junior Member
 
Join Date: Feb 2006
Posts: 18
Geek Article and Review System License Holder 
Default

It didn't attach...sorry.
Open notepad and copy and paste the follwowing:
PHP Code:
<?PHP
if ($stage == "display")
{
eval(
'$output.="' fetch_template('GARS_google') . '";');
}
elseif(
$stage == "settings")
{
print_description_row("This module will display Google Adsense");
}
Save it as google.php and then upload it as explained above.

Oh and be sure you tell the new module to use the GARS_google template you created....sorry for not saying that.

Good luck
Reply With Quote
  #4  
Old 11-16-2006, 09:54 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

Here is another option... http://www.thevbgeek.com/showthread.php?t=2055 it is a GARS module that allows you to display any templates you want so you can reuse it.

HTHs
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
[mod request paid] AJAX GARS Custom fields Multi filter module Nzo Geek Article and Review System 0 11-03-2008 03:24 PM
GAB ads in GARS template-module? pixie Geek Advertising Banner System 3 02-24-2008 02:04 PM
GARs + vBGallery module request ziG Geek Article and Review System 0 11-10-2007 10:50 PM
google, html ads Loco Geek Advertising Banner System 30 11-18-2006 09:50 AM
Google Module greg watson Geek Article and Review System 19 02-12-2006 05:51 AM


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


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