PDA

View Full Version : Geek Advertising Banner system RC1


Pages : [1] 2 3

The Geek
04-10-2005, 10:00 PM
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

The Geek
04-11-2005, 09:34 PM
Discsussions for RC1 start here-:

https://vborg.vbsupport.ru/showthread.php?p=727952&pp=15

Info on setting up ads.

Its become apparent that the readme isnt clear enough on how to create ad blocks, so until I update it - here is some extra info :)

Ad blocks are blocks that contain 1 or more ads (either images side by side, rotating, or static.) Essentailly an ad block is whatever comes out in the Standard Wrapper (the block that says 'Please visit our sponsor' at the top).

You define the ad blocks in the Scripts section.

Unless you want different configurations on different pages, use the Master script to define your ad blocks.

Edit the Master script by clicking on its link in the admincp.
There you will see 1 ad block (installed by default).
If you want additional ads, click the 'add new' button whilst editing the script and another ad block will appear for configuring.

In your templates, each ad block will appear as $GAB_ads[x] where x=the ad block (starting at 0). In other words, the first block in the page appears as $GAB_ads[0], the second $GAB_ads[1], etc...

Its pretty simple really ;)

AN-net
04-11-2005, 10:55 PM
geez everyone has a banner system>_>

KTBleeding
04-11-2005, 11:40 PM
Yeah, but do any of the others wipe your bum? Didn't think so!

No, in all seriousness.. if I were to ever implement a banner system, I'd go with Geek's. He offers such good support on his hacks it's hard not to turn them down. Even if you have no use for them.

nexialys
04-11-2005, 11:44 PM
/me give complete support to Geek on this one... he can even take everything from my other hacks and integrate to his needs... as i'm not giving more support after my own license is ended...

good luck on this one, it's promissing!

Koutaru
04-12-2005, 12:13 AM
Looking forward to this one.. screenshots? :p

jugo
04-12-2005, 01:11 AM
Finally, my vB wipes my BUM (with the help of a hck) Now I can die a hapy man.

Looking forward to the finished masterpiece.

lasto
04-12-2005, 01:33 AM
reading the install file u forgot to say what is the first file to edit ?

Lizard King
04-12-2005, 03:28 AM
reading the install file u forgot to say what is the first file to edit ?
I believe you need to edit global.php

007
04-12-2005, 05:55 AM
Any screenshots of the admin panels?? Please!! :)

The Geek
04-12-2005, 06:16 AM
just added ;)

The file edits are in global.php (sorry ;) )

Personally - I think the community would benefit by all the banner hack writers getting together and teaming up to build one. No sense in having 50 different banner hacks that are all slightly different enough to confuse the hell out of people.

The only reason I released this was because I needed one and I couldnt get the functionality I needed from existing hacks. All my hacks are stuff I use on my site because I have a need for them and cant find it somewhere else. Though I will totally support this - it would be nice if some decent coders and other banner writers want to team up and see what happens ;)

nJoy

Lizard King
04-12-2005, 06:41 AM
Is statistics avaible for anyone to see ? Also can we make this like only unregistered users or some usergroups can see the banners ?
Geek it looks like you did a very good job again.

The Geek
04-12-2005, 07:11 AM
Thanks Lizard.

Yes you can make so only unregistered view. You would just need to add a new profile field (a use a radio button) and set a default. Then put that default in the usergroup section of your GAB settings. I guess I can also add a mechanism whereby it simplifies that process though - wouldnt be hard.

I am bustnig butt on this hack as I need to go live with a full advertising system on my site by the end of this week. That will include:
1- Users able to create their own ads by 'purchasing' from admin designed packages.
2- Users able to manage their own ads (upload new, view reports on frequency of hits, views, etc..)
3- Users able to purchase packages via paypal.

I may not get the full user management side done this week (doubt I will). But that is where I am going with it. I just need to make sure everything else is working well.

reteep
04-12-2005, 09:11 AM
Sounds very cool.

But if I click on a banner I get:


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /*/vb/global.php on line 13

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /*/vb/global.php on line 14


PHP5 Problem?

reteep
04-12-2005, 09:33 AM
Ok I added:


// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();


in GAB_redirect.php
Now a new window is being opened but the site cannot be displayed. Although the array.merge error is gone..

The Geek
04-12-2005, 09:33 AM
Try the new package (overwrite all files).. not sure if that will help as I cant reproduce it.

New package addresses:

fixed minor typo in README (didnt say which file to edit)
Put some info on how the banners are pulled in README
Added settings for which usergroups see ad
removed extra isactive setting
Fixed flash banners not appearing
Added new setting for #of ads in rotating banner
Flash ads now appear when editing ads
To update from 1.00 just overwrite GAB_admin.php, GAB_redirect and functions_gab.php

The Geek
04-12-2005, 09:37 AM
Ok I added:


// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();


in GAB_redirect.php
Now a new window is being opened but the site cannot be displayed. Although the array.merge error is gone..
Cool. I addded a couple of those arrays to GAB_redirect in the 1.01 package, but not action templates or globaltemplates.
Ill put those in 1.02 (though I dont think they are really needed).
Make sure that the URL in the ad is valid and that it doesnt start with http://
In 1.02 ill make it so it will have to have http:// to work though.

reteep
04-12-2005, 10:01 AM
Works perfectly on PHP5 now, thanks! Very good work :)
I'll continue testing..

nexialys
04-12-2005, 10:13 AM
Personally - I think the community would benefit by all the banner hack writers getting together and teaming up to build one. No sense in having 50 different banner hacks that are all slightly different enough to confuse the hell out of people.
That's exactly why i suggest you to merge my own banner/sponsors hacks... you have my full permission, and my welcome on this... i may provide some support here and there, but as i quit the community in less than 2 months, i will not "support" the script by myself!

reteep
04-12-2005, 10:28 AM
More Feedback:

Somewhere there's a bug in rage. I'm not sure if it's a problem of PHP5. As soon as I made the modifications to global.php the "Write a PM" Site is bogus.

On the top of the "Write a PM Page" it says:

Warning: Invalid argument supplied for foreach() in /includes/functions_editor.php on line 443


And most phrases are empty. Additionaly the quick reply box is screwed, directly after the global.php changes. When reverting globa.php changes everything is fine..

nexialys
04-12-2005, 10:46 AM
problem with your modification of phrasecalls, make it like this one and everything will be ok:
put this on top of global.php...if(!is_array($globaltemplates)) $globaltemplates = array();
if(!is_array($phrasegroups)) $phrasegroups = array();
if(!is_array($specialtemplates)) $specialtemplates = array();
if(!is_array($actiontemplates)) $actiontemplates = array();

The Geek
04-12-2005, 10:50 AM
wow - thats a trip!

Cant reproduce. What page do you get that error on (i.e. private.php?do=newpm)? Im running PHP4x and I didnt get the error before - looks like PHP5 is more serious about these things. However, I am not sure what would cause an emptying of the bbcode cache?

The Geek
04-12-2005, 10:53 AM
Cheers Nexialys. So you are suggesting to put that above the global.php modifiaction?

BTW - kind offer re: your hacks. Ill take a closer look at them and see what we can do. Its a real shame you are oging to bail in a few months. Your a bit handy round these parts ;)

nexialys
04-12-2005, 11:00 AM
the fix i suggest on top of global.php is for any hack... i found it easier to deal with this once and for all... when you have this installed, you can forget the missing arrays..

btw, thanks for the comment... i may be useful, but i'm more useful here at home, a baby will come in a week or two, and i'm the one in charge... ;)

danhaga
04-12-2005, 12:20 PM
Im installing now... when I click on any of the GAB buttons on the admin page I get a blank screen..

Im at this step:

"GO TO YOUR GAB SETTINGS IN YOUR ADMINCP

-----------------------------------------
Create the following tempaltes:
-----------------------------------------
name: GAB_ad
-----------------------------------------
<div align="center">
<table border="0" cellspacing="0" cellpadding="4" class="tborder" colspan="2" width="100%">
<tr>
<td align="ce"

I cant create the templates because im just getting blank screens, please help

thanks

The Geek
04-12-2005, 12:23 PM
Im installing now... when I click on any of the GAB buttons on the admin page I get a blank screen..

Im at this step:

"GO TO YOUR GAB SETTINGS IN YOUR ADMINCP

-----------------------------------------
Create the following tempaltes:
-----------------------------------------
name: GAB_ad
-----------------------------------------
<div align="center">
<table border="0" cellspacing="0" cellpadding="4" class="tborder" colspan="2" width="100%">
<tr>
<td align="ce"

I cant create the templates because im just getting blank screens, please help

thanks
Have you uploaded all files to the correct locations and correctly modified your global.php file?
Are all pages (excluding GAB) coming up blank?

danhaga
04-12-2005, 12:58 PM
Its only the gab stuff coming up blank...

I checked the files and I think i did it right.

do the gab folder and gab_redirect.php get uploaded to the main forum folder? I did that also

The Geek
04-12-2005, 01:03 PM
Its only the gab stuff coming up blank...

I checked the files and I think i did it right.

do the gab folder and gab_redirect.php get uploaded to the main forum folder? I did that also
yes, they do.

Make sure that there are no spaces at the end of the GAB_admin.php file (after the last ?> )

danhaga
04-12-2005, 01:05 PM
dont see any spaces

danhaga
04-12-2005, 01:09 PM
In the attached image you can see what im talkin about. If i move the mouse over the buttons i can see the link in the lower left corner of browser... i click it, the screen goes white and it says done...

The Geek
04-12-2005, 01:32 PM
You wont see any spaces as they are invisible :)

Just edit the GAB_admin.php and try to highlight anything after ?>

Chances are that you will grab some space. Delete it. This is most likely the culprit and rare occurence when uploading php files.

danhaga
04-12-2005, 02:01 PM
there is nothing after it

The Geek
04-12-2005, 02:05 PM
there is nothing after it
Try redownloading the package and re-upload the GAB_admin.php

danhaga
04-12-2005, 02:08 PM
redownloading and using the new file did not work, any other ideas?

The Geek
04-12-2005, 03:17 PM
redownloading and using the new file did not work, any other ideas?
got me mate. That does the trick 99% of the time with file uploads.
Can you browse to the page direct? http://www.YOURSITE.com/forum/admincp/GAB_admin.php

KTBleeding
04-12-2005, 03:31 PM
If the page is blank doesn't that mean the templates weren't installed correctly?

The Geek
04-12-2005, 03:33 PM
If the page is blank doesn't that mean the templates weren't installed correctly?
Usually - but no templates are used in an admnicp panel. At least none that this hack uses.

danhaga
04-12-2005, 03:39 PM
got me mate. That does the trick 99% of the time with file uploads.
Can you browse to the page direct? http://www.YOURSITE.com/forum/admincp/GAB_admin.php

When I do that I get a white screen... no errors

It does ask me for login/password before it goes white

The Geek
04-12-2005, 03:54 PM
When I do that I get a white screen... no errors

It does ask me for login/password before it goes white
? this is getting stranger by the minute ?

All of your other admincp page are cool?

danhaga
04-12-2005, 03:59 PM
? this is getting stranger by the minute ?

All of your other admincp page are cool?

yup... everything else on the entire forum... regular and admin is fine

Eternal2u
04-12-2005, 05:48 PM
this is very nicely done..

i made my own banner rotation system, thinking about removing it and adding yours tho..lol saddness..

Snow
04-12-2005, 07:40 PM
:banana: :banana: Another great hack from The Geek

I've got a little question though, can you set it up so that 'tacky ad' is shown in 'chit chat' forum and 'expensive ad' is shown in 'serious forum' or does it just show the one banner on all pages?

The Geek
04-12-2005, 07:43 PM
:banana: :banana: Another great hack from The Geek

I've got a little question though, can you set it up so that 'tacky ad' is shown in 'chit chat' forum and 'expensive ad' is shown in 'serious forum' or does it just show the one banner on all pages?
You can set it up to show wherever you want on an ad by ad basis.

I have also got gut loads more done... Just wait till Beta 2 ;)

Snow
04-12-2005, 07:47 PM
You can set it up to show wherever you want on an ad by ad basis.

I have also got gut loads more done... Just wait till Beta 2 ;)
:D thanks, I'll wait a bit then.

dmatthams
04-12-2005, 08:36 PM
Hey there, this is the exact hack I have been looking for my site, so much thanks! ( I also just installed your auto av resize =] )

I have followed the instructions and everthing seems to be ok. I have placed $GAB_ad1 in my navbar template, but I get no ads show up

Im betting on it being me doing somthing stupid, but can anyone give me a hand?

The Geek
04-12-2005, 08:41 PM
Hey there, this is the exact hack I have been looking for my site, so much thanks! ( I also just installed your auto av resize =] )

I have followed the instructions and everthing seems to be ok. I have placed $GAB_ad1 in my navbar template, but I get no ads show up

Im betting on it being me doing somthing stupid, but can anyone give me a hand?
you sure that you have ads that qualify to be pulled? ie ticked for the correct scripts, forums, etc... ?

dmatthams
04-12-2005, 08:49 PM
tada! (ad is just a tester)

The Geek
04-12-2005, 08:58 PM
tada! (ad is just a tester)
how about your settings? Can you show me those? Or can you give me admin access (need style access to) . Just PM me them if so.

dmatthams
04-12-2005, 09:12 PM
hey there, i managed to sort it, but i have no idea how! But thanks all the same :)

I think i also spotted an error, when I click save on the settings section it shows an error saying could not find phrase 'GAS_settings_saved' ...typo?

Thanks again x] cool forum btw

The Geek
04-12-2005, 09:18 PM
cheers. glad its sorted. That error has been fixed for the next release. Its just a phrase error.
THe next release should be out soon - its quite wicked :)

danhaga
04-12-2005, 09:28 PM
Ok... I have made some progress with my issues.. My GAB settings are sorta working.

settings: all the options are there but no save button

display: just a tiny grey box shows up on blue background

add: again all the options are there but no save button..

any help?

thanks

The Geek
04-12-2005, 09:37 PM
<div align="center">:cross-eyed:
</div>You have a seriously whacked out situation. None of that makes sense. Have you installed any other mods?

dmatthams
04-12-2005, 09:49 PM
http://www.varilla.co.uk/forum/index.php

works like a dream :)

now to customise my forum :/

danhaga
04-12-2005, 09:52 PM
:cross-eyed:

You have a seriously whacked out situation. None of that makes sense. Have you installed any other mods?

just vb3 arcade

do you have aim? if so send me a message at "A Mustang Guy"

thanks

The Geek
04-12-2005, 09:57 PM
http://www.varilla.co.uk/forum/index.php

works like a dream :)

now to customise my forum :/
glad to hear dmatthams (though when I went I didnt see any ads!) ;)

danhaga - Nope. I avoid MSN and AIM like a Huggy man with a Flesh Eating Bacteria infection. If you want to pm me login details with admin access - ill look into it tomorrow.

danhaga
04-12-2005, 10:01 PM
here are my 3 admin screen with there problems (attached)

vinnycuz
04-13-2005, 01:28 AM
I am using a old GelTech Blue template....where would I put this:

$GAB_ad{#) ie. $GAB_ad1 and $GAB_ad2

and also, what are the numbers about? Wow Im lost...

btw...using 3.0.6

gldtn
04-13-2005, 03:26 AM
Geek,

Gotta love your hack's :P

I think you forgot to drink you coffee and forgot the " . TABLE_PREFIX . " on line 81 of the /admincp/GAB_admin.php which could cause a problem to those using a table prefix on thier database.

Also would be nice to edit the README file to mention something about the table prefix if not somehow add a code that would check for a prefix when running the tables.

Well done hack, but I want my installer ;) :) :D

-----

Also when I place the $GAB_ad1 variable on the navbar template I can not see it on forumhome, the forum index page.

lasto
04-13-2005, 03:58 AM
installed - got 2 test ads and nothing shows.Have added the info above the navbar yet no ads show and they are correctly done.

The Geek
04-13-2005, 07:03 AM
I am using a old GelTech Blue template....where would I put this:

$GAB_ad{#) ie. $GAB_ad1 and $GAB_ad2

and also, what are the numbers about? Wow Im lost...

btw...using 3.0.6
Hey guys.
The numbers (ie GAB_ad1, etc...) is to allow you to produce multiple ads depending on your settings. Most will ned up using just one.

gldtn - yea - noticed that and fixed in the next release. Next release should also have installer for phrases, db, and templates

For those with ads not showing up - this is most likely due to no ads qualifying for being pulled. Check the individual settings AND global settings. Remember that they have to be part of a group that will SEE the ad, be in a script that will see an ad.

Play with the settings and remember - this is a beta ;)

lasto
04-13-2005, 12:22 PM
have done that - have them showing on all pages

even set dates to 2003 and expire in 2006 and made sure they active and even made sure the usergroups are allowed to see ads.

Still nothig shows.

lasto
04-13-2005, 12:48 PM
also another problem - had 2 advertisments so went to delete it and no matter what it wont delete.The page just goes to admincp homepage.

The Geek
04-13-2005, 01:18 PM
hmmm. I may put out Beta 2 later today for you as it has some debug abilities that may help determine the problem. I was only holding off to get more of the usercp portion done - but maybe it would be best to put it out for the advert side of things (there are several new cool features like frequeny and such).

Watch this space :)

dmatthams
04-13-2005, 05:16 PM
glad to hear dmatthams (though when I went I didnt see any ads!) ;)

danhaga - Nope. I avoid MSN and AIM like a Huggy man with a Flesh Eating Bacteria infection. If you want to pm me login details with admin access - ill look into it tomorrow.

http://www.varilla.co.uk/forum/index.php?s=&styleid=2

^silly me :o

dmatthams
04-13-2005, 05:26 PM
ps. will be very interested in the ability for users to purchase ad space (forum is based on bands and band members so the ability for them to expose themselves in that way would be great!)

If you need a hand with anything graphical then i would be happy to return some cheese x]

swarangal.com
04-13-2005, 05:46 PM
Thanks for the lovely hack...

Every thing is fine with me except one thing !!! ... no ads are showing up. did every thing as per the docx said and can see the admin thingy kewl .. but no banner is popuping up !! can some1 or the geek help me

cheers

The Geek
04-13-2005, 05:55 PM
ok guys... Im just putting some touches on Beta 2 right now. Once again - its slightly premature as it includes only a partially finished usercp. However, no users will really be able to do anything with it so I guess its not a big deal (heck, you dont even have to upload the advertising.php yet).
However, the reason I am releasing it early is because there is a test facility for testing the adverts (how and when they appear). This will be very useful for troubleshooting people saying that the ads arent popping up.

It also features a crap load of other new features.

Should be done in the next half hour or so.

lordofgun
04-13-2005, 06:06 PM
Can't wait for the final release!

Lionel
04-13-2005, 06:21 PM
Suggestions: One of the major limitations of all vb banners hacks is the fact that they are all limited to admin. An ad purchaser should be able to see his statistics. Perhaps a link to display only to ad owner and admin could be included in the ad's table?

The Geek
04-13-2005, 06:23 PM
Okay guys. Its up. Please READ the README.

I wouldnt bother uploading advertising.php yet... its not even partially done.

To upgrade from Bea 1- upload all files and run gab_install.php choosing the install path (dont worry - its a smart installer!).
Make sure your gish folder is chmod 0777

nJoy

Lionel
04-13-2005, 06:24 PM
Ucash integration. Points for clicking would be good too. Users can click as many times they want, but get points only once every 24 hours per banner click.

The Geek
04-13-2005, 06:55 PM
Ucash integration. Points for clicking would be good too. Users can click as many times they want, but get points only once every 24 hours per banner click.
I would see that as more of an add on. I really only focus on making hacks for my site. I dont use ucash so someone else would need to bolt that on.

As far as your other suggestion - that is in the plan. I am getting there ;)

lasto
04-13-2005, 08:04 PM
uploaded - ads seems to work but when clicking on em they go to a blank page with the following url

javascript:gotoAd();

thats it and page not displayed

The Geek
04-13-2005, 09:14 PM
uploaded - ads seems to work but when clicking on em they go to a blank page with the following url

javascript:gotoAd();

thats it and page not displayed
Thanks lasto - think I got to the bottom of it (and a really annoying frequency error). download, replace all files, run the installer.
Then make sure that you have frequencies set. THere was a bug in the previous version that would eat them at any opportunity.

BTW - you will then have to revert your GAB_ad_rotating template

danhaga
04-13-2005, 10:06 PM
Ok i now have this installed correctly and its working great.. add show up where i want them and they link to where they should...

question.. can i remove the part under the ad that says "want to advertise with us" and "learn how to get rid of these ads?"

if so how? right now those links dont work but i wouldnt want them anyway

thanks

The Geek
04-13-2005, 11:13 PM
Just edit the GAB_ad templates and remove them

lasto
04-14-2005, 12:36 AM
everything works and ive done the update but the url i specify for the banner when clicking it always goes to a weird page.

Gab redirect etc but stays there as a page not found - yet the url i specify is valid.

Nordinho
04-14-2005, 01:02 AM
everything works and ive done the update but the url i specify for the banner when clicking it always goes to a weird page.

Gab redirect etc but stays there as a page not found - yet the url i specify is valid.
very...very interesting, especially if you can get the userside to work (clients buying ad space/packages and uploading their own banners and being able to change them afterwards and view their statistics etc...) Great work sofar!!

reteep
04-14-2005, 06:40 AM
After updating from B1:


Ungueltige SQL-Abfrage: SELECT * FROM GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'd00007_forum.GAB_packages' doesn't exist

The Geek
04-14-2005, 07:13 AM
After updating from B1:
stormblast - run the install script

lasto - you need to stick http:// now in front of the ad url whereas you didnt before.

HTHs

Jacko
04-14-2005, 10:00 PM
hmmmm i am missing some phrases, but i manually checked and there in the phrase manager??!

any help? im on 3.0.7 and no other hacks installed apart from vbadvanced.

Koutaru
04-15-2005, 01:39 AM
Rebuild your phrases by just saving one of them again in the admin CP

007
04-16-2005, 05:47 AM
How soon until the paid banner version is up and working? That sounds like it will make this hack the best banner hack yet by far! Thanks for all the cool stuff!

The Geek
04-16-2005, 06:42 AM
tough to say - its making good progress - but it is A LOT of coding. I am also going to be out of comission the back end of next week for a good week or two. So I would bank on sometime around then.

Or maybe sooner ;)

007
04-16-2005, 03:25 PM
Very cool. Will your hack support multiple banner spots? What I mean by that is can you specify different ads to be say, on the top of a page, and others on the bottom, in two different rotations? It would be cool to have a membership paid rotation, and then just normal ads that we pick. Maybe this is how it will work already? Either way it sounds awesome. I can't wait! :)

The Geek
04-16-2005, 04:43 PM
Very cool. Will your hack support multiple banner spots? What I mean by that is can you specify different ads to be say, on the top of a page, and others on the bottom, in two different rotations? It would be cool to have a membership paid rotation, and then just normal ads that we pick. Maybe this is how it will work already? Either way it sounds awesome. I can't wait! :)
It already supports multiple ads. Overfolwed ads go to ad1, ad2, ad3 etc... :)

NewOrder
04-16-2005, 06:56 PM
http://www.main-images.com/uploads/4c21e71ad5.jpg (http://www.main-images.com)

The Geek
04-16-2005, 07:17 PM
do a phrase search for GAB_
edit one and click save.

You really should do this for each phrase group. Saying that - your admincp shouldnt really be affected by that. You sure you ran the install?

NewOrder
04-16-2005, 07:48 PM
yeh i ran the installer then had to edt global.php twice and the admincp/index.php as the installer couldnt

Spinball
04-16-2005, 08:21 PM
Geek, mate, I have my own banner system running at www.avforums.com which is working fine and caters for about 20 million impressions per month.
A few features we have are
* campaign management where it's possible to set up one advert which runs across several 'zones'
* automatic creation of the zones from forum information
* geographic targetting (serve banners only to people from specific countries)
* distributed ad serving which serves banners (in specific zones) to the people who have seen them least.
* serves Google Adsense in locations where adverts are not sold.
* daily impressions and click reports

What I don't have is a vBulletin back end because I don't have time to learn vBulletin coding particularly deeply and I am happy to administer the system usnig phpMyAdmin.
Let me know if you would like to collaborate.

mikehawk
04-16-2005, 10:46 PM
God job people, this is gonna be awesome for my site and my wallet. :nervous:

geezzaa
04-17-2005, 01:00 AM
Hi mate .
I uploaded the files as it said, but i get this error Warning: copy(./gab/logo.jpg): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716
when i try to set an add.
Could you answer in Noobie for me... Ta

The Geek
04-17-2005, 09:47 AM
Hi mate .
I uploaded the files as it said, but i get this error Warning: copy(./gab/logo.jpg): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716
when i try to set an add.
Could you answer in Noobie for me... Ta
make sure there is a folder called gab in your forum directory and it is chmod to 0777 ;)

spinball - some of those features are planned. The others are great ideas - but may not make first version if thats cool.

geezzaa
04-17-2005, 10:48 AM
Thanks mate ,
That bit is now sorted . :)

I got an error when i click on packages


Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'geezzaa_xxxxxx.GAB_packages' doesn't exist

mysql error number: 1146

Date: Sunday 17th of April 2005 11:42:42 AM
Script: http://www.ukcultivator.biz/admincp/GAB_admin.php?do=displaypackages
Referer: http://www.ukcultivator.biz/admincp/index.php?do=nav
Username: xxxxxxxx
IP Address: xxxxxxxx


Any ideas , or would you consider payment for installing ?

The Geek
04-17-2005, 11:10 AM
hmmm. did you run the gab_install file? The db portion of the install creates that table.

geezzaa
04-17-2005, 11:13 AM
Yes i did, , it went through the installatio ok and told me i had to make changes to 2 steps

geezzaa
04-17-2005, 11:24 AM
Also i noted that your picture with options is different to mine, Is this new additions.
Probably me being thick :)

The Geek
04-17-2005, 02:33 PM
the pictures in the first post are of the first beta.

Well.. somethings screwy with your install as you are also missing a phrase.
Can you just run the phrases and database part of the install again?

geezzaa
04-17-2005, 02:57 PM
Hi mate, i re run these and still the same , do you think i should redown load the zip, upload and try again

The Geek
04-17-2005, 03:04 PM
Hi mate, i re run these and still the same , do you think i should redown load the zip, upload and try again
yea - give it a go. The install steps aer not completing correctly or something.

geezzaa
04-17-2005, 03:57 PM
Hi mate,
I reuploaded and ran the install again, same problem :(

The Geek
04-17-2005, 04:54 PM
can you pm me admincp account so I can check it out?

Lionel
04-17-2005, 08:28 PM
I also have problems with the install on a fresh vb install (3.07). Some tables would not create, and settings seem to be wrong. For example, if I select Record number of times shown? (this is a table insert every time a banner is shown!) yes and submit, it comes back to no.

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'khforums.GAB_packages' doesn't exist

mysql error number: 1146

Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO GAB_packages
(title,description,price,currency,duration,frequen cy,scripts,forumids,ordinal,hits,views) VALUES (
'test',
'testing',
,
'USD',
657000,
2,
'index,showthread,forumdisplay,forumhome,0,',
'1,2,3,',
1
0,
0
)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
'USD',
657000,
2,


mysql error number: 1064

The Geek
04-17-2005, 08:53 PM
hmmm. Ill look into these.

Well - actually I have totally re-written the packages side of things anyway to integrate with GAL as well as to allow multiple banner creations per package.

So in essence each package can contain 0 or more banners and 0 or more GAL entries.

Ill try and find out why the packages table didnt get created - but in the meantime I would just hold off with the packages - they are for the user cp which isnt even partially complete in this beta. Saying that - the banner side of things should be fully functional.

venomx
04-17-2005, 10:06 PM
The Geek I seen this and was happy that you was making a banner script but then I see it is kinda like the rest in that it doesnt allow HTML ads. :(

I am also looking for one that has a login area for advertisers where they can set where the ads will appear and stuff.

The Geek
04-17-2005, 10:18 PM
The Geek I seen this and was happy that you was making a banner script but then I see it is kinda like the rest in that it doesnt allow HTML ads. :(

I am also looking for one that has a login area for advertisers where they can set where the ads will appear and stuff.
Not sure what you mean by HTML ads. It allows static, rotating banners, and flash ads.

That side of things is working - and as far as I am aware, that side of things gives you more control and versatility than any other banner ad (feel free to correct me if I am wrong)

What I am working on right now is the usercp side of things.
It will allow users to browse packages of ads for sale, buy them, upload their own ads, edit them, and get statistics on the ads the already own.

venomx
04-17-2005, 10:54 PM
I am talking about like if I join a banner exchange and they give me an IFRAME to use...
Will that work in this?

geezzaa
04-17-2005, 11:37 PM
Hi mate
Thanks for the Pm .
How do i get the banners to display? I have set up a couple of banners and put $GAB_ad1 in the navbar template

venomx
04-18-2005, 02:23 AM
The Geek if you can could you make it so they could also use UCash to buy ads?

cyberdream
04-18-2005, 02:55 AM
I keep getting this error when login into the admin cp:

Parse error: parse error, unexpected '=' in /home/content/t/a/l/talktgp/html/forum/admincp/index.php on line 581

swarangal.com
04-18-2005, 03:02 AM
geek one problem ...

the banner works cool but wen i click on its says cannot find server :(
http://www.swarangal.com/fingering/showthread.php?t=1

help meeeeeeee

swarangal.com
04-18-2005, 03:08 AM
I keep getting this error when login into the admin cp:

Parse error: parse error, unexpected '=' in /home/content/t/a/l/talktgp/html/forum/admincp/index.php on line 581
just add $printhr = false there it shud work :)

geek am i correct?

LEAD_WEIGHT
04-18-2005, 03:10 AM
I wait till it is all fix and out of beta. I pay if it works :ermm:

cyberdream
04-18-2005, 03:17 AM
Also i noted that your picture with options is different to mine, Is this new additions.
Probably me being thick :)

I'm having the same problem now as geezzaa had.

btw thanks swarangal.com your suggestion worked.

I'm getting the image on the left in my admincp instead of the one on the right side.

The Geek
04-18-2005, 06:09 AM
for redirection errors - make sure that there is no leading http:// (though this will change in future versions).

for the missing phrase in the admincp:
add a phrase in the Control Panel Global section called 'GAB_add_ad' the value should be 'New Ad'

Venom- I dont use ucash so I doubt it would make the final release. I can look into it then - or someone else can do an add on for it.

Use the test link to test around your settings to make sure you are indeed producing results ;)

swarangal.com
04-18-2005, 07:09 AM
thanks geek it works :)

geezzaa
04-18-2005, 09:14 AM
I have run the test, and its showing the add in the panel. But still not in the navbar

The Geek
04-18-2005, 10:07 AM
I have run the test, and its showing the add in the panel. But still not in the navbar
double check the changes to global.php

Everything else seems to be working fine.

The Geek
04-18-2005, 10:34 AM
The Geek if you can could you make it so they could also use UCash to buy ads?
was just looking at ucash... it looks like a pretty cool hack. I may look at installing it. If I do - then I will definatly integrate with GAB.

Lionel
04-18-2005, 10:42 AM
yeah, give them points for clicking

The Geek
04-18-2005, 11:13 AM
yeah, give them points for clicking
oooo. I really dig that idea.

I was thinking people wanted to be able to sell ads for x amount of points. Didnt think of giving them points for clickthrus.

Lionel
04-18-2005, 11:21 AM
Geek, I am having a hard time. On my site and on a friend site, I get the db error for packages

On my site, the javascript is preventing the gab_admin.php to display (blank page). I found a missing phrase that I had to insert manually: the admin phrase to add banner.

On my friend site, banner simply will not display.

geezzaa
04-18-2005, 11:40 AM
Hi geek, i have checked it through to the best of my ability, still no luck
heres the file , could you take a look please

cyberdream
04-18-2005, 11:46 AM
for the missing phrase in the admincp:
add a phrase in the Control Panel Global section called 'GAB_add_ad' the value should be 'New Ad'


Sorry The Geek, I'm not a programmer and only now a little about adding hacks. Where & What actual code would i put into the admincp/global.php with the info you gave above.

The Geek
04-18-2005, 12:15 PM
lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.

If you guys really having problems with $GAB_ad1 showing would like to send me admincp/ftp details - I will figure out what is happening. It seems to be working on most systems.

Cyberdream - go into admincp, expand the languages & phrases, click phrase manager, change Phrase Type to Control Panel Global, click Add new phrase, enter GAB_add_ad in the varname and 'New Ad' in the text. Then save.

I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)

The Geek
04-18-2005, 12:22 PM
BTW: geezar - you are missing step 101 in the file chages for global.php

Thats why it isnt working ;)

geezzaa
04-18-2005, 12:38 PM
Hi mate
Thats terrific, its now showing :)
But we arent out of the woods yet lol
Step 101 was showing as completed in the installer.
The banners are now showing but if you click on them you get

Warning: Cannot modify header information - headers already sent by (output started at /home/geezzaa/public_html/ukcultivator/global.php:708) in /GAB_redirect.php on line 24
Also the same line shows in the message box of the chatroom

geezzaa
04-18-2005, 01:05 PM
i cant login to my site or admincp :cry:

All i get is Unable to add cookies, header already sent.
File: /xxx/xxxx/xxxx/xxxxxx/global.php
Line: 708

when i try to login

The Geek
04-18-2005, 01:18 PM
i cant login to my site or admincp :cry:

All i get is Unable to add cookies, header already sent.
File: /xxx/xxxx/xxxx/xxxxxx/global.php
Line: 708

when i try to login
can you pm me ftp access - there must have been an error with applying that step.

Lionel
04-18-2005, 01:26 PM
lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.


Am able to display banner for my friend's site.

Test is blank page by me.

The Geek
04-18-2005, 01:27 PM
Am able to display banner for my friend's site.

Test is blank page by me.
do you have the latest gab_admin.php from the package?

Lionel
04-18-2005, 01:29 PM
Yes I do. I downloaded a couple hours ago.
I forgot to mention. In my friend's site, I placed adv_index in the extra script space, but it does not display on that page.

Lionel
04-18-2005, 01:31 PM
Geek, when you click on banner, it opens new page, but current page gives error
http://www.khwarriors.com/forums/index.php

The Geek
04-18-2005, 02:29 PM
Geek, when you click on banner, it opens new page, but current page gives error
http://www.khwarriors.com/forums/index.php
whats the URL? Make sure it doesnt start with http://

Lionel
04-18-2005, 02:32 PM
ok, I removed http:// but I am observing a strange behavior: it's opening the new page behind.

geezzaa
04-18-2005, 02:42 PM
i got admincp back, was my fault :(
Off to play with it now, be back shortly :)

venomx
04-18-2005, 02:43 PM
oooo. I really dig that idea.

I was thinking people wanted to be able to sell ads for x amount of points. Didnt think of giving them points for clickthrus.

If you add that please set it on a per ad or either on/off because some places would not like us oaying members to click the banners.

I too was just thinking about the X impressions for X points.

cyberdream
04-18-2005, 04:22 PM
lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.

If you guys really having problems with $GAB_ad1 showing would like to send me admincp/ftp details - I will figure out what is happening. It seems to be working on most systems.

Cyberdream - go into admincp, expand the languages & phrases, click phrase manager, change Phrase Type to Control Panel Global, click Add new phrase, enter GAB_add_ad in the varname and 'New Ad' in the text. Then save.

I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)

Sorry TheGeek. what did you mean by this:

I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)

The Geek
04-18-2005, 04:41 PM
Sorry TheGeek. what did you mean by this:
It was in reference to another user that pasted a copy of their global.php for troubleshooting ;)

Reeve of shinra
04-18-2005, 05:30 PM
How does this stack up to say phpadnews which I hear is a pain to set up but is what I hear most often recommended? Also how well does this intergrate with say vbadvanced cmps, gallery and links and other vb-add on scripts?

Btw: You've put out some great hacks. Keep up the good work and thank you for sharing!

The Geek
04-18-2005, 05:39 PM
How does this stack up to say phpadnews which I hear is a pain to set up but is what I hear most often recommended? Also how well does this intergrate with say vbadvanced cmps, gallery and links and other vb-add on scripts?

Btw: You've put out some great hacks. Keep up the good work and thank you for sharing!
dont know - never used phpadnews ;)

Its designed to use on any page that uses global.php though you still have to cut it some slack - its still early beta ;)

Thanks!

H2k_Coder
04-18-2005, 05:50 PM
Ok I added:


// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();


in GAB_redirect.php
Now a new window is being opened but the site cannot be displayed. Although the array.merge error is gone..
why u dont add options ads in the thread this will be nice also :)

The Geek
04-18-2005, 07:40 PM
not sure what options ads are ;)

Are you putting http infront of the url? If so-dont. This current version doesnt like it :)

Reeve of shinra
04-18-2005, 08:08 PM
Its designed to use on any page that uses global.php though you still have to cut it some slack - its still early beta


Okay I guess if I have to ;)

geezzaa
04-18-2005, 09:24 PM
Finished playing
Install clicked

geezzaa
04-18-2005, 09:36 PM
Geek , Is the file name advertising.php correct. If i click on the link under the banner it links to advertise.php and i get a page not found ,
Advertise.php isnt in my directory

The Geek
04-19-2005, 05:48 AM
Geek , Is the file name advertising.php correct. If i click on the link under the banner it links to advertise.php and i get a page not found ,
Advertise.php isnt in my directory
its supposed to be advertising.php but since that page wasnt even partially done - I wasnt going to worry about it (I suggested not to bother uploading it).
This has been fixed in the next release :)

geezzaa
04-19-2005, 09:38 AM
Thanks mate, I am looking forward to the next release :)

JTyson
04-19-2005, 02:00 PM
Nice work, I had to remove the javascript from Gab_admin to get rid of the blank pages, looking forward to future updates

gldtn
04-20-2005, 11:18 AM
<i>Removed - please do not advertise your services on this forum</i>

LEAD_WEIGHT
04-20-2005, 10:10 PM
Does it auto rotates banners and do u need to upload the image to your server or is it one of those Bandwidth stealer Banner system. I would like to know if I need to upload the image cause if I have to then I will install this Mod but if it is a bandwidth stealer thing then no. :ermm:

She Unlimited
04-21-2005, 12:27 AM
Can this intergrate well with linkshare for example, where you can just upload or paste your code, and have the a banners rotate?

I would like to be on the mailing list when the new one is released...

sheunlimited@gmail.com

The Geek
04-21-2005, 05:50 AM
Can this intergrate well with linkshare for example, where you can just upload or paste your code, and have the a banners rotate?

I would like to be on the mailing list when the new one is released...

sheunlimited@gmail.com
lead - not sure what you mean exactly - but yes it does have the option to rotate and yes, you upload the banners (soon your users can upload their own)

She - most liekly not currently - I would need an example of the code that you would want displayed and I could incorporate that as an option too.

She Unlimited
04-21-2005, 05:58 AM
Thank you for your quick reply.

Here is the code.

<div align="center"><a href="http://click.linksynergy.com/fs-bin/click?id=fByLJzuLIlQ&offerid=51678.10000561&type=4&subid=0"><IMG width="160" height="600" alt="cyclo160x600" border="0" src="http://1800patches.com/banners/cosmetic/lepatch_160x600_2.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=fByLJzuLIlQ&bids=51678.10000561&type=4&subid=0">
</div>

ChrisBaktis
04-21-2005, 12:20 PM
Install seemed to go well but when I copy the new index.php to the admin folder I cannot access the admin page - just get a blank page.

The Geek
04-21-2005, 01:10 PM
Install seemed to go well but when I copy the new index.php to the admin folder I cannot access the admin page - just get a blank page.
If you mean the GAb_admin page - then you may have to remve the javascript in the begining of the file - if you mean the navigation pane to the left (with style manager, etc...) is blank - manually double check the file changes.

HTH's

Snow
04-21-2005, 01:31 PM
Geek, I've just installed this on my test forum, but something has gone wrong...

1. I'm having mysql errors with the packages and add new packages in the adminCP and in advertising.php. I think it may be because of table prefixes but I'm not sure how to fix it
Database error in vBulletin 3.0.6:

Invalid SQL: SELECT * FROM tvb3_GAB_packages ORDER BY ordinal,title,id ASC
mysql error: Table 'aboho_crashforum.tvb3_GAB_packages' doesn't exist

mysql error number: 1146

2. I can't seem to be able to add any new ads in the adminCP Warning: copy(./gab/aboho.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716

3. With the autoinstaller, it couldn't complete step 200 because of a previous modification that your GAS hack had made. The manual file change states this: = false;
// === GAB ===
construct_nav_option($vbphrase['GAB_settings'], 'GAB_admin.php?do=settings');
construct_nav_option($vbphrase['GAB_display_ads'], 'GAB_admin.php');
construct_nav_option($vbphrase['GAB_add_ad'], 'GAB_admin.php?do=add');
construct_nav_option($vbphrase['GAB_display_packages'], 'GAB_admin.php?do=displaypackages');
construct_nav_option($vbphrase['GAB_add_package'], 'GAB_admin.php?do=addpackage');
construct_nav_option($vbphrase['GAB_display_frequency'], 'GAB_admin.php?do=displayfrequency');
construct_nav_option($vbphrase['GAB_add_frequency'], 'GAB_admin.php?do=addfrequency');
construct_nav_option($vbphrase['GAB_test'], 'GAB_admin.php?do=test');
construct_nav_group($vbphrase['GAB_CP']);
$printhr = true;
$printhr = false;
// === GAB ===
$printhr = false;
if (can_administer('canadminstyles'))
{Is that = false; supposed to be there?

4. for the missing phrase in the admincp:
add a phrase in the Control Panel Global section called 'GAB_add_ad' the value should be 'New Ad'I found this phrase in Control Panel Stop Message Phrases. Since I've now added it to Global phrases, would it be safe to remove the original phrase from Control Panel Stop messages or is it a different phrase that is needed?

The Geek
04-21-2005, 01:35 PM
Hey snow.

The package side of things is not really implimented yet so just dont bother to use it (I would recommend ditching the advertising.php too.) I was hoping to get the next version out before I head off for a few days but it isnt possible. In the meantime the rest of the system (ads) will work perfectly fine.

Remove the =false
Dont know what happened there ?

Make sure you have a folder called gab chmod to 0777 in your forums folder

You can remove the Control Panel Stop message - what happened is I stuck that phrase in the wrong area ;)

Gotta love a beta :)

Remember though - the ad side of things should be perfectly cool.

nJoy

Snow
04-21-2005, 02:13 PM
Hey snow.

The package side of things is not really implimented yet so just dont bother to use it (I would recommend ditching the advertising.php too.) I was hoping to get the next version out before I head off for a few days but it isnt possible. In the meantime the rest of the system (ads) will work perfectly fine.

Remove the =false
Dont know what happened there ?

Make sure you have a folder called gab chmod to 0777 in your forums folder

You can remove the Control Panel Stop message - what happened is I stuck that phrase in the wrong area ;)

Gotta love a beta :)

Remember though - the ad side of things should be perfectly cool.

nJoy


AWESOME! Thanks! :banana: :banana:

Issues 2 (I was missing the gab folder :o ), 3 and 4 fixed. I can't wait for the packages side to be finished... it looks like it's going to be another winner hack.

I've got another minor bug issue though..... In options > Record number of times shown? and in Ads > Track views .... I keep selecting YES and it keeps switching back to NO when I save :(

Snow
04-21-2005, 02:37 PM
I was just wondering..... how easy would it be to integrate your autolinker hack with this hack in an intellitext (http://www.vibrantmedia.com/site/web_01a.html) sort of way of advertising? Would that be possible?

The Geek
04-21-2005, 03:40 PM
There will be some GAL integration in the next BETA release and more GAL integration for the final version.

The real difficulty is applying the same rules to GAL's (ie clickthru, view, and time expirations). I am hoping to come up with a clever way of doing it - however I see that side of things more as another version of GAL than I do of GAB.

GAB GAL GAS - geez. My brain is going numb.

Not sure about your settings saving problem. I know it isnt happening in the next realease so I can only assume that I have fixed it :)

007
04-22-2005, 01:09 AM
Just checking in to see how soon the PayPal integration will be sorted! :)

Looking like this will be the best banner hack for VB3 when it goes out of BETA. :)

LEAD_WEIGHT
04-22-2005, 02:09 AM
Just checking in to see how soon the PayPal integration will be sorted! :)

Looking like this will be the best banner hack for VB3 when it goes out of BETA. :)
I hope more than Paypal can be used and I was wondering that this does work with CMP in that it can be place in the header.

Tigur
04-22-2005, 10:45 AM
Ok im on the latest version of VB3
I just did fresh install on the banner hack. I got the line 518 error, fixed that with the above that was suggested to cyberdream , then told me i had it on 2 other lines, did the same fix. Then i got 3 duplicates in my admincp of the GAB. The add banner thing was not there. had to click a line. Now when i went to upload a banner i got this
Warning: copy(./gab/pagbanner.gif): failed to open stream: Permission denied in /admincp/GAB_admin.php on line 716

What I am also getting database errors when i click on "packages" error:
mysql error: Table 'mydatabasename.GAB_packages' doesn't exist

Lionel
04-22-2005, 10:48 AM
Ignore the package error now. That was put in place for later.

gldtn
04-22-2005, 01:09 PM
Ok im on the latest version of VB3
I just did fresh install on the banner hack. I got the line 518 error, fixed that with the above that was suggested to cyberdream , then told me i had it on 2 other lines, did the same fix. Then i got 3 duplicates in my admincp of the GAB. The add banner thing was not there. had to click a line. Now when i went to upload a banner i got this
Warning: copy(./gab/pagbanner.gif): failed to open stream: Permission denied in /admincp/GAB_admin.php on line 716

What I am also getting database errors when i click on "packages" error:
mysql error: Table 'mydatabasename.GAB_packages' doesn't exist
make sure the directory /gab/ permissions is to 777

Tigur
04-22-2005, 08:12 PM
ya i figured the package error was for later. Though the gab dir was set to chmod 777 yet it kept doing it. Well let me try to re download it a 3rd time and try it again

Tigur
04-22-2005, 08:18 PM
sorry never mind!! i got it to upload. Its giving me that phrase error but I'll just do the fix in one of the previous posts. Now to figure out why its not showing up on my forum.

***edit***
Ok no point doing a 3rd post when i can just edit. I did everything works fine uploads fine. Now its just my banners that arn't showing up on the main page. i put that $gab_ad1 in the header template. Is that correct?? I don't know im kind of at a loss here. I guess i shouldn't put beta hacks on a live website, and should test it out on a test forum. But I learnt my lesson :surprised: but i need to get this working as i got advertisers wanting to give me money and want their banners up already. Any help please?

PS yes i did read all the forum posts and still can't figure why its not doing it right. I wish I knew PHP well enough that i can just read, find where my problem is, and fix it.

The Geek
04-23-2005, 05:59 AM
sorry never mind!! i got it to upload. Its giving me that phrase error but I'll just do the fix in one of the previous posts. Now to figure out why its not showing up on my forum.


***edit***
Ok no point doing a 3rd post when i can just edit. I did everything works fine uploads fine. Now its just my banners that arn't showing up on the main page. i put that $gab_ad1 in the header template. Is that correct?? I don't know im kind of at a loss here. I guess i shouldn't put beta hacks on a live website, and should test it out on a test forum. But I learnt my lesson :surprised: but i need to get this working as i got advertisers wanting to give me money and want their banners up already. Any help please?

PS yes i did read all the forum posts and still can't figure why its not doing it right. I wish I knew PHP well enough that i can just read, find where my problem is, and fix it.
Hve you run the 'test'?
I think GAB_ad1 is case sensitive too.

007 - things are coming along pretty well for the next release. I too am desperate to get it finished as I have people waiting to advertise. Over the next week I should get to the next BETA which should have all functionality aside from statistics (that will be for final beta).

lead - right now only paypal is planned as that is all I have. Saying that - I seriously doubt it would be hard to do any other method.

The Geek
04-23-2005, 06:11 AM
I hope more than Paypal can be used and I was wondering that this does work with CMP in that it can be place in the header.
lead - Not sure what you mean. I have mine sitting in vba_index. Is that what you are talking about?

LEAD_WEIGHT
04-23-2005, 07:50 AM
lead - Not sure what you mean. I have mine sitting in vba_index. Is that what you are talking about?

vBadvanced CMPS
If I wanted the banner above the navbar like the pic shows that where it will be and the same if I wanted below like the bottum page and by rotating do u mean it changes banners without refreshing page and to clarify another question of mine can I place the image of the banner in my root directory instead of a link from the company code url or that does not matter as long as the banner can click to url , I know I need to make the image appear but I was wondering if it uses bandwidth if the source code/image comes from somewhere else I can make the image come from my root directory and url click to sponcer or company. Is this possible or it does not matter cause the bandwidth will still be use from using the root directory. :dead:

The Geek
04-23-2005, 08:45 AM
vBadvanced CMPS
If I wanted the banner above the navbar like the pic shows that where it will be and the same if I wanted below like the bottum page and by rotating do u mean it changes banners without refreshing page and to clarify another question of mine can I place the image of the banner in my root directory instead of a link from the company code url or that does not matter as long as the banner can click to url , I know I need to make the image appear but I was wondering if it uses bandwidth if the source code/image comes from somewhere else I can make the image come from my root directory and url click to sponcer or company. Is this possible or it does not matter cause the bandwidth will still be use from using the root directory. :dead:
Hi Lead.

If GAB_ad1 is in your navbar template and it is the same one that vbacmps uses, it should still appear there as long as you have adv_index in your other scripts.

The rotating banners change without refreshing the page

I would really recommend that your banners sit in the gab folder. It will use your bandwidth. Future versions will allow you to use their banner - however when you do that - you cant really record click thrus

Tigur
04-23-2005, 09:19 AM
*jumps for joy* It works!! Thanks Geek didn't realize that i had some conflicting settings. Example in the settings when i click check all for who can view ads it auto checks below who can toggle it off. I had to manualy click for all to view. At least that is the ONLY thing i did. By the way what does "Problem No script was passed therefore no ad can be pulled." mean?

As well for your mention of the not being able to record click thrus if you link to the advertisers banner; would it not be possible for it to open a new window and then it auto redirects after it records the hit? I've seen some banner systems do that. Example I use mambo CMS for one of my sites and it allows me to do that.

Visions
04-23-2005, 12:28 PM
Ok i have installed the hack and in the admin cp where you click on GAB manager to make it drop down it drops down just blank bars that highlight and you can click but there is no text in the bars. One of the bars i believe the 3rd one down gives me a DB mysql error page.Any way I can correct this?

The Geek
04-23-2005, 01:16 PM
Ok i have installed the hack and in the admin cp where you click on GAB manager to make it drop down it drops down just blank bars that highlight and you can click but there is no text in the bars. One of the bars i believe the 3rd one down gives me a DB mysql error page.Any way I can correct this?
search for a GAB phrase in the control panel phrase groups - edit it and then edit and choose save.

THe last one is in regards to packages which isnt in operation yet.

CosmicBlend
04-23-2005, 04:19 PM
When do you think you will have this hack complete... i think this is an excellent hack with SO many features..

libertate
04-23-2005, 07:05 PM
I see a way to add images.

How do you add small scripts like Adsense and other add consolidators use?

The Geek
04-23-2005, 07:43 PM
Fingers crossed the final should be within next 10 days.

Cant really add scripts (yet). Looks like that will be release after next.

LEAD_WEIGHT
04-23-2005, 09:02 PM
Hi Lead.

If GAB_ad1 is in your navbar template and it is the same one that vbacmps uses, it should still appear there as long as you have adv_index in your other scripts.

The rotating banners change without refreshing the page

I would really recommend that your banners sit in the gab folder. It will use your bandwidth. Future versions will allow you to use their banner - however when you do that - you cant really record click thrus

I wanted the image banner in as u say [gab folder] I did not want it from a link at a sponcer or company and thanks now I will wait for that next release. ppl if u have spare change help the coders. .25c 0r $1.00 or more if u want. ;)

libertate
04-24-2005, 01:40 AM
Cant really add scripts (yet). Looks like that will be release after next.What would make the next release come out faster? :devious:

The Geek
04-24-2005, 07:22 AM
What would make the next release come out faster? :devious:
me feeling better ;)

I just had an operation the other day so Im a little under the weather. Saying that I made some decnet progress on it yesterday.
I may be able to have the next Beta sometime tomorrow which means I will be left with 1 more beta before it goes to RC :)

LEAD_WEIGHT
04-24-2005, 09:59 AM
They fixed u what do we call u now. Now that u turned to a girl or is it the other way :ermm:

The Geek
04-24-2005, 10:39 AM
They fixed u what do we call u now. Now that u turned to a girl or is it the other way :ermm:

:speechless:

It was a freaking hernia - not a gender change!

artonex
04-24-2005, 11:01 AM
Hey The Geek this is a very nice hack thanks for coding it, much better than phpadsnew :)

I will install it once my new skin is coded :)

libertate
04-24-2005, 03:30 PM
me feeling better ;)
I just had an operation the other day so Im a little under the weather. Wish you the best.

Maybe I can ship a laptop with a cell phone Internet uplink to the hospital? Wait, they won't let cell phones in. how about a satellite uplink?

:ermm: Ok, ok. Get better first. :laugh:

LEAD_WEIGHT
04-24-2005, 08:21 PM
:speechless:

It was a freaking hernia - not a gender change!

Just pulling your leg, or do u pull your third leg :banana: to hard. :laugh:

Idle hands u know. Know keep your focus on those releases not on releasing anything else ok :nervous:

CosmicBlend
04-24-2005, 08:37 PM
where are the click stats recorded to, how would you pull up such info for users if they would like to see it. Is this feature not implemented yet?

djjeffa
04-25-2005, 02:54 AM
Great Hack but i have a problem
when I try to ad a add I get Warning: copy(./gab/top.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716

I read some of the past post but none have helped me.

The Geek
04-25-2005, 06:27 AM
MAke sure that you have a folder called gab in your forum directory (chmodded to 0777)

Cosmic - not implimented yet. Its coming.

djjeffa
04-25-2005, 10:40 AM
MAke sure that you have a folder called gab in your forum directory (chmodded to 0777)

Cosmic - not implimented yet. Its coming.
ok I had the folder spelled Gab but it needed to be gab lol
next problem:
Could not find GAB_setting_saved
and then I tested and got this:

Problem No script was passed therefore no ad can be pulled.

The Geek
04-25-2005, 11:44 AM
the first porblem is just with a phrase. Dont sweat it.

Second is in regards to the settings for the test. Make sure you pass a valid script that has ads assigned to it.

Visions
04-25-2005, 06:11 PM
the first porblem is just with a phrase. Dont sweat it.

Second is in regards to the settings for the test. Make sure you pass a valid script that has ads assigned to it.

I am having the same problem
I have created and saved an ad but I cannot get it to show..i have the same problem as metioned above also.
What exactly do you mean by pass a valid script? Very inexperienced here. Please give me the Gab for dummies on this. Thanks

geezzaa
04-25-2005, 07:18 PM
I got a new problem.
After signing up with an affilliate and entering the url
www.awin1.com/awclick.php?mid=xxx&id=xxxx when you hit save and check it back the link has changed to www.awin1.com/awclick.php?mid=xxx&amp;id=xxx which causes an error when you click on the banner.
Any ideas ??

The Geek
04-26-2005, 06:08 AM
Geezza - edit GAB_admin.php and change this:

}elseif($action == 'savead'){

globalize($_POST,array(
'id'=> INT,
'title' => STR_NOHTML,
'startdate',
'enddate',
'scripts',
'forumid',
'image'=>STR_NOHTML,
'url'=>STR_NOHTML,

to

}elseif($action == 'savead'){

globalize($_POST,array(
'id'=> INT,
'title' => STR_NOHTML,
'startdate',
'enddate',
'scripts',
'forumid',
'image'=>STR_NOHTML,
'url'=>STR,


Notice its just the last line that changed (the rest was to give you a bearing ;)

visions - in your settings, you must have a set of scripts ticked. These are the 'valid' scripts that ads can appear on.
Then on each ad, one or more valid scripts must be ticked (these are the scripts that the ad will appear on).
When you click test in the admincp, you must choose a script that has an add on it.
For example, if I only have scripts on forumdisplay but I test showthread - then no valid script is selected and no ad will appear.

Hope this helps :)

geezzaa
04-26-2005, 10:00 AM
Thanks geek, that sorted it :)
Keep me informed for the next update

djjeffa
04-26-2005, 11:01 AM
in your settings, you must have a set of scripts ticked. These are the 'valid' scripts that ads can appear on.
Then on each ad, one or more valid scripts must be ticked (these are the scripts that the ad will appear on).
When you click test in the admincp, you must choose a script that has an add on it.
For example, if I only have scripts on forumdisplay but I test showthread - then no valid script is selected and no ad will appear.

Hope this helps :)

I did that and still no add showed up on any page and Im still getting the same error on the test I marked every form and everything else but still no luck.
could this be cause of the phrase GAB_setting_saved missing ?
how could I manually add this phrase?

EDIT:
I think I got it working for the test but I still want to fix thAt phrase and also its still not showing up on the site, do I have to edit somthing and put this somewere? $GAB_ad1

Visions
04-28-2005, 09:46 AM
Same problem above for me too.

Variables passed varibales: Usergroup: Registered Users (2), script=index (0), forum=Main Guild Wars Forum(21)
Problem No script was passed therefore no ad can be pulled.
Usergroup Passed usergroup. This usergroup is set to view an ad.
Toggle Passed usergroup toggle test. This usergroup could toggle ads on or off.
Script Passed script test. We are in a script that is set to view an ad.
Results: $GAB_ad1



Geek- this is what im getting whenever I try to test. Still cant get it to work :(

The Geek
04-28-2005, 10:01 AM
Same problem above for me too.

Variables passed varibales: Usergroup: Registered Users (2), script=index (0), forum=Main Guild Wars Forum(21)
Problem No script was passed therefore no ad can be pulled.
Usergroup Passed usergroup. This usergroup is set to view an ad.
Toggle Passed usergroup toggle test. This usergroup could toggle ads on or off.
Script Passed script test. We are in a script that is set to view an ad.
Results: $GAB_ad1



Geek- this is what im getting whenever I try to test. Still cant get it to work :(
$GAB_ad1 needs to be in a template (like your navbar template).

visions - its saying that no valid script was passed. Are you sure you have the global scripts ticked and at least 1 add with the same scripts ticked?

Harley D
04-29-2005, 10:36 AM
I'm also having the same problems as visions1, and djjeffa.
1) No ADDS showing up. also no choice to show adds in userCP
2) Problem No script was passed therefore no ad can be pulled. "All choices ticked"
3) WARING: Invalid argument supplied for foreach() in /admincp/GAB_admin.php on line 965. Get this and 4) when saving settings.
4) Could not find phrase 'GAS_settings_saved' I need a walk through on this one, should it not say GAB not GAS??

Thanks in advance

Visions
04-29-2005, 12:48 PM
$GAB_ad1 needs to be in a template (like your navbar template).

visions - its saying that no valid script was passed. Are you sure you have the global scripts ticked and at least 1 add with the same scripts ticked?


Where exactly are "global" scripts suppose to be ticked and what code is suppose to be in the template.

The Geek
04-29-2005, 03:06 PM
Where exactly are "global" scripts suppose to be ticked and what code is suppose to be in the template.
In settings - you have a choice of script to stick ads in. At least one of those needs to be ticked.

Furthermore, in each banner, you can choose which script it appears on (from the ticked global list). At least one of those needs to be ticked.

Lastly - when you run a test - a script has to be chosen that would have a banner appearing in it. Otherwise no banner gets pulled.

HTHs

The Geek
04-29-2005, 03:12 PM
Update.

Thought I would take a minute to update you on the progess. There has been very little - but there has also been a lot ;)

Basically - I have spent the last week re-writting GAL in order to bring it in line with what I am trying to do with GAB. I am almost there and its looking real sweet. However it has caused me to rethink my approach to GAB.

Basically, I am going to finish GAL4.0 and release it. Then I am going to complete GAB as the core banner system. I will then put out a new hack that will tie the two together to allow admins to create packages to sell on their site that consists of GAB banners and/or GAL links.

My question is - do you guys feel that the GAB system operating soley as an admin controlled system works to your liking? If so I should be able to wind up a final version of GAB shortly after GAL is done for final release.
I can then focus on a stand alone module that ties the two together.

Thoughts?

The Geek
04-29-2005, 03:14 PM
Hrely or visions - if either of you want to PM me login details with admincp access Ill look into it for you

Lionel
04-29-2005, 03:16 PM
Geek, will there be any db changes in GAL 4.0?

The Geek
04-29-2005, 03:16 PM
Geek, will there be any db changes in GAL 4.0?
there are several - however I wouldnt sweat it as I am sure I will be able to port everything over.

Reeve of shinra
04-29-2005, 05:04 PM
GAL + GAB would be an insanely powerful advertising mangemant tool. :)

king zell
04-29-2005, 05:18 PM
The Geek please help me

I did install it as you said in the read me but I can't see the GAB menu in my admin Control Panel.. why ?

Edit : I solved this problem..

but where exactly should I put the $GAB_ad1 in the navbar template?

The Geek
04-29-2005, 06:40 PM
The Geek please help me

I did install it as you said in the read me but I can't see the GAB menu in my admin Control Panel.. why ?
did you check the gish folder for changed files?

Reeva - my thoughts exactly - I think its going to be saweet :)

king zell
04-29-2005, 06:48 PM
thank you Geek .. can u answer my other question :

where exactly should I put the $GAB_ad1 in the navbar template?

The Geek
04-29-2005, 06:56 PM
thank you Geek .. can u answer my other question :

where exactly should I put the $GAB_ad1 in the navbar template?
id put it on the first line of the template so it appears above the navbar/breadcrumb section.
Personally, I think it looks better UNDER the navbar, but if you use any flash ads, it covers the drop downs.

king zell
04-29-2005, 07:08 PM
I got this messege when I tried to upload a banner :

Warning: copy(./gab/tg-tile-dsrpgsara-pinky.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716

:ermm:

The Geek
04-29-2005, 07:13 PM
I got this messege when I tried to upload a banner :



:ermm:
create a folder called gab in your forum directory and chmod it to 0777

king zell
04-29-2005, 07:26 PM
Edit : I managed to make it work.. everything is fine now

but there is a strange thing happening.. the banner img keep reloading in my browser.. ??

DougM
04-29-2005, 10:31 PM
My question is - do you guys feel that the GAB system operating soley as an admin controlled system works to your liking?... Just finished reading the 200+ post/story of GAB and could hardly wait for the ending. I would like to raise my hand with a vote for a user interface to upload/manage banners sooner than later. I will be using GAB as part of a business forum where paying members will have one banner rotated as part of their member benefits. Banners would ideally be associated with one member and stop when their membership (paid subscription) ends.

This looks like a fine piece of work and I look foward to installing it when a user interface is completed. The Geek - do you accept donations for your work? If this works as I think it will then you would deserve it.

djjeffa
04-30-2005, 02:35 AM
got it to work but have a glitche with the :want to advertise with us? link is there a way I could make it go to a thread ill make to explain how to get a banner on my site?
and also when i do stuff is says could not find gab save setting how could i fix this mannually?

Watson
04-30-2005, 07:18 AM
really interested in this also, and the idea of allowing users to upload in exchange for paying membership really appeals to me also

The Geek
04-30-2005, 07:30 AM
TO be honest - quite a bit of the UI stuff is now done.
I think it would go much faster and easier though to decouple GAB from the UI perks.
That way we can all be happy that one works to our liking and then focus on the next bit. People not wanting the UI wouldnt need it.

Hope this makes since. I think its the way I am going to go. Otherwise I think GAB will actually take longer to get out there.

dj- dont worry about the gab_settings phrase bit. Its fixed in the next release and doesnt interfere with anything. The colon is in GAB_ad template. Change it to whatever you want there.

nJoy

DougM
04-30-2005, 07:34 AM
really interested in this also, and the idea of allowing users to upload in exchange for paying membership really appeals to me also... and if I may elaborate as to why I agree - A good banner manager, such as phpadsnew, can be installed and integrated into vBulletin in short order to give admin full featured ad controls. I've got that down. The real appeal of this to me is tying it into usergroup permissions with even a very simple user interface. That would be something found nowhere else. I would contribute to the completion and do a handstand over that.

The Geek - (or anyone) Are the screenshots still accurate or have there been changes since they were posted? Is there any UI at this point? And - whichever way you see fit to complete this is fine by me. I'll stay tuned for updates.

TotlKaos
04-30-2005, 08:59 AM
Is there a way to setup multiple adds in one add display?
Say I have adds that are only 200pix wide.. and my forums are 600pix wide and I would like to put 3 adds in one banner spot..
Would this be possible?

if you do $add1 $add2 $add3 it will put 3 full banners there with the frames around it.. can the Add frame be removed as a variable?

Thanks!
Russ

The Geek
04-30-2005, 09:19 AM
Is there a way to setup multiple adds in one add display?
Say I have adds that are only 200pix wide.. and my forums are 600pix wide and I would like to put 3 adds in one banner spot..
Would this be possible?

if you do $add1 $add2 $add3 it will put 3 full banners there with the frames around it.. can the Add frame be removed as a variable?

Thanks!
Russ
depending on your settings, GAB will producr a $GAB_ad{x} for each return.
You can stick these where you want.
If you are trying to get multiple ads side by side - that would require some tweaking of the GAB_ad template to remove the table around it. You would have to most likely stick that that in another template to wrap around the results.
Ill see if there is a way I can do that in the next release.

king zell
04-30-2005, 09:42 AM
can I remove "want to advertise with us?" from the banner?

The Geek
04-30-2005, 11:05 AM
Though punishable by imprisonment and tourture - go for it.
That side of things isnt active yet anyway ;)

Just edit gab_ad

DougM
04-30-2005, 12:07 PM
OK, I'm geeting this on admincp index

Parse error: parse error, unexpected '=' in /home/batter/public_html/offers/admincp/index.php on line 581

... and have read "remove the http there" but find no http there? Can anyone help to track down the cause of this?

... or "just add $printhr = false there it shud work"

But where do you add "$printhr = false" exactly?

Thank you.

EDIT : After trial and error I just removed = false; on thre line 581, 594 and 601. I also tried replacing them with $printhr = false. Either way the parse errors were gone.

I now have three GAB control menus in admincp. Have tried uninstall and reinstall with same result.

CosmicBlend
04-30-2005, 04:41 PM
I dont know if this is a bug or not, but i noticed after i added a banner to rotation.. when you click on the banner it does not follow the link you provide. It just goes to http:// thats it... also the phrasing after adding a banner does not work correctly, and i have done the edit and save thing with phrases.

m0nde
04-30-2005, 05:15 PM
My Admin Control Panel was missing phrases, but I've fixed that.

Now that I'm in...

I get this at the top of the "Settings" Control Panel page:
<td class="tfoot" colspan="2"
and the "SAVE" and "RESET" buttons are missing at the bottom.

On the "New Ad" Control Panel page:
<input type="submit" class="but
appears at the bottom and again the "SAVE" and "RESET" buttons are missing.

"Display Packages" results in the following mySQL error:
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM forum_GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'bostonlove.forum_gab_packages' doesn't exist

mysql error number: 1146

"Add Package" has no "SAVE" and "RESET" buttons at the bottom.

"Display Frequency" Control Panel works! "SAVE" and "RESET" are available and all is wonderful.

"Add Frequency" Control Panel works too! "SAVE" and "RESET" are available as well.

The testing Control Panel seems to be working and shows the following:
Problem You have no usergroups set to actually view ads. Check your settings.
Problem You have no scripts set to actually host ads! Go back to your settings bad boy.
Potential Problem There are no forumids to show ads if the script is showthread or forumdisplay.

"SAVE" and "RESET" buttons show up on this page as well.

I'm eager to try this hack in beta, but I need a bit of help.

- Sid

eXtremeTim
04-30-2005, 09:17 PM
how about the ability to handle ads like google adsense?

Rich
04-30-2005, 10:29 PM
Hello,
Without a doubt, I will be using this system. Lets see, I have the Article System, the Autolinks System, and Now the Banner Advertising.

The Geek hits a hatrick!
*Rich hits install!

Watson
04-30-2005, 11:51 PM
dont really wanna install this in the b3ta, cause I am uselss at coding, and prolly wont be much help, but I am defo keeping my eye on this topic :)

The Geek
05-01-2005, 12:01 AM
Doug - you will have to manually remove your extra admincp options. (Hey - look on the bright side - you dont have to stumple around looking for the settings!)

cosmic - In this version your ads can not be prefixed with http://

m0de - hmmm. Edit the GAB_admin.php page and look for <? after the javascript and change to <?php to see if that helps.
The package problem is a known issue - it isnt implimented yet.

Extremetim - It will most likely make the final

Thanks guys - Ill be picking this back up in a couple of days to complete it. If you are not offay with coding - I would wait a few for a final release.

THanks :)

uReside.com
05-01-2005, 02:21 AM
Whats the ETA on a final release? (subscribing)

007
05-01-2005, 04:04 AM
Hopefully any day now! :) This is going to be the best banner hack so far. I can't wait!

uReside.com
05-01-2005, 04:06 AM
yea, its everything i need, but i dont trust myself to install it, plus i want users to be able to advertise on their own on my site aswell, full automated.

Lionel
05-01-2005, 04:10 AM
If you have diificulties displaying it with advancedCMS, try putting
GAB_ad1
Gab_ad2
in the portal global output section

How do you make it rotate more than 2 banners? I have 5 of them, it is pulling them all, but rotating only 2 at the time.

The Geek
05-01-2005, 07:52 AM
Final should be within the next week - however this will not include the user integration side of things (see my post here (https://vborg.vbsupport.ru/showpost.php?p=647754&postcount=217) and here (https://vborg.vbsupport.ru/showpost.php?p=647470&postcount=202) for details of what I am now doing).

In a nutshell - a lot of the work has already been done - but I am going to decouple this from the user integration side of things to make it stand alone then release a package that snaps GAB and GAL together into a 'package' system where users can buy combinations of banners and/or ads and track their stats.

Once I get GAL 4 done Ill complete GAB rather quickly. THen I should be able to complete the snap together pretty fast too.

Watson
05-01-2005, 08:05 AM
I will need to uninstall the hack I already use for banners from me site :)

m0nde
05-01-2005, 08:05 AM
m0de - hmmm. Edit the GAB_admin.php page and look for <? after the javascript and change to <?php to see if that helps.
The package problem is a known issue - it isnt implimented yet.


Aww, that didn't fix it, no worries!

One question though:
Geek, man... is this an issue that I'm just having? And if so, why?
Everyone else seems to be running fine!
Is it because they started with your initial beta and then modified it? I started with your 2.01 version.

I love your installers because they keep the modifications and errors to a minimum. That's why I've homed in on GAB.

I'll wait 'til you're finished and not bother you about this.

- Sid

Lionel
05-01-2005, 04:31 PM
Geek I don't think you saw my question: How do you make it rotate more than 2 banners? I have 5 of them, it is pulling them all, but rotating only 2 at the time.

The Geek
05-02-2005, 07:03 AM
Geek I don't think you saw my question: How do you make it rotate more than 2 banners? I have 5 of them, it is pulling them all, but rotating only 2 at the time.
you should be able to set 'no of ads:' to 2 and number of banners in rotating'... to 2 - however I am not sure if its doing it as I jsut tr'ied it on a test version.

Lionel
05-02-2005, 07:11 AM
It's not doing it.

The Geek
05-02-2005, 09:31 AM
It's not doing it.
ya - verified. Ill sort it :)

Davez
05-03-2005, 04:07 PM
Hi anyone !

I just installed this hack , and i got some problems.
If i click on Packages in acp i get this error :


Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage: SELECT * FROM GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'sdtforum.GAB_packages' doesn't exist

mysql error number: 1146

Datum: 03.05.2005 19:04:11
Skript: http://www.xxx.com/admincp/GAB_admin.php?do=displaypackages
Referer: http://www.xxx.com/admincp/index.php?do=nav

if i wanna add a Package , i get :


Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage: INSERT INTO GAB_packages
(title,description,price,currency,duration,frequen cy,scripts,forumids,ordinal,hits,views) VALUES (
'test',
'test2',
2,
'EUR',
0,
0,
'forumhome,',
'9,36,',
0
0,
0
)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '0,
0
)' at line 12

mysql error number: 1064

Datum: 03.05.2005 19:06:18
Skript: http://www.xxx.com/admincp/GAB_admin.php
Referer: http://www.xxx.com/admincp/GAB_admin.php?do=addpackage

Someone got an idea to help me ?

Many thanks.

The Geek
05-03-2005, 04:09 PM
Hi anyone !

I just installed this hack , and i got some problems.
If i click on Packages in acp i get this error :


Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage: SELECT * FROM GAB_packages ORDER BY ordinal,title,id asc
mysql error: Table 'sdtforum.GAB_packages' doesn't exist

mysql error number: 1146

Datum: 03.05.2005 19:04:11
Skript: http://www.xxx.com/admincp/GAB_admin.php?do=displaypackages
Referer: http://www.xxx.com/admincp/index.php?do=nav

if i wanna add a Package , i get :


Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage: INSERT INTO GAB_packages
(title,description,price,currency,duration,frequen cy,scripts,forumids,ordinal,hits,views) VALUES (
'test',
'test2',
2,
'EUR',
0,
0,
'forumhome,',
'9,36,',
0
0,
0
)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '0,
0
)' at line 12

mysql error number: 1064

Datum: 03.05.2005 19:06:18
Skript: http://www.xxx.com/admincp/GAB_admin.php
Referer: http://www.xxx.com/admincp/GAB_admin.php?do=addpackage

Someone got an idea to help me ?

Many thanks.
packages are not implimented yet - just ignore for now :)

fogua
05-04-2005, 01:14 PM
Can you look at the stats of each banner?
Can I add more banner zones? like at the bottom?

CosmicBlend
05-04-2005, 02:23 PM
Can you look at the stats of each banner?
Can I add more banner zones? like at the bottom?

you should be able to add the banner varible in your footer template also

fogua
05-04-2005, 02:57 PM
you should be able to add the banner varible in your footer template also

And the zone will appear on the ADM I assume



and do youn now If I will be able to llok at stats something like this
https://vborg.vbsupport.ru/attachment.php?attachmentid=25583

fogua
05-05-2005, 01:12 PM
I have a Problem
I upload the files at their location and

I allready install it and shows :

File Changes complete.
All files I changed are in /Beta 2.0. You will need to copy those over to their forum locations once you are satisfied they are changed correctly.
Completed Install!

When I go look up those files I couldnt find them
And on the admin cpanel can find the option

The Geek
05-05-2005, 01:29 PM
I have a Problem
I upload the files at their location and

I allready install it and shows :

File Changes complete.
All files I changed are in /Beta 2.0. You will need to copy those over to their forum locations once you are satisfied they are changed correctly.
Completed Install!


When I go look up those files I couldnt find them
And on the admin cpanel can find the option
look in your gish folder :)

fogua
05-05-2005, 04:17 PM
Ok I fond them So I put the index.php in the admincp folder and de global.php on the buletin root.
When I try to get inside de admin y pops this error

Parse error: parse error, unexpected '=' in /homepages/44/d125171713/htdocs/forum/admincp/index.php on line 581

fogua
05-05-2005, 05:04 PM
I think I found the problem
On the ADMINCP folder
The Index.php file

On the line 581

...........

= false;
// === GAB ===

................

I just tipe
$printhr = false;

............

And it works Does this change was right

Ok now when I save on the configure option happen this.

The Geek
05-05-2005, 06:03 PM
I think I found the problem
On the ADMINCP folder
The Index.php file

On the line 581

...........


= false;
// === GAB ===

................


I just tipe
$printhr = false;

............

And it works Does this change was right


Ok now when I save on the configure option happen this.
yea - no ads are getting pulled because you have no ads yet ;)