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
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2006, 11:07 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Question google, html ads

how do I add the google script with GAB 's ?
I just see where we can add banners.. My clients and myself will want both google, and banner ads


thank you
-Brandon
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
Reply With Quote
  #2  
Old 10-04-2006, 09:05 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

admincp->banners->add new

Just make sure the type is set to html
Reply With Quote
  #3  
Old 10-04-2006, 10:00 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

thank you "geek"
I haven't installed this yet, I was just looking it over


woah, I've been a member for almost a year
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
Reply With Quote
  #4  
Old 10-05-2006, 12:06 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

Dont forget the cake
Reply With Quote
  #5  
Old 10-06-2006, 03:09 AM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

it's on the table

btw, can you set my name as "loco" ?

I don't know what I was thinking with those big letters.. lol

thanks
-Brandon
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
Reply With Quote
  #6  
Old 10-06-2006, 07:38 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

okay the geek

I just uploaded the files,, imported the product,, saved the MASTER thing, set up the cron

made a google- banner add, placed my code that was in the banned into the html box

and placed this in my header

$GAB_ads[1]

this is replacing the google ad I did have..

the url is http://forum.vbulletinsetup.com

can you see what I've done wrong ? oh the frequency is set to "mega high"

thank you
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
Reply With Quote
  #7  
Old 10-07-2006, 11:52 PM
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

Best to post your debug in a php block here. The most common problems are: Banners not set to the right type (i.e. an html banner set to an image type), the billboards ad pulling only image ads when you only have html ads, not putting the correct $GAB_ads[x] in a template (the most common is $GAB_ads[0] but this depends on your configuration).

HTHs
Reply With Quote
  #8  
Old 10-11-2006, 03:10 AM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

okay,, here it is.. thanks

PHP Code:
>> START SETTINGS -------

$results = array(
      
'usergroups' => array(
      ),
      
'usergroups_view' => array(
         
'0'            =>'4',
         
'1'            =>'6',
         
'2'            =>'8',
         
'3'            =>'9',
         
'4'            =>'7',
         
'5'            =>'2',
         
'6'            =>'5',
         
'7'            =>'1',
         
'8'            =>'3',
         
'9'            =>'11',
      ),
      
'fieldtotoggle'            =>'1',
      
'field_value_yes'            =>'',
      
'max_width'            =>'',
      
'max_height'            =>'',
      
'server_path_to_banners'            =>'/home/vbull/vbulletinsetup.com/html/forum/geek/gab/images',
      
'media_extensions'            =>'',
      
'url_to_banners'            =>'http://forum.vbulletinsetup.com/geek/gab/images/',
      
'url_advertising'            =>'',
      
'url_turn_off_ads'            =>'',
      
'redirectpage'            =>'gab_redirect.php',
      
'cyclerate'            =>'4300',
      
'persist_throttle'            =>'',
      
'htmltemplates'            =>'',
      
'defaulthtml'            =>'',
      
'blocks' => array(
         
'1' => array(
            
'title'            =>'Default',
            
'wrapper'            =>'1',
            
'method'            =>'1',
            
'ads' => array(
               
'0' => array(
                  
'adtype'            =>'1',
                  
'number'            =>'1',
                  
'cat_option'            =>'1',
                  
'cats'            =>'',
               ),
            ),
         ),
      ),
      
'scripts' => array(
         
'MASTER' => array(
            
'name'            =>'MASTER',
            
'description'            =>'',
            
'usemaster'            =>'0',
            
'blocks' => array(
               
'0'            =>'1',
            ),
         ),
         
'forumdisplay' => array(
            
'name'            =>'forumdisplay',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'showthread' => array(
            
'name'            =>'showthread',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'index' => array(
            
'name'            =>'index',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'editpost' => array(
            
'name'            =>'editpost',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'newthread' => array(
            
'name'            =>'newthread',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'calendar' => array(
            
'name'            =>'calendar',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'online' => array(
            
'name'            =>'online',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'printthread' => array(
            
'name'            =>'printthread',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'profile' => array(
            
'name'            =>'profile',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'search' => array(
            
'name'            =>'search',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'usercp' => array(
            
'name'            =>'usercp',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'adv_index' => array(
            
'name'            =>'adv_index',
            
'description'            =>'',
            
'usemaster'            =>'1',
            
'blocks' => array(
            ),
         ),
         
'THIS_SCRIPT'            =>'',
      ),
      
'frequency' => array(
         
'0' => array(
            
'description'            =>'Low',
            
'value'            =>'1',
         ),
         
'1' => array(
            
'description'            =>'Medium',
            
'value'            =>'2',
         ),
         
'2' => array(
            
'description'            =>'High',
            
'value'            =>'3',
         ),
         
'3' => array(
            
'description'            =>'Mega High',
            
'value'            =>'4',
         ),
      ),
);

>> 
END SETTINGS -------

Categories
>> START CATS -------

$results = array(
         
'1' => array(
            
'id'            =>'1',
            
'title'            =>'Header Banners',
            
'ordinal'            =>'5',
         ),
         
'2' => array(
            
'id'            =>'2',
            
'title'            =>'Sky Scraper',
            
'ordinal'            =>'20',
         ),
         
'3' => array(
            
'id'            =>'3',
            
'title'            =>'Footer Banners',
            
'ordinal'            =>'10',
         ),
         
'4' => array(
            
'id'            =>'4',
            
'title'            =>'Other',
            
'ordinal'            =>'30',
         ),
         
'5' => array(
            
'id'            =>'5',
            
'title'            =>'Unknown items',
            
'ordinal'            =>'1',
         ),
);

>> 
END CATS -------
>> 
START ADS -------

$results = array(
            
'1' => array(
               
'id'            =>'1',
               
'title'            =>'google-banner',
               
'startdate'            =>'0',
               
'enddate'            =>'0',
               
'img'            =>'',
               
'hits'            =>'0',
               
'views'            =>'45',
               
'url'            =>'',
               
'userid'            =>'0',
               
'max_views'            =>'0',
               
'max_hits'            =>'0',
               
'isactive'            =>'1',
               
'height'            =>'0',
               
'width'            =>'0',
               
'frequency'            =>'3',
               
'type'            =>'3',
               
'template'            =>'0',
               
'catid'            =>'1',
               
'trackviews'            =>'1',
               
'trackhits'            =>'1',
               
'scriptoption'            =>'1',
               
'forumoption'            =>'1',
               
'scripts'            =>'',
               
'forums'            =>'',
               
'html'            =>'<script type="text/javascript"><!--
google_ad_client = "pub-9279618852838129";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2006-10-04: vbsetup- banner
google_ad_channel ="8174653465";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>'
,
               
'templatetype'            =>'0',
               
'suspended'            =>'0',
               
'editimage'            =>'0',
               
'editfrequency'            =>'0',
               
'editbanner'            =>'0',
            ),
);

>> 
END ADS -------

Templates with $GAB_ads[xin them:
gab  folder check
GAB directory looks valid 
and I can write to it
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
Reply With Quote
  #9  
Old 10-11-2006, 08:45 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

Looks like you need to edit the default billboard and set the ad to pull HTML/adsense types. Then you need to put $GAB_ads[0] in your templates where you want the ad to appear (i.e. the last line of your navbar template).

HTHs
Reply With Quote
  #10  
Old 10-11-2006, 08:19 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by The Geek
Looks like you need to edit the default billboard and set the ad to pull HTML/adsense types. Then you need to put $GAB_ads[0] in your templates where you want the ad to appear (i.e. the last line of your navbar template).

HTHs
we're getting closer, but it's not showing like I want

If I place gab_adsp[] where the ad is now, it's right in the middle of the navbar..

if I place the gab_ at the end of the navbar template like you suggested, it has a big box around it, and isn't in the top right spot like I'd like..

here are some screen shots



__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.
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
HTML/Adsense & Image ads gldtn Geek Advertising Banner System 1 02-24-2008 07:46 AM
HTML Adsense Ads KenDude Geek Advertising Banner System 6 02-07-2008 09:11 PM
BUG: HTML ads not tracking clicks KenDude Geek Advertising Banner System 3 05-08-2007 08:08 PM
Google Ads Module request for GARS ziG Geek Article and Review System 3 11-16-2006 09:54 AM
HTML banner ads not being tracked kidmercury Geek Advertising Banner System 1 10-05-2006 10:34 PM


All times are GMT. The time now is 12:47 AM.


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