Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek Advertising Banner system RC1 Details »»
Geek Advertising Banner system RC1
Version: 1.00, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-10-2005 Last Update: Never Installs: 118
Is in Beta Stage  
No support by the author.

HowdA All.

From the makers of Hydrogen comes the latest mack - GAB (Geek Advertising Banners).

This has come about by needing an advertising system that no other hack seemed to totally fulfill. Personally - I really didnt want to burden myself with supporting another hack - but I felt it was significantly better than other hack systems out there so I thought many would be able to benefit from it.

Whats so freaking cool about it?

1- use flash, normal, text based (google adsense) or rotating banners
2- Decide which scripts run the banners
3- Define which forums run the banners
4- define which usergroups can turn off the banners
5- Make ads stop at x amount of hits
6- Make ads stop at x amount of views
7- Make ads start/stop at certain times
8- track views and/or hits
9- Wipes your bum

Why am I releasing this now? It seems to be hip and trendy to release Banner hacks. In all reality - this has been a very long work in progress that is finally rounding the finsihing stages. The current RC pacakge is considered complete except for the show stats segment (its recording stats, but you cant browse them easily yet).

LIke with any hack (especially a Beta) back up you DB and files needing change (global.php,admincp/index.php).

Known issues:
  • Flash ads can not appear on same page as a rotating banner ad.
  • After installing for the first time, you will most likely need to edit a phrase (any phrase) and click save to rebuild phrases
  • Flash banners hide drop down menus!!! Be careful where you put them or dont use them!
Basic install instructions:
  • Upload all files to relevant locations
  • chmod the gab and gish folders to 777 (or change the owner of the folders to whatever account your PHP process runs under).
  • Run the gab_install.php file in your admincp folder.
  • Follow the steps.
  • On the file changes - pay close attention to see if certain changes couldnt be made. If any changes could not be made, you need to manually make those changes.
  • When complete, move changed files from gish/gab/rc1.0 to their respective locations
  • Ad a new cron job to run daily (file: GAB_cron_daily.php)
  • Edit each gab category to include the forums you want the ads to appear in.
  • Ad $GAB_ads[x] to your templates where ever you want ads to appear (x represents the ad number depending on how many ads are set to run on that script. $GAB_ads[0] is the first ad block, $GAB_ads[1] would be the second, etc...)
  • Read The Freaking README!!!!!!!
Quick Upgrade instructions

For users of GAB Beta 2, uninstall it and then install this version. In all reality, you could just revert the file changes and delete the GAB_ tables from yur DB (heck, you dont even need to do that).

To upgrade from RC1.5 to RC1.6, just replace existing files with the latest from the downloaded package and run the template portion of the installer (you can skip the rest of the install steps). You may have to revert your GUSH_main and GUSH_ad_row

Donations

I have never asked for donations for any of the macks I have done - however since I have spent well over 60 hours coding this - I thought I would stick my neck out there. If you like my mack, it brings you some money and you want to keep my fridge stocked with beer and Cheetos, then feel free to drop some cash in my paypal account: geek@thenailgeek.com
If youre having difficulty keeping beer in the fridge yourself - fill yours before you fill mine.
If you think the mack sucks, or youre just a tight git then please dont bother

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #482  
Old 07-06-2005, 09:30 PM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok.. only problem I'm having now is I cannot save any scripts (ad blocks). everything else is working.

once the scripts work the images should show up on my site

ooh, and on the stats it just gives an error 'select a valid date range'
Reply With Quote
  #483  
Old 07-06-2005, 11:37 PM
beatyourtruck's Avatar
beatyourtruck beatyourtruck is offline
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
There are no stupid questions. Theres just eggplant. Now thats stupid.....
Eggplant sucks....well said

Nice formatting on the new Readme. The upgrade went very smoothly! No probs to report...good instructions. But I still have no banners :nervous: I AM SO CLOSE I CAN TASTE IT!! I must have something goofed? One thing I did notice that seemed strange was the "Master" only shows one banner (should be 2) and the "active" and "use master" fields are listed as "n/a".....I could not see how to activate the "master"?

Here is the debug info (yet another nice touch!):

PHP Code:
Geek Advertising Banner System
Settings
RC1.0
=RC1.0
/home/httpd/vhosts/beatyourtruck.com/httpdocs/forum/gab/=/home/httpd/vhosts/beatyourtruck.com/httpdocs/forum/gab/
../
gab/=../gab/
server_path_to_banners=/home/httpd/vhosts/beatyourtruck.com/httpdocs/forum/gab
url_to_banners
=gab/
cyclerate=4300
redirectpage
=advertising.php
persist_throttle
=3
usergroups
=
fieldtotoggle=1
field_value_yes
=
usergroups_view=4,6,8,7,5,2,1,3,
max_width=
max_height=
media_extensions=
url_advertising=
url_turn_off_ads=

frequency:
0=Low 1
1
=Regular 2
2
=High 3
3
=Mega Striesand High 4

Templates
:
0=Image item GAB_item_image
1
=Flash item GAB_item_flash
2
=Adsense item GAB_custom_adsense
3
=Custom item GAB_custom_custom1
4
=Standard Wrapper GAB_wrapper_standard

Scripts
MASTER 
'usemaster'='isactive'=1 ads=1
      1 
'type'='bannercount''template'='customtemplate'=
showthread 'usemaster'='isactive'=1 ads=0
forumdisplay 
'usemaster'='isactive'=1 ads=0
forumhome 
'usemaster'='isactive'=1 ads=0
search 
'usemaster'='isactive'=1 ads=0
faq 
'usemaster'='isactive'=1 ads=0
private 'usemaster'='isactive'=1 ads=0
usercp 
'usemaster'='isactive'=1 ads=0
index 
'usemaster'='isactive'=1 ads=0

Categories
'title'=Images no tracking 'track_views'='track_hits'='template'='ordinal'='isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Flash no tracking 'track_views'='track_hits'='template'='ordinal'=20 'isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=General RC Stuff FFRC 'track_views'='track_hits'='template'='ordinal'=10 'isactive'='forums'=,1,2,5,6'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,index,
'title'=Flash tracking 'track_views'='track_hits'='template'='ordinal'=30 'isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Unknown items 'track_views'='track_hits'='template'='ordinal'='isactive'='forums''scripts'=
'title'=RC Monster Trucks 'track_views'='track_hits'='template'='ordinal'=10 'isactive'='forums'=,7,8,10'scripts'=,showthread,forumdisplay,forumhome,
'title'=GARC forum banner 'track_views'='track_hits'='template'='ordinal'='isactive'='forums'=,7,8,10'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,index,

Banners
'title'=BYT decal and t-shirt ad 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/byt-decalandshirtbannerad.gif 'max_views'='max_hits'='isactive'='frequency'='template'='catid'=3
'title'=FullForce RC forum banner ad 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/ffrcrc18t.gif 'max_views'='max_hits'='isactive'='frequency'='template'='catid'=3
'title'=GARC forum banner 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/garcbanner.gif 'max_views'='max_hits'='isactive'='frequency'='template'='catid'=6
'title'=AJS Machine Banner 'startdate'=12.31.69 'enddate'=11.30.09 'img''max_views'='max_hits'='isactive'='frequency'='template'='catid'=3
'title'=GARC forum banner 'startdate'=12.31.69 'enddate'=11.30.09 'img'=0/2garcbanner.gif 'max_views'='max_hits'='isactive'='frequency'='template'='catid'=7

Listings
2 faq 
(0) - 0
2 faq 
(0) - 0
2 faq 
(0) - 0
2 faq 
(0) - 0
2 forumdisplay 
(1) - 0
2 forumdisplay 
(2) - 0
2 forumdisplay 
(5) - 0
2 forumdisplay 
(6) - 0
2 forumdisplay 
(1) - 0
2 forumdisplay 
(2) - 0
2 forumdisplay 
(5) - 0
2 forumdisplay 
(6) - 0
2 forumdisplay 
(1) - 0
2 forumdisplay 
(2) - 0
2 forumdisplay 
(5) - 0
2 forumdisplay 
(6) - 0
2 forumdisplay 
(1) - 0
2 forumdisplay 
(2) - 0
2 forumdisplay 
(5) - 0
2 forumdisplay 
(6) - 0
2 forumhome 
(0) - 0
2 forumhome 
(0) - 0
2 forumhome 
(0) - 0
2 forumhome 
(0) - 0
2 index 
(0) - 0
2 index 
(0) - 0
2 index 
(0) - 0
2 index 
(0) - 0
private (0) - 0
private (0) - 0
private (0) - 0
private (0) - 0
2 search 
(0) - 0
2 search 
(0) - 0
2 search 
(0) - 0
2 search 
(0) - 0
2 showthread 
(1) - 0
2 showthread 
(2) - 0
2 showthread 
(5) - 0
2 showthread 
(6) - 0
2 showthread 
(1) - 0
2 showthread 
(2) - 0
2 showthread 
(5) - 0
2 showthread 
(6) - 0
2 showthread 
(1) - 0
2 showthread 
(2) - 0
2 showthread 
(5) - 0
2 showthread 
(6) - 0
2 showthread 
(1) - 0
2 showthread 
(2) - 0
2 showthread 
(5) - 0
2 showthread 
(6) - 0
2 usercp 
(0) - 0
2 usercp 
(0) - 0
2 usercp 
(0) - 0
2 usercp 
(0) - 0
5 faq 
(0) - 0
5 faq 
(0) - 0
5 faq 
(0) - 0
5 forumdisplay 
(10) - 0
5 forumdisplay 
(8) - 0
5 forumdisplay 
(7) - 0
5 forumdisplay 
(10) - 0
5 forumdisplay 
(8) - 0
5 forumdisplay 
(7) - 0
5 forumdisplay 
(10) - 0
5 forumdisplay 
(8) - 0
5 forumdisplay 
(7) - 0
5 forumhome 
(0) - 0
5 forumhome 
(0) - 0
5 forumhome 
(0) - 0
5 index 
(0) - 0
5 index 
(0) - 0
5 index 
(0) - 0
private (0) - 0
private (0) - 0
private (0) - 0
5 search 
(0) - 0
5 search 
(0) - 0
5 search 
(0) - 0
5 showthread 
(10) - 0
5 showthread 
(8) - 0
5 showthread 
(7) - 0
5 showthread 
(10) - 0
5 showthread 
(8) - 0
5 showthread 
(7) - 0
5 showthread 
(10) - 0
5 showthread 
(8) - 0
5 showthread 
(7) - 0
5 usercp 
(0) - 0
5 usercp 
(0) - 0
5 usercp 
(0) - 0

Templates with $GAB_ads
[xin them:
Styleid 2 Title navbar contains $GAB_ads[2]
Styleid 2 Title navbar contains $GAB_ads[5]

vBulletin v3.0.7Copyright ?2000-2005Jelsoft Enterprises Ltd
Thanks in advance for your assistance The Geek!
Reply With Quote
  #484  
Old 07-07-2005, 12:27 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha, here's my debug if it helps.
PHP Code:
Settings
Beta 2.0
=Beta 2.0
$text
=$text
other_scripts
=
scripts=iAdex,showthread,forumdisplay,forumhome,
forumids=25,26,106,1,2,3,4,5,6,81,90,11,12,103,13,8,9,99,14,15,16,17,98,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,88,23,27,28,77,24,
usergroups=
fieldtotoggle=1
number_of_ads
=1
save_shown
=
save_click=1
field_value_yes
=
track_runtime_views=0
usergroups_view
=4,6,26,28,27,8,29,23,22,19,2,5,1,7,3,21,24,25,
js_banner_count=0
RC1.0
=RC1.0
/home/sites/xnet/htdocs/forum/gab/=/home/sites/xnet/htdocs/forum/gab/
../
gab/=../gab/
server_path_to_banners=/home/sites/xnet/htdocs/forum/gab/
url_to_banners=gab/
cyclerate=4300
redirectpage
=advertising.php
persist_throttle
=3
max_width
=
max_height=
media_extensions=
url_advertising=http://xnet/forum/showthread.php?p=34558
url_turn_off_ads=http://xnet/forum/showthread.php?t=300

frequency:
0=Low 1
1
=Regular 2
2
=High 3
3
=Mega Striesand High 4

Templates
:
0=Image item GAB_item_image
1
=Flash item GAB_item_flash
2
=Adsense item GAB_custom_adsense
3
=Custom item GAB_custom_custom1
4
=Standard Wrapper GAB_wrapper_standard

Scripts

Warning
Invalid argument supplied for foreach() in /aDm1NPanel/GAB_admin.php on line 1283

Categories
'title'=Images no tracking 'track_views'='track_hits'='template'='ordinal'='isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Flash no tracking 'track_views'='track_hits'='template'='ordinal'=20 'isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Images tracking 'track_views'='track_hits'='template'='ordinal'=10 'isactive'='forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,111,12,103,13,8,9,107,98,108,99,14,15,16,17,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,23,27,28,77,24'scripts'=,
'title'=Flash tracking 'track_views'='track_hits'='template'='ordinal'=30 'isactive'='forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,111,12,103,13,8,9,107,98,108,99,14,15,16,17,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,23,27,28,77,24'scripts'=,
'title'=Unknown items 'track_views'='track_hits'='template'='ordinal'='isactive'='forums''scripts'=

Banners
'title'=Test1 'startdate'=01.01.70 'enddate'=01.01.70 'img''max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3
'title'=Test2 'startdate'=12.31.69 'enddate'=05.29.10 'img'=0/bannerfinal.gif 'max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3
'title'=Test3 'startdate'=02.01.04 'enddate'=04.01.09 'img'=0/2bannerfinal.gif 'max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3

Listings

Templates with $GAB_ads
[xin them:
Styleid 1 Title navbar contains $GAB_ads[0]
Styleid 1 Title SHOWTHREAD contains $GAB_ads[0]
Styleid 17 Title navbar contains $GAB_ads[0]
Styleid 17 Title SHOWTHREAD contains $GAB_ads[1
Reply With Quote
  #485  
Old 07-07-2005, 06:22 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beat - Ive noticed a couple of things from the debug.
Under the master script (edit the master script)... the Defined ad block has nothing for its banner count. That needs to be at least 1 or no images will get pulled.
Some of your banners are in inactive categories which means they wont appear in the Display page. (They just kind of disapear is the category is blank)
Finally, in your navbar template, you appear to have $GAB_ads[2] and $GAB_ads[5]... but no $GAB_ads[0] and up

The first ad output is always $GAB_ads[0], the next $GAB_ads[1], etc...

HTH's
Reply With Quote
  #486  
Old 07-07-2005, 06:25 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corollasbest
haha, here's my debug if it helps.
PHP Code:
Settings
Beta 2.0
=Beta 2.0
$text
=$text
other_scripts
=
scripts=iAdex,showthread,forumdisplay,forumhome,
forumids=25,26,106,1,2,3,4,5,6,81,90,11,12,103,13,8,9,99,14,15,16,17,98,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,88,23,27,28,77,24,
usergroups=
fieldtotoggle=1
number_of_ads
=1
save_shown
=
save_click=1
field_value_yes
=
track_runtime_views=0
usergroups_view
=4,6,26,28,27,8,29,23,22,19,2,5,1,7,3,21,24,25,
js_banner_count=0
RC1.0
=RC1.0
/home/sites/xnet/htdocs/forum/gab/=/home/sites/xnet/htdocs/forum/gab/
../
gab/=../gab/
server_path_to_banners=/home/sites/xnet/htdocs/forum/gab/
url_to_banners=gab/
cyclerate=4300
redirectpage
=advertising.php
persist_throttle
=3
max_width
=
max_height=
media_extensions=
url_advertising=http://xnet/forum/showthread.php?p=34558
url_turn_off_ads=http://xnet/forum/showthread.php?t=300

frequency:
0=Low 1
1
=Regular 2
2
=High 3
3
=Mega Striesand High 4

Templates
:
0=Image item GAB_item_image
1
=Flash item GAB_item_flash
2
=Adsense item GAB_custom_adsense
3
=Custom item GAB_custom_custom1
4
=Standard Wrapper GAB_wrapper_standard

Scripts

Warning
Invalid argument supplied for foreach() in /aDm1NPanel/GAB_admin.php on line 1283

Categories
'title'=Images no tracking 'track_views'='track_hits'='template'='ordinal'='isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Flash no tracking 'track_views'='track_hits'='template'='ordinal'=20 'isactive'='forums'=,1,2'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
'title'=Images tracking 'track_views'='track_hits'='template'='ordinal'=10 'isactive'='forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,111,12,103,13,8,9,107,98,108,99,14,15,16,17,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,23,27,28,77,24'scripts'=,
'title'=Flash tracking 'track_views'='track_hits'='template'='ordinal'=30 'isactive'='forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,111,12,103,13,8,9,107,98,108,99,14,15,16,17,91,101,18,19,20,21,105,29,30,38,39,31,40,42,43,44,32,36,35,37,33,34,87,23,27,28,77,24'scripts'=,
'title'=Unknown items 'track_views'='track_hits'='template'='ordinal'='isactive'='forums''scripts'=

Banners
'title'=Test1 'startdate'=01.01.70 'enddate'=01.01.70 'img''max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3
'title'=Test2 'startdate'=12.31.69 'enddate'=05.29.10 'img'=0/bannerfinal.gif 'max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3
'title'=Test3 'startdate'=02.01.04 'enddate'=04.01.09 'img'=0/2bannerfinal.gif 'max_views'='max_hits'=50 'isactive'='frequency'='template'='catid'=3

Listings

Templates with $GAB_ads
[xin them:
Styleid 1 Title navbar contains $GAB_ads[0]
Styleid 1 Title SHOWTHREAD contains $GAB_ads[0]
Styleid 17 Title navbar contains $GAB_ads[0]
Styleid 17 Title SHOWTHREAD contains $GAB_ads[1
Your scripts dont seem to exists coroll.

Try running the settings portion of the install. Actually, it looks like you had the old beta installed maybe? Before you do that though, delete GAB_settings from the datastore if you can to get rid of any old settings.

HTH#s
Reply With Quote
  #487  
Old 07-07-2005, 02:43 PM
nabis nabis is offline
 
Join Date: Jul 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything seems to work just as described, except one minor detail. Hanif brought this up a few pages ago, and I have had the same problem. You suggested to re-install the newest version, but I think the issue is with me not understanding, not the hack.

The "want to advertise with us?" link goes to advertise.php (which is just a blank white screen when clicked). I already have an info page for advertising, and would like it to link there (vendor.html). In the GAB Manager/Settings/Options, I'm confused at what to do. The way that it sits in the settings below, doesn't do anything different. I've also tried a simple redirect of advertising.php to vendor.html, but that doesn't work, because then it interferes with the actual banner itself.
Reply With Quote
  #488  
Old 07-07-2005, 03:25 PM
mamboking mamboking is offline
 
Join Date: Sep 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After a week and a half and 3 revisions I am certain this doesn't work on my forum. I am pretty sure, at least for me, the problem starts with the upoad.

I had much better results with Beta 2. Images uploaded, tested and viewed in my forums. So I'm pretty sure I am capable of following the instructions. Even when I get this working, I still don't understand how to go about setting up multiple rotating banner zones. From want I gathered it seems more like it is designed to do only single banners and maybe one rotating banner. I have asked this question 2 or 3 times already and have not recieved a reply. If it's gone going to accomidate multiple rotating banners I would rather know sooner than later.

One point I would like to share in case some of are making the same mistake. When I read the instruction, I thought the [] were just for reference purposes only and didn't use them in my template because in previous purposes they were not used.

Is there anyone who has the RC1 working?
Reply With Quote
  #489  
Old 07-07-2005, 04:03 PM
mkdevo mkdevo is offline
 
Join Date: May 2004
Location: CT, USA
Posts: 269
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there's something i may not be fully understanding..

i want to have my ads appear in only one section on each page (i've placed them right below the navbar). however, i different ads to show up (rotate) in this position.. so i want to see AdSense ads, then reload and see an image ad, etc.. is this possible?? i can't seem to get more than one type of ad to show up in the same position..

also, i'm having the same problem with the 'want to advertise with us?' link - takes me to a blank page that says 'Settings & Options'. i also end up in the same spot when i click on 'Stats' in my admincp...
Reply With Quote
  #490  
Old 07-07-2005, 04:31 PM
dennisuello dennisuello is offline
 
Join Date: Mar 2005
Location: Reno, Nevada
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mkdevo
also, i'm having the same problem with the 'want to advertise with us?' link - takes me to a blank page that says 'Settings & Options'. i also end up in the same spot when i click on 'Stats' in my admincp...

me too
Reply With Quote
  #491  
Old 07-07-2005, 04:43 PM
dennisuello dennisuello is offline
 
Join Date: Mar 2005
Location: Reno, Nevada
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i accedentally deleted ad script for forum home page, now I have no ad on the main froum page. how do I recreate it?

I also have a home page that's created using VBadvanced CMPS, can I add a banner to it as well?
Reply With Quote
  #492  
Old 07-07-2005, 04:55 PM
beatyourtruck's Avatar
beatyourtruck beatyourtruck is offline
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek

Under the master script (edit the master script)... the Defined ad block has nothing for its banner count. That needs to be at least 1 or no images will get pulled.
Some of your banners are in inactive categories which means they wont appear in the Display page. (They just kind of disapear is the category is blank)
Finally, in your navbar template, you appear to have $GAB_ads[2] and $GAB_ads[5]... but no $GAB_ads[0] and up

The first ad output is always $GAB_ads[0], the next $GAB_ads[1], etc...

HTH's
First thing....I changed the $GAB_ads and everything is working! Thank you for your help and patience!

Re: $GAB - I did not realize that the number had to start with 0 and then progress from there. I thought it just needed to match the desired banner ID. By this, I assume the banner ID is just for my benefit and has no bearing on the display?

Re: Inactive categories. I was only tryiong to use two to get things started....I will get the rest going now.

Re: master script - I am confused bvy your commets but hey, it is working so...... (if it ain't broke...).

THANK YOU AGAIN FOR YOUR HELP!
Reply With Quote
  #493  
Old 07-07-2005, 06:35 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think there is a bug with the GAB_wrapper_standard template (I cant tell as Im in a hotel) in that the advertising.php link is hard coded so it isnt carrying your setting into it.

To fix until I get back, just edit your template... its not very big.

Mambo - I have helped at every opportunity. Im sorry its not working for you, however its working for loads. I think that the problem is two fold. 1 is that you didnt get a clean uninstall from Beta 2 and the other simply lies in the complexity of the system. If you want to PM me an admin account, ill og in and check it out for you. Most problems people have had is jsut with configuring it.

As for rotating banners... it does do them without a problem. In the Ad Blocks section, go into the script (or Master script) you want the ad to appear in and either add an ad block or edit an existing one.
Make the first drop down menu be a rotating banner, the second setting the amount of images to rotate (i.e. 3) and the wrapper template the standard (leave the custom drop down empty).

If its the first block for that script, it will spit out as $GAB_ads[0], if its the second, it will spit out as $GAB_ads[1], etc...

As far as a random type of ad (i.e. random between a static ad and adsense between page refreshes)... I considered this but then assumed no one would really want something like that. COnsidering the system can be pretty complex, I didnt want to add even more options to confuse new users.

I am working on the stats system AND refining the system to make it a little more intutitive. Once its set up, its pretty obvious how everything works... however with great power comes the potential for great confusion

As far as the Master script goes... its pretty simple.

I had two options when defining differing blocks depending on the page. The easiest from my end would have been to make you define ad blocks on a script level (set up an ad block per page e.g. showthread, forumdisplay, etc...). Since I thought most people would use the same ad setup on all their pages, I added a 'Master Script' page.
THis way you only have to set up your ad blocks in one section and all the other pages that had 'use master' ticked would 'inherit' their ad blocks from whatever you had set up in master.
This saves having to define an ad block per page...

See. Even there I think Im potentially confusing some... however its pretty simple. Maybe I need another way of saying it
Reply With Quote
  #494  
Old 07-07-2005, 09:55 PM
[email protected] vbmenu_register("postmenu_732327", true);
Guest
 
Posts: n/a
Default

I can't say I totally understand it the entire system, but I did hack the template code to change it from referring to the advertising.php tag, instead just going to my buy an ad page.

I don't totally understand the clicks/view tracking (it doesn't appear to work) but I am to get banners up and display them at least, so that's major progress — and vastly better than what I could do with other packages.

I also know it's not totally finished and look forward to seeing the final product (and will be pushing a donation your way, in part for the software, in part for the excellent support).

Thanks for the work — it makes a big difference to a lot of us.
Reply With Quote
  #495  
Old 07-07-2005, 11:43 PM
carvster carvster is offline
 
Join Date: Apr 2005
Location: DFW, TX
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I've been waiting for this since you mentioned it some time ago. Thanks for the work you've put in!

I haven't had an opportunity to install this in my test forum yet, but given the impending upgrade to vBulletin 3.5, how will that impact this hack?
Reply With Quote
  #496  
Old 07-08-2005, 07:21 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Half the reason for the rewrite is to make it 3.0x compatable and 3.5 compatable. Its not quite 3.5 ready yet - however on the train yesterday I just about got it there.
THat means that when its done, you will have an option to install a clean version for 3.0x or 3.5x. You will also have an option to upgrade from an already installed 3.0x to 3.5 with minimal (if any) effort.

The tracking is working - though the stats viewer is not yet finished. Make sure you installed the cron job to unpack and compress defered stat queries. If you have rc1.5 installed, you can see the crude, unfinished stat viewer to verify.

Cheers all.
Reply With Quote
Reply


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


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07622 seconds
  • Memory Usage 2,599KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (15)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete