PDA

View Full Version : Geek Advertising Banner system RC1


Pages : 1 [2] 3

venomx
05-05-2005, 06:08 PM
Maybe this needs a default ad for each ad type so when the ads run out something is shown? ;)

fogua
05-05-2005, 06:10 PM
yea - no ads are getting pulled because you have no ads yet ;)


in what folder should I put the adds?

The Geek
05-05-2005, 07:18 PM
in what folder should I put the adds?
the gab folder... then you need to add them via the admincp

fogua
05-05-2005, 08:14 PM
I have a problem
The install didnt creat the vb_GAB_packages table at the database

vb_GAB_packages' doesn't exist

I want to creat but dont know the values for

Ordinal
Title
Id
Asc

The Geek
05-05-2005, 08:26 PM
known issue - that side of things isnt implemented yet. In fact - Its being removed from this hack all together.
I am working to make the GAB hack stand alone then a seperate system to pull GAB and GAL togehter in a user module.

The Geek
05-05-2005, 08:32 PM
Now that GAL 4 is ending RC, Im picking GAB back up to finish its development.


As you are area aware (if you have been following the thread), I am going to decouple the user management side of GAB from the core system in order to make a stand alone banner system. Once that goes gold, I will then release a new hack that will allow users to purchase and manage their own GAL entries and/or GAB entries.

Anyhoo.... Saying that... I was hoping to include adsense support. Can anyone give me some details of what is required to spit out google adsense? Is it just a couple of settings? Are they static? Would a template sufice?

Thanks all.

SEO Report
05-07-2005, 03:02 AM
I was hoping to include adsense support. Can anyone give me some details of what is required to spit out google adsense? Is it just a couple of settings? Are they static? Would a template sufice?

Adsense is basically a "set and forget" system that consists of some html code dynamically served by google. If you allow text based banners, then you already support Adsense.

But tracking clicks and impressions is a different story though, you might well be able to track impressions, but sometimes the ad is just a PSA, which makes impressions inaccurate IMO.

Having said that, not being able to track adsense is not a big deal IMO, since google already offer such feature in Adsense CP.

-k

venomx
05-07-2005, 03:12 AM
I dont think you can track the clicks for adsense or any other HTML ad...
I have a banner exchange I run and if I put an HTML ad in I can only track the impressions. I have had no problem with this.

I run phpAdsnew on a few sites and it says it can edit the HTML ads code to track clciks, not sure if it works because i am scared to test it hehe

LEAD_WEIGHT
05-07-2005, 04:33 AM
I dont think you can track the clicks for adsense or any other HTML ad...
I have a banner exchange I run and if I put an HTML ad in I can only track the impressions. I have had no problem with this.

I run phpAdsnew on a few sites and it says it can edit the HTML ads code to track clciks, not sure if it works because i am scared to test it hehe

Just goto your adsense login page and look, even this pricey one does not have it.http://www.keyconcept.org/vbulletin-adsense-revenue-sharing-hack-mod/

uReside.com
05-07-2005, 04:51 AM
anxiously awaiting :D

KAC
05-07-2005, 11:43 PM
I keep getting "GAS_settings_saved" phrase missing when I try to edit settings. I am also getting DB errors when trying to add packages. I used the installer included even though the topic says there is not one. So what gives

The Geek
05-08-2005, 06:45 AM
read the thread - the packages are not implimented yet - thats why you are getting the package error and the GAS_settings_saved phrase missing is a known issue - all be it a mionor one.

Thanks

KAC
05-08-2005, 01:53 PM
So what should I do to make it work? I would like to use both your hacks as they are exactly what I am looking for.

The Geek
05-08-2005, 06:57 PM
So what should I do to make it work? I would like to use both your hacks as they are exactly what I am looking for.
It will work fine - just dont use the packages - thats a user interface option not needed for the banners to work.

Visions
05-08-2005, 07:01 PM
I still cant get it to work. I try to upload banners but i still see nothing on the entire site.

FD929
05-08-2005, 09:02 PM
Geek - love your work. I admin 2 sites and have some of your hacks on both.

Anyways, found a bug and it's been mentioned in the thread, but not exactly addressed. Here's the code.

Step by step

step 200
--------------------------------------------------------------------------------

in admincp/index.php, replace:

--------------------------------------------------------------------------------

$printhr = false;
if (can_administer('canadminstyles'))
{

--------------------------------------------------------------------------------

with:

--------------------------------------------------------------------------------

= 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'))
{


Seems that the initial '$printhr = false' is not being completely deleted or it's just a typo in the manual instructions.

FD929
05-08-2005, 10:01 PM
Geek - love your work. I admin 2 sites and have some of your hacks on both.

Anyways, found a bug and it's been mentioned in the thread, but not exactly addressed. Here's the code.

Step by step

step 200
--------------------------------------------------------------------------------

in admincp/index.php, replace:

--------------------------------------------------------------------------------

$printhr = false;
if (can_administer('canadminstyles'))
{

--------------------------------------------------------------------------------

with:

--------------------------------------------------------------------------------

= 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'))
{


Seems that the initial '$printhr = false' is not being completely deleted or it's just a typo in the manual instructions.
Well I've read most of the thread now. Disregard my previous post, although I still don't see that it was mentioned that it was written that way in the manual install instructions.

Anxiously awaiting the new release!

fogua
05-09-2005, 05:47 PM
On the admin shows de banner with no problem
On the forum wont show it.

When I run the test shows this

fogua
05-10-2005, 02:00 PM
Any one??????

The Geek
05-10-2005, 03:01 PM
Any one??????
That test is saying that
You dont have a valid script to test (ie there is no banner specified for that script)

Make sure you have valid scripts ticked in the settings and a banner that is also ticked for those scripts

fogua
05-10-2005, 03:32 PM
That test is saying that
You dont have a valid script to test (ie there is no banner specified for that script)

Make sure you have valid scripts ticked in the settings and a banner that is also ticked for those scripts


Please Geek Sorry
But Im desperate couse is the only thing missing before going online. Can you go to my admin and check its ok
I allready check and re ckeck and dont seem to find the problem

Thanks 100000 :)

The Geek
05-10-2005, 03:48 PM
Please Geek Sorry
But Im desperate couse is the only thing missing before going online. Can you go to my admin and check its ok
I allready check and re ckeck and dont seem to find the problem

Thanks 100000 :)
There were a few problems.
1- Admin usergroup had the option of turning off ads if the bio was blank.
2- No $GAB_ad1 appeared in your templates (so no ad would appear)
3- Only forumhome was ticked - I did forumdisplay for you.

fogua
05-10-2005, 04:36 PM
There were a few problems.
1- Admin usergroup had the option of turning off ads if the bio was blank.
2- No $GAB_ad1 appeared in your templates (so no ad would appear)
3- Only forumhome was ticked - I did forumdisplay for you.


Ok thanks
so the 2 point is the one missing
How do I add $GAB_ad1 and on what file?

The Geek
05-10-2005, 04:45 PM
Ok thanks
so the 2 point is the one missing
How do I add $GAB_ad1 and on what file?
you ad it to whatever template you want ads to appear in (i.e. navbar). Read the README as it explains all.

zell_11
05-10-2005, 05:15 PM
ok when i go into packages i get

Database error in vBulletin 3.0.6:

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

mysql error number: 1146

Date: Tuesday 10th of May 2005 07:13:46 PM
Script: http://www.zenogaming.com/forums/admincp/GAB_admin.php?do=displaypackages
Referer: http://www.zenogaming.com/forums/admincp/index.php?do=nav
Username: Cid
IP Address: 81.158.97.160


and when i try and add one i get

Invalid SQL: INSERT INTO GAB_packages
(title,description,price,currency,duration,frequen cy,scripts,forumids,ordinal,hits,views) VALUES (
'',
'',
,
'GBP',
0,
0,
'',
'101,113,114,115,116,98,106,105,104,103,102,100,11 0,111,112,99,107,108,109,22,29,30,31,32,33,34,35,5 7,23,24,25,26,27,28,80,87,88,81,82,92,117,95,40,85 ,41,42,43,55,86,',
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 '
'GBP',
0,
0,
'

mysql error number: 1064

Date: Tuesday 10th of May 2005 07:15:18 PM
Script: http://www.zenogaming.com/forums/admincp/GAB_admin.php
Referer: http://www.zenogaming.com/forums/admincp/GAB_admin.php?do=addpackage
Username: Cid
IP Address: 81.158.97.160


i have tried reinstalling the database but still no luck, anyone able to give me a manual run of the sql or somthing

The Geek
05-10-2005, 05:19 PM
packages are not implimented yet. You dont need them for the ads.

kafi
05-10-2005, 07:19 PM
Hi, thank you for your system. I am keen to work with it.

I found mistake during my installation. I had to change index in admincp and global.php myself.
I got message to do it so it is ok up to now.

But then i was directed to do as follow:
step 200
--------------------------------------------------------------------------------

in admincp/index.php, replace:

--------------------------------------------------------------------------------

$printhr = false;
if (can_administer('canadminstyles'))
{
--------------------------------------------------------------------------------

with:

--------------------------------------------------------------------------------

= 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'))
{

I got error in admincp, so I tried to figure out what is wrong /i am not coder/.
I have instead of your "replace with" but everything in "// === GAB ===" between "$printhr = false;" and "if (can_administer('canadminstyles'))
{"

Hope it is ok, because it works.

kafi
05-10-2005, 08:22 PM
I am trying to add banner, but do not now how. I copied the image to gab folder. What is next. Trying to add banner i am getting this message:

Warning: copy(./gab/toto.gif): failed to open stream: No such file or directory in /home/www/xxxxxxxx/www/admincp/GAB_admin.php on line 716

The Geek
05-10-2005, 08:23 PM
I am trying to add banner, but do not now how. I copied the image to gab folder. What is next. Trying to add banner i am getting this message:

Warning: copy(./gab/toto.gif): failed to open stream: No such file or directory in /home/www/xxxxxxxx/www/admincp/GAB_admin.php on line 716
you sure you have a folder in your forum directory called gab and its chmod to 0777?

kafi
05-10-2005, 08:38 PM
somhow i mannaged to add banner but i am getting same error message as fogua with test:

Variables passed varibales: Usergroup: Administrators (6), script=index (0), forum=blablablabla(10)
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: Um. err... No ads matched the criteria:
SELECT DISTINCT ad.id,ad.img,ad.track_shown, ad.max_views, ad.views FROM GAB_ads ad INNER JOIN GAB_listing lst on ad.id=lst.adid WHERE (lst.script = 'forumdisplay') AND ((startdate<1) or (startdate<1115761084)) and ((enddate<1) or (enddate>1115761084)) AND isactive=1 AND (lst.forumid = 10) ORDER BY RAND() LIMIT 2

.....after 5 min.

I have change dates, so it works now and I am getting this:
Variables passed varibales: Usergroup: Administrators (6), script=index (0), forum=Mzdové účtovníctvo, personalistika, odvody(10)
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

kafi
05-10-2005, 09:05 PM
Where do I change template for banner "frame"?
I would like to leave out all html code around banner. I want to have only banner at this stage.

Thank you

KAC
05-12-2005, 01:10 AM
It will work fine - just dont use the packages - thats a user interface option not needed for the banners to work.


Well then how do I add my banners? and where are the images placed? In my admin CP the add banner selection is not there. There is however a very thin box and when I click on it it comes up but when I go to save I get the phrase GAS thing.

Benj
05-12-2005, 09:12 AM
sweeet this hack looks good *installs* geek would you say this hack is stable ~? dont want to mess my bored up ! lol nice work

The Geek
05-12-2005, 11:08 AM
sweeet this hack looks good *installs* geek would you say this hack is stable ~? dont want to mess my bored up ! lol nice work
I would say hold off if you want total stability. I have resumed work on it - but its still beta so I wouldnt recommend using it on a live board (though most are)

The Geek
05-12-2005, 11:09 AM
KAC- add a Gloabl Control Panel phrase.

Varname: GAB_add_ad
Vlaue: Add ad

stroke25
05-12-2005, 05:39 PM
I found a problem with adding scripts.I have alot of custom pages and some use dashs and others use underscore in the file name.The ones that use the dash do not work while underscore work fine.

kafi
05-12-2005, 07:19 PM
Where do I change template for banner "frame"?
I would like to leave out all html code around banner. I want to have only banner at this stage.


Thank you
? any sugestions?

The Geek
05-12-2005, 07:26 PM
? any sugestions?
edit the GAB_ad template

mamboking
05-13-2005, 05:20 PM
I just want say this is a great hack. It exactly what I've been looking for, I can't wait until the final release. Also, I have gotten more support with this hack than anyother and a very special thank you to The Geek for your patients and support.

KAC
05-14-2005, 02:39 AM
Getting this now?

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

kafi
05-14-2005, 05:47 AM
edit the GAB_ad template

Geek, i tried that earlier, but it is not working. I had even deleted all htm code from template GAB_ad but nothing has changed. :surprised:

The Geek
05-14-2005, 05:54 AM
KAC - make sure you have a gab folder chmodded to 0777 in your forum directory

Kafi - There are 3 templates depending on the type of ad, theres the static banner, rollover, and flash tempate. Edit the one that pertains to what you need.

kafi
05-14-2005, 12:15 PM
KAC - make sure you have a gab folder chmodded to 0777 in your forum directory

Kafi - There are 3 templates depending on the type of ad, theres the static banner, rollover, and flash tempate. Edit the one that pertains to what you need.
Thank you Geek!!! I managed to find it also. I have changed GAB_ad_rotating and it is working now.


Pleas be patient with me, I have further questions.

Where do I find statistics on views and hits?

CosmicBlend
05-14-2005, 01:31 PM
Where do I find statistics on views and hits?


Its not implemented yet, it should be though in the final release last time i heard from The Geek

stroke25
05-14-2005, 07:37 PM
Geek

I found a problem with adding scripts.I have alot of custom pages and some use dashs and others use underscore in the file name.The ones that use the dash do not work while underscore work fine.

dkny
05-14-2005, 08:20 PM
great hack!

is there a way to make the banners appear in vbindex home page? I inserted $GAB_ad1 in the VBindex_header template but not showing up. What would I have to put in the "other script names (comma seperated)" field in the admin?

CosmicBlend
05-14-2005, 08:29 PM
great hack!

is there a way to make the banners appear in vbindex home page? I inserted $GAB_ad1 in the VBindex_header template but not showing up. What would I have to put in the "other script names (comma seperated)" field in the admin?


Im not familair with vbindex but if its anything like vbadanced cmps you need to add it as a global varible in its settings.

Hanif
05-16-2005, 04:16 AM
Wow a certainly intresting read. Just read ll the pages. Well done to you Geek for producing such a hack

When is the final stable advertising banner system coming out Geek?

kafi
05-17-2005, 09:00 AM
Geek,

1. I am also very interested what time will be final version. I really need views and hits statistic.

2. How can I produce $GAB_ad2, to use it for different place and different banners?

Mr.D
05-17-2005, 10:32 AM
I have a question What banner size do GAB offer can i use code for banners like from some advertising company. Can i show different banners for different categories.

The Geek
05-17-2005, 04:12 PM
I have a question What banner size do GAB offer can i use code for banners like from some advertising company. Can i show different banners for different categories.
Next version is in the pipework. Its slow going due to my current workload and the complexity of the system (and WoW). Im getting there but am loathe to announce anything yet ;)

Damir - not sure what you are asking really. You can specify the image size per ad... I am working on the option to specify code instead of just an image (eg adsense) however the ads are not really categorized. I thought about doing this however I didnt see a real reason to do so. Most people wont have so many ads that they need categories for management issues, and the end user wouldnt really see differing categories. So in a nutshell - there isnt category management - but thats because I didnt see the benefit ;)

Princeton
05-17-2005, 05:35 PM
I haven't tested nor installed this but I think it deserves some high praise.
me clicks 'install'

kafi
05-20-2005, 07:09 PM
Geek,

this hack is really what i was looking for, but i desperately need statistic of views and hits.
Is there any chance to get that?

Many many thanks in advance.

The Geek
05-20-2005, 11:23 PM
Geek,

this hack is really what i was looking for, but i desperately need statistic of views and hits.
Is there any chance to get that?

Many many thanks in advance.
not yet - the current version is recording it - but its a beta - I would avoid using it in a live setting right now.

kafi
05-22-2005, 11:03 AM
not yet - the current version is recording it - but its a beta - I would avoid using it in a live setting right now.
I have checked GAB_records table in MySQL, but it is empty.
I have set record views and hits, but nothing is working. Additionaly selction of views is always lost. So I can not activate track views.

Although I can select track_hits in GAB Manager, in functions_gab.php is only function to record views :-((((((

The Geek
05-22-2005, 09:37 PM
I have checked GAB_records table in MySQL, but it is empty.
I have set record views and hits, but nothing is working. Additionaly selction of views is always lost. So I can not activate track views.

Although I can select track_hits in GAB Manager, in functions_gab.php is only function to record views :-((((((
give me a few - Im working on a new version now.

BTW: views should be counted in functions_gab and clicks are counted in the redirect script.

Oscar19
05-24-2005, 05:17 AM
Geek this hack is awsome i can't wait to see the final version
Top Hack of the Year :)

Oscar19
05-25-2005, 03:27 AM
Geek when are u going to release the new version :) ? i just cant wait hahaha

The Geek
05-25-2005, 07:45 AM
Working on it - however I doubt you will see much till I get a look at vb3.5 as I dont want to invest a crap load of time only to redo it again.

Mr.D
05-27-2005, 10:26 AM
Working on it - however I doubt you will see much till I get a look at vb3.5 as I dont want to invest a crap load of time only to redo it again.


That is right, can wait for the hack :nervous:

DougM
05-28-2005, 05:01 AM
Agreed. I've installed the old trusty phpAdsNew on the site for which the highly anticipated hack is to be used, so getting by for now.

I hope being 3.5 compliant won't make it <3.5 non-compliant.

uReside.com
05-28-2005, 03:28 PM
geeze, everytime i turn around its another upgrade!

The Geek
05-28-2005, 07:15 PM
geeze, everytime i turn around its another upgrade!
er - I havent released an upgrade for this in about a month ;)

You need to turn around slower :)

Slave
05-30-2005, 07:43 AM
Working on it - however I doubt you will see much till I get a look at vb3.5 as I dont want to invest a crap load of time only to redo it again.
HI Geek :)

While I think it's good that you're looking forward to 3.5 .. I would ask that you keep working on 3.0.X hacks for the time being ..

The reason I say this is that I, and I'm sure a few others, wont be upgrading to 3.5 until all the hacks are upgraded .. which I suspect wont be for a long time.

I'm just asking that you keep this in mind. :)

The Geek
05-30-2005, 08:15 AM
Hey slave - the problem is that regardless, people will eventually move onto 3.5 (myself included) so I dont see a lot of point working to a depreciated version :(

Lately, my time has become very limited for macking and I want to make sure I spend the time I have wisely.

uReside.com
05-30-2005, 03:43 PM
subscribing again...

Nuckolsc.com
05-31-2005, 04:05 PM
When I tried to add a banner I got this:
Warning: copy(./gab/punishers.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716

Did I do something wrong on the setup or do I need to do something to that file? Any help would be great.. thanks man.

The Geek
06-01-2005, 05:47 AM
make sure you have a folder called gab in your forum directory that is chmodded to 0777

Nuckolsc.com
06-01-2005, 05:44 PM
make sure you have a folder called gab in your forum directory that is chmodded to 0777
That fixed that problem but after doing all of the fields for the banner in the admincp I now have this message:
vBulletin Message

Could not find phrase 'GAB_settings_saved'.

Know whats wrong. Thanks again man...

djsydeburnz
06-01-2005, 10:29 PM
i have a couple of questions.

got it installed in 3.0.7 and vbadvanced 1.0.1

the banner ads show up if i access the forum directly, but if i access a forum from the cmps_index.php page, it does not show up on the front page of the portal site, or any of the forum pages that i visit using the links from the front page. BUT, if I click on the main forum in the breadcrumb area, i can see the banners again.

in my admincp, the link for adding banners doesnt show up. just a small cell that changes color when i hover it, and it is clickable. it is just real tiny and no text.

djsydeburnz
06-02-2005, 01:12 AM
oh, also it seems to break the downloads module i have running (by ronin) and it doesnt like any characters in the url very much like & and ?

sorry to bother and thank in advance!

Osiris2k
06-02-2005, 02:47 AM
this looks like one of the best banners hax out there..will definately give this a try tmr! :D (if it is bug free)

any forums rinning this?

venomx
06-02-2005, 02:57 AM
I too will install this when its not beta and after 3.5 comes out and this has been updated.. got tooo many hacks as it is now that ill have to change over :(

CosmicBlend
06-02-2005, 03:06 PM
this looks like one of the best banners hax out there..will definately give this a try tmr! :D (if it is bug free)

any forums rinning this?

im running it on my beta site.. runs perfectly ive had no issues what so ever.

uReside.com
06-02-2005, 03:57 PM
<--- still trying to get it running right

i have that same "Could Not Find GAB Setting Saved" error too

JoeyAnderson
06-03-2005, 03:39 AM
Alright, I've got it running near perfectly on my site now.

http://www.carolinarides.com

My questions are these: 1) Why does it seem like my .gif banner ads aren't running all the way through? I've tinkered with the settings repeatedly, but it still seems like it isn't letting the .gifs finish.

2) Is there any way to change the banner-click function to pop up a new window with the link, and leave the bottom window as my forum?

Sweet hack once I got everything to work and editted a few small tidbits. The finish version will likely kick ass.

JoeyAnderson
06-03-2005, 03:57 AM
after doing all of the fields for the banner in the admincp I now have this message:
vBulletin Message

Could not find phrase 'GAB_settings_saved'.

Know whats wrong. Thanks again man...
Disregard that error message, it will be fixed in the final release. The hack works fine even with that error message.

JoeyAnderson
06-03-2005, 03:59 AM
<--- still trying to get it running right

i have that same "Could Not Find GAB Setting Saved" error too
Disregard that error, it will be fixed in the final release. The hack works fine even with that error occuring.

Bernd
06-03-2005, 09:32 AM
Does rotating allow the rotation of mixed banners? (flash and jpg for example).

As of now, only the flash banner shows up.

Nuckolsc.com
06-03-2005, 03:30 PM
Disregard that error, it will be fixed in the final release. The hack works fine even with that error occuring.
Not for me. It shows me that error then brings me right back to where you add the banner.

monkeyjoe
06-03-2005, 03:39 PM
Don't work for me or would have been good and what i was looking for :(

uReside.com
06-03-2005, 03:45 PM
mine acts like it works... but... doesn't show an ad, plus i get the "Could not find GAB_Settings_Saved" error :(

Bernd
06-03-2005, 07:28 PM
You have to fill in a value for "what to display if no ad is available" or something along those lines under settings. It didn't work on my site until I did that.

rrr
06-03-2005, 07:50 PM
Is it possible to have members "earn" advertising impressions for each post they make?

That way it can be a shared advertising co-op kinda thing that would encourage members to be active in the forum?

Like one post equals 1 impression (or 1 post equals 10 impressions -- or 1 post equals 100 impressions after you are in X membergroup). When you reach X membergroup you get 1000 bonus impressions, etc.

That would make this hack the awesomest :)

uReside.com
06-04-2005, 05:05 AM
You have to fill in a value for "what to display if no ad is available" or something along those lines under settings. It didn't work on my site until I did that.

where is that setting?!

how do i view the stats also, like views and hits??

uReside.com
06-04-2005, 05:12 AM
Variables passed varibales: Usergroup: Administrators (6), script=index (0), forum=Apartments Inside!(30)
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

when i test it, thats what i get

The Geek
06-04-2005, 08:57 AM
If no ads are showing up, it usually means that there is either:
1- no $GAB_ad set in a template
2- and/or the global settings are not set right (check to ensure the correct scripts are ticked there as well as forums, usergroups set to view ad AND make sure that if the usergroup setting to allow usergroups to toggle ads is ticked, that the field value isnt blank)
3- and/or the forums/scripts settings in the ad itself isnt set right

rrr - Im not sure what you man exactly. I think it wouldnt be hard to do a tie in to Ucash where users get points for clicking ads - but ads getting points for impressions?

Guys - there are many installation bugs with this thing still. All workarounds are minor and listed in this thread but I wouldnt suggest someone install this unless they are cool with doing some playing.
The next version isnt far off but I havent had much time to play with it and the impending vb3.5 is hindering my drive to spend much time in development.
Ill see if I can get a smoother running install for this weekend - but I cant promise anything.

Thanks

Bernd
06-04-2005, 02:45 PM
It has been mentioned before that the ad system only rotates 3 banners at a time despite the settings in the admin section.

Is there an easy fix for this? (manually changing settings in the database perhaps?).
I've currently found 5 sponsors for my site and would like to show a working rotation before we go live :)

Thanks a billion.

rrr
06-04-2005, 08:05 PM
rrr - Im not sure what you man exactly. I think it wouldnt be hard to do a tie in to Ucash where users get points for clicking ads - but ads getting points for impressions?

Well, I don't really want to encourage members to click on the banners unnecessarily by giving them points.

I run a business type forum, so my members would benefit if they could have their banners shown in the forums.

The more you post, the more banner impressions you get.

For example if your postcount is 100 posts, that would equal 1000 impressions (ad views).

Or it might be easier to award banner ad impressions (ad views) by the membergroup the person is in.

That way, if a person reaches say "supercool membergroup", then they are awarded 10,000 banner impressions. If they reach the superdupercool membergroup, then they are awarded 50,000 banner impressions.

Hope that make sense?

Mr.D
06-06-2005, 04:31 AM
Well, I don't really want to encourage members to click on the banners unnecessarily by giving them points.

I run a business type forum, so my members would benefit if they could have their banners shown in the forums.

The more you post, the more banner impressions you get.

For example if your postcount is 100 posts, that would equal 1000 impressions (ad views).

Or it might be easier to award banner ad impressions (ad views) by the membergroup the person is in.

That way, if a person reaches say "supercool membergroup", then they are awarded 10,000 banner impressions. If they reach the superdupercool membergroup, then they are awarded 50,000 banner impressions.

Hope that make sense?

I agree with rrr this is what i was looking for great idea rrr. Geek can this be done. Will make us all happy :banana:

kafi
06-10-2005, 07:15 AM
I just can't wait for full version :-((((((

grecostimpy
06-10-2005, 10:44 AM
Great hack! I have it mostly working except no ads are showing up.

I have all the scripts ticked on the setting tab as well as my ad.

I added $GAB_ad1 to my breadcrumb template for the navbar

Here's the results of my test:

Variables passed varibales: Usergroup: (COPPA) Users Awaiting Moderation (4), script=index (0), forum=Knowledge Base(85)

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

Usergroup Passed usergroup. This usergroup is set to view an ad.

Toggle Failed usergroup toggle test. This usergroup could not toggle ads on or off.

Script Passed script test. We are in a script that is set to view an ad.

Results: $GAB_ad1

Why no script?


Am I adding this to my navabr correctly (pardon the newb question)...this the very end of the code in breadcrumb....

</table>
</div>
<!-- / mypopupmenu -->
<!-- / NAVBAR POPUP MENUS -->
</if>

$GAB_ad1

Not sure if I did that right?

EchoZA
06-13-2005, 12:52 PM
O.K. I ran the install and all reported fine, I then uploaded the altered files over the old ones, and now my admincp does not show, just a blank page. Restored the backs and I have access to admincp again. I have gone through this process 5 times and the same each time. Any ideas?

The Geek
06-13-2005, 12:58 PM
Do you get the navigation page but not the actuall GAB admin page?

There is a bug in the file change for admincp/index.php that leaves an orphaned =false; line. You can just remove that from that page.
Some users had reported problems with the javascript that is in GAB_admin.php (toward the top of the page).
Do one of the following to sort it:
1- After the javascrtipt, change the <? to <?PHP
2- Delete the javascript.

My guess is that the first should sort it for you.

Greco - a common mistake that you may want to check is that you do not have a usergroup set to turn the ads off with a blank value in the - er - value box (hope that makes sense!).

rrr & madman. So you want to give banners based on postcounts? Im sure that wouldnt be too hard to do - but I will reserve that one for the GUSH add on.

EchoZA
06-13-2005, 03:31 PM
Do you get the navigation page but not the actuall GAB admin page?

There is a bug in the file change for admincp/index.php that leaves an orphaned =false; line. You can just remove that from that page.
Some users had reported problems with the javascript that is in GAB_admin.php (toward the top of the page).
Do one of the following to sort it:
1- After the javascrtipt, change the <? to <?PHP
2- Delete the javascript.

My guess is that the first should sort it for you.

Greco - a common mistake that you may want to check is that you do not have a usergroup set to turn the ads off with a blank value in the - er - value box (hope that makes sense!).

rrr & madman. So you want to give banners based on postcounts? Im sure that wouldnt be too hard to do - but I will reserve that one for the GUSH add on.

I get a blank white page, no admin login, nothing... which option should I try?

The Geek
06-13-2005, 04:37 PM
you may need to do both.

Remove any line that only reads:
=false;
or
= false;

from admincp/index.php

Then check the other points I mentioned.

EchoZA
06-14-2005, 06:43 AM
O.K. that seemed to work, but now I am sitting with 2 GAB Manager sections in my AdminCP

EchoZA
06-14-2005, 08:36 AM
I've removed it again, can't seem to get it installed properly. Do you have a manual install list?

EchoZA
06-14-2005, 09:22 AM
O.K. I am trying again...

Removed all upload files and all origional files in place, upload files, set CHMOD to 777 on dirs, ran install no errors reported.

Step by step

Attempting to auto hack files (in /).
Trying to make gish/gab ... Success!
Trying to make gish/gab/Beta 2.0 ... Success!
gish/gab already exists.
gish/gab/Beta 2.0 already exists.
Trying to make gish/gab/Beta 2.0/backup ... Success!
copying global.php to gish/gab/Beta 2.0/ ... Success!
copying global.php to gish/gab/Beta 2.0/backup/ ... Success!
Modifying file: global.php
Completed step 100
Saving changes to gish/gab/Beta 2.0/global.php

gish/gab already exists.
gish/gab/Beta 2.0 already exists.
gish/gab already exists.
gish/gab/Beta 2.0 already exists.
gish/gab/Beta 2.0/backup already exists.
Modifying file: global.php
Completed step 101
Saving changes to gish/gab/Beta 2.0/global.php

gish/gab already exists.
gish/gab/Beta 2.0 already exists.
Trying to make gish/gab/Beta 2.0/admincp ... Success!
gish/gab already exists.
gish/gab/Beta 2.0 already exists.
gish/gab/Beta 2.0/backup already exists.
Trying to make gish/gab/Beta 2.0/backup/admincp ... Success!
copying admincp/index.php to gish/gab/Beta 2.0/admincp/ ... Success!
copying admincp/index.php to gish/gab/Beta 2.0/backup/admincp/ ... Success!
Modifying file: admincp/index.php
Completed step 200
Saving changes to gish/gab/Beta 2.0/admincp/index.php

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!

Will no copy files across and check again.

EchoZA
06-14-2005, 09:54 AM
O.K. had to remove the = false; and now I have access to my ADMINCP, now when I check my GAB menu looks nothing like your screenshots? When I click save settings, I get "GAS_settings_saved" phrase could not be found, and where do I upload the banners? I'm going to read through this thread again!

EchoZA
06-14-2005, 10:43 AM
:D Oh! Happy Days, got it all working, read through this thread and checked all the errors and double checked my install, and now is working! Thanks for a GREAT hack, can't wait for the next installment (hopefully a little less troublesome than this install :D)

EchoZA
06-14-2005, 12:44 PM
Quick question, how do I get the banners to display on my portal pages, search pages, chat page etc? Working fine on forum, but for the life of me can't figure out how to add it to the other pages. Thanks! www.treatingyourself.com

CaitSith4343
06-14-2005, 03:54 PM
I am currently having a little trouble. I installed everything ok I think, but I still have errors. When I click on "add packages" I get the following error:


Database error in vBulletin 3.0.7:

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

mysql error number: 1146

Date: Tuesday 14th of June 2005 12:50:39 PM
Script: http://EDITED/forums/admincp/GAB_admin.php?do=displaypackages
Referer: http://EDITED/forums/admincp/index.php?do=nav
Username: EDITED
IP Address: EDITED


Also, how do I actually add my adsense?

Thanks,
CaitSith4343

EchoZA
06-14-2005, 04:18 PM
I am currently having a little trouble. I installed everything ok I think, but I still have errors. When I click on "add packages" I get the following error:


Database error in vBulletin 3.0.7:

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

mysql error number: 1146

Date: Tuesday 14th of June 2005 12:50:39 PM
Script: http://EDITED/forums/admincp/GAB_admin.php?do=displaypackages
Referer: http://EDITED/forums/admincp/index.php?do=nav
Username: EDITED
IP Address: EDITED


Also, how do I actually add my adsense?

Thanks,
CaitSith4343

looks like a database issue, are you sure you added all the tables into the database?

CaitSith4343
06-14-2005, 05:08 PM
I'm new to all this and I'm not really sure what you mean by tables :nervous:
Anyways, I uploaded the files in the upload folder, I went to the install url and did all the steps until the file changes, then I did them manually because I wasnt really sure how to do it the other way and didnt want to mess anything up. After that I just went to admincp and then got the error. Where and how do I add these "tables"?

The Geek
06-15-2005, 11:06 AM
Packages dont work as they were not implimented at the time this beta was uploaded Nor are the packages required for the banners to work.

What you may need to do is add the phrase GAB_add_ad with the text 'Add ad' to the global Control Panel phrases so that you can add the ad so to speak :)

rrr
06-15-2005, 08:06 PM
rrr & madman. So you want to give banners based on postcounts? Im sure that wouldnt be too hard to do - but I will reserve that one for the GUSH add on.

Woo hoo...nice to here!

May I ask what a "gush add on" is? :)

venomx
06-15-2005, 08:20 PM
Still hoping this will allow people to use UCash to buy ads too :)

iChambers
06-16-2005, 01:14 PM
Still hoping this will allow people to use UCash to buy ads too :)
You should have in the admin a external html box for other banners such as adsense code, flash banners code, or affiliate banners html that we get from other sites. I currently use PHPAdNews which seems to work great in that since but I do prefer one admin panel to manage the banners and site which would be vB Admin; may want to look into phpAdsNews and possible get some ideas for the have weight, time, day, when, where, etc and another thing is export html code so you can have a group of banners on other sites.

The Geek
06-16-2005, 01:36 PM
I dont use adsense so its difficult to test - however I think I have made the next version compatable with adsense or affiliate stuff.
We shall see. Its about ready (please remember that the GUSH stuff is coming AFTER this goes gold - and most likely not until AFTER vb3.5 does too).

m0nde
06-16-2005, 02:07 PM
I still haven't been able to get this script working with my board and I've noticed that others have had the same problems.

In the mean time, I've integrated phpAdsNew into my vBulletin 3.0.7 board with much success.

I think that if someone wants the features of this module completely integrated into vBulletin, then they should wait for GAB. But for those who want a functional ad engine with zones, etc. they should use phpAdsNew and then once GAB is ready and ported to 3.5 they should use that since the geek always does an excellent job with his installers.

- Sid

rrr
06-16-2005, 06:39 PM
But for those who want a functional ad engine with zones, etc. they should use phpAdsNew

I prefer adpeeps over phpads new for just general serving of banners. It's a bit more automated.

The Geek
06-17-2005, 08:01 AM
I have finally gotten around to fixing the most common install issues (packages not installing and phrase missing to add new template).

Sorry I didnt get time to do this before - I have just been swamped.

On a side note - I started (another) re-write of this mack to make a vb3.5 port as painless as possible (I want to work on this but dont want to waste my time creating something that would need a rewrite for vb3.5).
Progress is coming along quite well. If I dont get too sidetracked I should have something soon (yaya - Ive been saying that for awhile but Im feeling Lucky now). In the meantime this small update should sort out those that have had install and set up issues (dont bother with it if you have it going).

grecostimpy
06-17-2005, 11:02 AM
Greco - a common mistake that you may want to check is that you do not have a usergroup set to turn the ads off with a blank value in the - er - value box (hope that makes sense!).



Not quite making out what you mean here. Could you explain a little more detailed? Much appreciated.

Thanks! :squareeyed:

mkdevo
06-17-2005, 11:15 AM
don't really want to go through 25 pages to find out, but can someone tell me if this works with text-based ads (like Google AdSense) or not? thanks...

The Geek
06-17-2005, 11:20 AM
mkdevo - not yet - next version does. Fingers crossed should be out in next couple of days

greco- If you have any of the 'usersgroups that can toggle ads off' ticked, there is a drop down box that specifies which usergroup field to check to see if they want the option off - then there is a value box that indicates what the value should be if its off.
Frequently, I have helped people trouble shoot where they have a usergroup selected, something like the 'biography' drop down selected and then the value is blank.
Which essentially means those usergroups that are ticked with nothing in their bio will be choosing NOT to see an ad.
Another common problem is that there is a section to indicate which usergroups see ads - yet none have been ticked which means that no usergroups are set to view the ads!

Hope this makes sense!

kafi
06-18-2005, 06:25 AM
Geek does it, after last update, view&hit database recording already?

The Geek
06-19-2005, 04:11 PM
Hey Kafi - I only fixed a couple of install errors in this update... however:

Progress Update

I have just spent most of my weekend recoding this thing from scratch and although I was hoping to have it done tonight - it really shouldnt take more than another day (maybe two) for the final release. All I have left to do is finish the admincp and create a new installer.

This new version is coded using oop so that writing the vb3.5 version is little more than changing a couple variables and tweaking the installer. That also means users can rest assured that when using this on 3.07, an upgrade to 3.5 is a snap.

I also finally mastered the ability to have it spit out flash ads, static ads, rotating ads and/or text ads (ie adsense). You can also have multiple types on a page (i.e. a rotating banner at the top and adsense at the bottom). You can have as many ads as you want on a page, in any combination (although right now you cant have a flash AND a rotating banner on the same page). You could even use the new system to display popup adverts pretty easily if you wanted to.

Its far more customizable and more powerful than the previous version.

The new version uses the same type of impression/click stat recording/displaying system as GAL does meaning that the GUSH system wont be too hard to create (for thoseof you that havent followed development - GUSH is the system that will snap on to this and/or Geek Autolinker to allow you to sell ads and/or keywords and have users manage it all by themselves).

All in all Im pretty damn chuffed with myself - although banner scripts are not fundamentally difficult to create - it has been a serious challange to make this as flexible as possible for as many people as possible. Whether you are someone who only wants a simple banner on certain pages for certain usergroups or someone who wants to bombard users with 50 different custom types of adverts - this baby does it and more.

Stay tuned.

uReside.com
06-19-2005, 04:16 PM
wooohooo i'm so excited!!!

mkdevo
06-20-2005, 10:16 AM
can't wait! nicely done!!

grecostimpy
06-21-2005, 10:48 AM
greco- If you have any of the 'usersgroups that can toggle ads off' ticked, there is a drop down box that specifies which usergroup field to check to see if they want the option off - then there is a value box that indicates what the value should be if its off.
Frequently, I have helped people trouble shoot where they have a usergroup selected, something like the 'biography' drop down selected and then the value is blank.
Which essentially means those usergroups that are ticked with nothing in their bio will be choosing NOT to see an ad.
Another common problem is that there is a section to indicate which usergroups see ads - yet none have been ticked which means that no usergroups are set to view the ads!

Hope this makes sense!

Thanks, I checked everything. No usergroups are checked for toggle ads and all usergroups are checked to view ads. Odd, it just will not work! :ermm:

The Geek
06-21-2005, 11:39 AM
and all scripts are ticked and there is a $GAB_ad1 in your navbar template?

mamboking
06-21-2005, 05:21 PM
Can anyone tell me how to go about creating $GAB_ad2? I want setup a second region with a different set of ads.

The Geek
06-21-2005, 06:28 PM
GAB_ad2 is created automatically depending on settings.

For example, if you choose 2 ads per page, you will get $GAB_ad1 and $GAB_ad2

The next version allows you to specify per page.

speaking of:

Progress report.
Today I have had to rip the guts out of the stats system to pave the way for the GUSH system. I have also decided to change the templating mechanism back to using vb templates which means we are slightly delayed again (that and the fact I am going out of town again). All things going weell we should see an RC this weekend.

mamboking
06-21-2005, 07:26 PM
Thanks Geek,

I thought that's what I read somewhere else in the thread but don't how that translate into a second rotating banner like $GAB_ad1. If $GAB_ad1 pulls the ads for the first rotating banner; how do you designate ads for the second rotation. Or is it limited to one?

kafi
06-21-2005, 09:05 PM
All things going weell we should see an RC this weekend.
Geek thanks for this and all you do .-)

steadicamop
06-21-2005, 09:16 PM
This is a GREAT hack, adds all the extra stuff you ever wanted for ad banners!

I installed it quickly, and let it do the file changes, it actually messed up and missed out a $printhr from the admincp/index file, but not the issue.

I've uninstalled the hack and will try again tomorrow (late here!) but I had problems with the phrases, the GAB_settings_saved didn't work - it didn't exists, plus it would allow me to upload an image - failed to open stream.

I will try again tomorrow and give more detailed info, should it do it again, this time I'll make the file changes manually - I don't mind that much :)

Can't wait to get this working, just what I need!!

Thanks!

grecostimpy
06-21-2005, 11:23 PM
and all scripts are ticked and there is a $GAB_ad1 in your navbar template?

Yes....no luck. I know obviously I'm doing something wrong, as it's working for everyone. I think I may uninstall and try over.

tomshawk
06-22-2005, 12:09 AM
Yes....no luck. I know obviously I'm doing something wrong, as it's working for everyone. I think I may uninstall and try over.

No, you are not the only one ;)

I had phrase problems and

even though the built in tester said it was successful, No errors.

It still didn't show up.

I basically said, I'll wait until the full version comes out.

Luckily I always test big things like this, on a non public site ;)

As The Geek said many times,

It is a beta after all :p

jamiepryer@hotm
06-23-2005, 07:12 PM
sorry for sounding like a total looser, but i have no idea what the following means - really sorry guys, i am new to all this :ermm:

Ensure the gish folder is chmod 0777
Make sure that the gish folder (and its contents) are chmod'ed to 0777

so i got the following error:

Attempting to auto hack files (in /).
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab/Beta 2.0/backup ... Problem creating dir gish/gab/Beta 2.0/backup !
Destination path gish/gab/Beta 2.0/ doesnt exist. Cant copy files over for amending. Check readme for details on how to work around this.
Modifying file: global.php
gish/gab/Beta 2.0/global.php doesnt exist. Cant try to change.
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab/Beta 2.0/backup ... Problem creating dir gish/gab/Beta 2.0/backup !
Destination path gish/gab/Beta 2.0/ doesnt exist. Cant copy files over for amending. Check readme for details on how to work around this.
Modifying file: global.php
gish/gab/Beta 2.0/global.php doesnt exist. Cant try to change.
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab/Beta 2.0/admincp ... Problem creating dir gish/gab/Beta 2.0/admincp !
Trying to make gish/gab ... Problem creating dir gish/gab !
Trying to make gish/gab/Beta 2.0 ... Problem creating dir gish/gab/Beta 2.0 !
Trying to make gish/gab/Beta 2.0/backup ... Problem creating dir gish/gab/Beta 2.0/backup !
Trying to make gish/gab/Beta 2.0/backup/admincp ... Problem creating dir gish/gab/Beta 2.0/backup/admincp !
Destination path gish/gab/Beta 2.0/admincp/ doesnt exist. Cant copy files over for amending. Check readme for details on how to work around this.
Modifying file: admincp/index.php
gish/gab/Beta 2.0/admincp/index.php doesnt exist. Cant try to change.
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!

tomshawk
06-23-2005, 07:22 PM
sorry for sounding like a total looser, but i have no idea what the following means - really sorry guys, i am new to all this :ermm:

Ensure the gish folder is chmod 0777
Make sure that the gish folder (and its contents) are chmod'ed to 0777

so i got the following error:
The program you used to upload the files for this hack should have the ability to chmod.

chmod tutorial
http://catcode.com/teachmod/

Basically you need to change the permissions of the folder and all contents to 0777 which is read/write access.

the errors you are getting is because the script cant write the files to that directory.

HTH

jamiepryer@hotm
06-23-2005, 07:34 PM
sorted
i was using DW but i have a proper FTP client now :)
sorry guys

jamiepryer@hotm
06-23-2005, 07:47 PM
Hi,
ive installed the hack and all seems good

but when i go to my AdminCP and go to the "GAB Manager" drop down - nothing shows
i can click things and it brings up the menus, but the names are missing?

sorry if this is a repost, i did check to see if this has already been asked

steadicamop
06-23-2005, 07:48 PM
Ok here's the bugs I've found so far using VBB 3.0.7:

Phrase seems to be missing, even when you manually add it, it still doesn't show:

Could not find phrase 'GAB_settings_saved'.

Placing this code in the navbar template doesn't do anything:

$GAB_ad1

Error in admincp/index.php code change - code is:

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

Should be:

$printhr = false;
// === GAB ===

On advertising.php (I presume people can add their banners using this) - database error:

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

Found an error in admin/GAB_admin.php - looking for the wrong phrase (line 1034):

print_stop_message('GAS_settings_saved');

Should be GAB_settings_saved - but see above phrase issue.

A directory isn't created, this might be me not reading it right, but you need a ./gas directory for the images to be uploaded to.

And basically, I can't get it working, at all, I'm hoping that these will be resolved and a non beta will be released, this is a great hack.

jamiepryer@hotm
06-23-2005, 07:49 PM
++++ - sorry guys
i found it in the end! my bad

all working - cheers

jamiepryer@hotm
06-23-2005, 08:21 PM
right, im defaintly stuck now and i have read everything! sorry!

i cant get the ad's to save and i cant seem to upload images - altho i feel it would be so much easier if i could just put in a hyper link of where the banner is located on my server - is that poss?

Multani
06-24-2005, 01:11 PM
You are right and I still cant get it to work. Install is ok and testing shows up, but $GAB_ad1 does nothing to my templates...

Ok here's the bugs I've found so far using VBB 3.0.7:

Phrase seems to be missing, even when you manually add it, it still doesn't show:

Could not find phrase 'GAB_settings_saved'.

Placing this code in the navbar template doesn't do anything:

$GAB_ad1

Error in admincp/index.php code change - code is:

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

Should be:

$printhr = false;
// === GAB ===

On advertising.php (I presume people can add their banners using this) - database error:

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

Found an error in admin/GAB_admin.php - looking for the wrong phrase (line 1034):

print_stop_message('GAS_settings_saved');

Should be GAB_settings_saved - but see above phrase issue.

A directory isn't created, this might be me not reading it right, but you need a ./gas directory for the images to be uploaded to.

And basically, I can't get it working, at all, I'm hoping that these will be resolved and a non beta will be released, this is a great hack.

Multani
06-24-2005, 01:41 PM
I have $GAB_ad1 in the navbar, I run the test and everything looks fine, but the add wont show up on the forum.

The Geek
06-24-2005, 01:57 PM
if u PM me an admin account Ill look at it for you

Multani
06-24-2005, 02:57 PM
if u PM me an admin account Ill look at it for you

sent :)

COBRAws
06-24-2005, 10:18 PM
same "Could not find phrase 'GAS_settings_saved'." error here hehe

edit:

well, i found another "bug". You need to create the "gab" DIR on your forums root and chmod it to 777 so uploaded banners can be stored.

I also tryed to manually add the GAB_settings_saved and nothing worked. There is a GAS_settings_saved phrase that came on screen once, dont know what i did before i saw it, but it seems to be written wrong on some part of the script.

Finally, the $GAB_ad1 is not installed when you run the complete v2beta installer, so i had to go to my templates and put it there.

After all this I have said, Geek Advertising Banner works like a charm! (Those phrases errors still apear, but doesnt seem to affect the script).

I hope I could help you out a little The Geek, thanks for this hack.

Hanif
06-25-2005, 11:19 AM
Geek,

Any news on this eagerly waiting for the official release.

Ta,

Hanif

The Geek
06-25-2005, 03:04 PM
Working on it now. Problem is all of it is another freaking rewrite so its going slower than planned. However fingers crossed I may have the admincp done tonight or tomorrow and then its just the installer (All code is finished).

The next release will be an RC and should have everything complete except for phrases and the stats. The stats will be recording but the stats viewer will follow within a few days as there is some more work to do on it (however that shouldnt hold back the release!).

The Geek
06-26-2005, 09:10 PM
Progress update

o so close.

Sorry guys - I have just ran out of time today. Was planning on winding up a package today - but the sun actually came out in England (which is a rarity on a weekend) and I had some family obligations to attend to. Therefore I didnt get as much time into it as I was hoping too.

The good news is that aside from the stats viewer (which I will wait to release until the following RC) - I am 98% done with everything (code and admincp).
I have another couple hours backend coding, then I need to write the installer/upgrader, and a readme. All things said and done I am looking at about 5 more hours or so (not bad considering im well into 60 hours+ for this).

Anyhooo - release could come damn near at any time (except for tonight that is! Im going to bed).

Realistically - look Tues or Wed

beansbaxter
06-27-2005, 05:25 AM
I'm gonna hold out then till Tue or Wed...lookin VERY VERY forward to it as I need it bad...

Do you have an email addy I can send a PayPal donation to??

Hanif
06-27-2005, 09:36 AM
thanks for the update Geek,

Good point baxter I was thinking the same thing,

I'm prepared to pay you a little for your work that you have been doing on this. I think it's only right that you do get some payment. Ok it won't get you to sunny Spain but it's the thought that counts !!! .

As we all have families to feed and above all if its an advert system, surely many of us will be making some money on our site by using your mod.

Let me know dude when and where to send it.

Yours,

Hanif in sunny Leeds !

Divokymuz
06-27-2005, 11:59 AM
i did not install it till now, but what i read gives me hope :-)

Geek, i want to thank you, for all the time you spend helping the community and working on such hacks. realy great.

but now i have a question too :-) who supposed it ?

i read that you did not work with phpads. ok. it´s a great advertising software.
can you tell me, if it is possible to integrate normal phpads html code or iFrame into your adv-hack for vB ?

The Geek
06-27-2005, 12:42 PM
I have actually been planning on putting up a dontation button with this release. I always tried to avoid it as I dont do this for donations - I do it because the macks I release are ones I use and if it hleps the community - then cool - so be it. However Im over it now ;) If someone wants to donate - they will be able to with the next release :)

Most of the admincp is now complete. The installer is now done. I even phrased the damn thing now. Only thing thats missing is the test option, the stats option, and some fine tuning to bring it all together.
I am testing it and tweaking - Tuesday is looking to be the day (hell - maybe even tonight if I get really lucky).

Div - If I understand you right then yes. Basically the new system allows you to use a template as an ad. Meaning you can have 1 or 1,000 templates containg anything from HTML to BBcode to Iframes, whatever - and then set a flag to say thats your ad.

FamilyCorner
06-27-2005, 01:12 PM
Please forgive me if I missed this somewhere in this thread, but I didn't see it.

I am looking for a way to run my ad network banner tags (Iframes) and have them refresh every 60 seconds. I have the banner in a frame in my chatroom, but would prefer not to have to implement frames on the entire forum.

Does this have refresh banners for you when someone has been sitting on a page for a certain period of time?

(please say yes!) :confused:

If not, does anyone know of such an animal? I am definitely willing to give a donation for a hack that can do this for me as it would significantly increase my revenue.

The Geek
06-27-2005, 01:19 PM
there is a rotating banner facility however these are only for images (but now I think about it Im sure something could be tweaked) however all you need to do is use something like this (well - next version) - have one of the custom templates be an iframe to an iframe with a 60 second refresh.

Not overly difficult to do

FamilyCorner
06-27-2005, 01:22 PM
Really?? I am SO ready for this, when will it be released? Can you assist in the "tweaking", or is that something you'll have available in the next version? And when?

Can you tell I'm excited?? :)

Divokymuz
06-27-2005, 02:05 PM
yeah, you understood me right.

great to hear this.

The Geek
06-27-2005, 06:51 PM
Whelp - you should all be about ready to smell it.

There is now very little left for me to do (except for the readme a template or two, the stat viewer and the tester).
Ill be releasing tomorrow for sure.

Heres a few shots to wet your appetite.

enginethatcan't
06-27-2005, 07:04 PM
Getting the Could not find phrase 'GAS_settings_saved'

how can I fix it?

The Geek
06-28-2005, 08:17 AM
Getting the Could not find phrase 'GAS_settings_saved'


how can I fix it?

I wouldnt bother. For 1 it has no bearing on the functionality and for another, the new version will be out later today.

mkdevo
06-28-2005, 10:56 AM
:drool:

geek - looks fantastic, and well worth the wait! thank you!!

The Geek
06-28-2005, 08:37 PM
Sorry - but it aint gonna happen tonight :(

It looks like I still have a couple more hours worth of work left on it and I cant be asked to continue on as my keyboard is wireless and I think someones cable tv remote is screwing with it and hence my code.

However I promise it will be released tomorrow. I only have some testing, a bit more on the readme, and it will be in a useable state.
Then all I will have to do is the stats viewer (but as I mentioned before, that can wait until before a final release).

See you all tomorrow.

FamilyCorner
06-28-2005, 11:06 PM
However I promise it will be released tomorrow.

Well thank you for all your hard work! Looking forward to trying it out :)

luckske
06-29-2005, 02:26 AM
Parse error: parse error, unexpected '=' in /home/luckske/public_html/cinema4d/vb/admincp/index.php on line 614

anyone knows what i did wrong ? i followed every step but still keep getting this error :disappointed: .

COBRAws
06-29-2005, 03:32 AM
Sorry - but it aint gonna happen tonight :(

It looks like I still have a couple more hours worth of work left on it and I cant be asked to continue on as my keyboard is wireless and I think someones cable tv remote is screwing with it and hence my code.

However I promise it will be released tomorrow. I only have some testing, a bit more on the readme, and it will be in a useable state.
Then all I will have to do is the stats viewer (but as I mentioned before, that can wait until before a final release).

See you all tomorrow.
np mate! we will wait.

Only one suggestion what would be great, having the templates located into a category on our template listings. I dont know if u understand my english. What I would like is to have all templates grouped, cuz in the beta version they are not, or at least my installed version didnt group them.

Cheers!

* COBRAws loads his paypal too :D

The Geek
06-29-2005, 02:11 PM
RC1 is out.
Be sure to read the README. The only thing I think is still missing is the stats viewer (on its way).

To upgrade from Beta 2, Uninstall it and then install the new package.

The Geek
06-29-2005, 02:18 PM
*cough* erm. I just re-uploaded the zip as I stumbled across a typo in the advertising.php file. If you downloaded before the date on this post - just download again and replace the advertising.php file ;)

tomshawk
06-29-2005, 03:24 PM
*cough* erm. I just re-uploaded the zip as I stumbled across a typo in the advertising.php file. If you downloaded before the date on this post - just download again and replace the advertising.php file ;)

Excellent, I'll start testing this soon, but...

One question.

I like that it butters my toast, but, could we add the bumm wiping feature back in, I really liked that one.

:p

Thanks for the hard work, I'll be testing this shortly ;)

The Geek
06-29-2005, 05:04 PM
Thanks - ill look to put it back in! Make sure you use the package I just uploaded as I squashed a couple more bugs I came by whilst working on the stats system :)

To upgrade from RC1 to RC1.01, just download the latest package and replace all physical files.

steadicamop
06-29-2005, 06:11 PM
Ok, just tried installing RC1.01 and get this error on /index.php

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

That line of code is:

foreach($script['ads'] as $key=>$value){

Any ideas?

I'm not going to uninstall it just yet ... will see if this is something wrong at my side ... or a bug.

The Geek
06-29-2005, 06:14 PM
Ok, just tried installing RC1.01 and get this error on /index.php

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

That line of code is:

foreach($script['ads'] as $key=>$value){

Any ideas?

I'm not going to uninstall it just yet ... will see if this is something wrong at my side ... or a bug.
Looks like an untrapped check against empty ads.

Ill go put a check in - however in the meantime, try to ad a banner and see if that sorts it

steadicamop
06-29-2005, 06:15 PM
That was with a banner set up ... will try and alter some settings on the banner page - will let you know in a few mins.

Quick reply ... respect sir!

steadicamop
06-29-2005, 06:19 PM
Nope, tried with, without a banner and altered settings, had a few problems as when I clicked save for a new banner, nothing was there after, I had to do this three times before one showed up.

The Geek
06-29-2005, 06:21 PM
That was with a banner set up ... will try and alter some settings on the banner page - will let you know in a few mins.

Quick reply ... respect sir!
Another thing might be that you have unticked a scripts 'use master' option and that script has no ads in it (hence the error). Im going to go down and set it up to test it.

I guess I like to lurk about after new releases to make sure that no one has any problems ;)

steadicamop
06-29-2005, 06:28 PM
Reading thru the readme file, the scripts page is for entering what template (?) the ads will be on ... in my case I went for forumhome, so I put that in the ID and Description .. and ticked both boxes, clicked save and nothing appeared, did this 3 or 4 times, nothing has shown - I'm presuming this isn't right?

Hanif
06-29-2005, 06:29 PM
Dont see where I can add the banners menu.

Installed successfully without a problem but unless I'm missing something can't see the menu to add adverts???

Wot am I missing?

Hanif

steadicamop
06-29-2005, 06:32 PM
Have you copied the altered files from the /gish/gab/RC1.0 directory to their respective places?

The Geek
06-29-2005, 06:33 PM
Reading thru the readme file, the scripts page is for entering what template (?) the ads will be on ... in my case I went for forumhome, so I put that in the ID and Description .. and ticked both boxes, clicked save and nothing appeared, did this 3 or 4 times, nothing has shown - I'm presuming this isn't right?
The scripts will have been set up to begin with. You shouldnt have to add additional scripts just to get an ad to appear in the forum home.

Do this:
Go into your admincp, expand GAB
Click scripts
You should see a bunch of scripts set up already. All of them should have all of their boxes ticked. If not, tick them and save.
Click categories
edit the cateogry in question
ensure all scripts and forums are ticked
save

You shouldnt have to change templates, nor ad scripts. The forumhome script is actually called index

If you are still having problems, PM me an admin account and ill look at it for you

The Geek
06-29-2005, 06:34 PM
Dont see where I can add the banners menu.

Installed successfully without a problem but unless I'm missing something can't see the menu to add adverts???

Wot am I missing?

Hanif
Hanif, you may also have to edit a phrase (any phrase) and click save to rebuild the cache

steadicamop
06-29-2005, 06:39 PM
The scripts will have been set up to begin with. You shouldnt have to add additional scripts just to get an ad to appear in the forum home.

Do this:
Go into your admincp, expand GAB
Click scripts
You should see a bunch of scripts set up already. All of them should have all of their boxes ticked. If not, tick them and save.
Click categories
edit the cateogry in question
ensure all scripts and forums are ticked
save

You shouldnt have to change templates, nor ad scripts. The forumhome script is actually called index

If you are still having problems, PM me an admin account and ill look at it for you

There's no scripts listed at all -- blank, will PM you now with details for log in ... thank you, very appreciative of your help.

Hanif
06-29-2005, 06:39 PM
Have you copied the altered files from the /gish/gab/RC1.0 directory to their respective places?
sorry do you mean FTP all the files over...I've done that.

And looked at the phrases again to what the Geek has said but again no GAB menu or banners???

Strange.

Hanif

steadicamop
06-29-2005, 06:44 PM
Yeah, the installed puts the amended files in the /gish/gab/RC1.0 directory, global.php needs to go to the root, and in the admincp directory, index.php needs to go to your admincp/ directory ... hope this helps!

The Geek
06-29-2005, 06:47 PM
You should ftp both global.php and admincp/index.php from the gish/gab/rc1 folder to your computer, then upload them to the forum folder.

Essentailly your changed files are stored in gish/gab/rc1 until you physically move them yourself as a safety measure. It looks like they are still there (check out the readme)

Update:
I fixed the unchecked array just mentioned. It was occuring if the script had no ads assigned to it. To upgrade from the previous RC versions, just download the latest package and overwrite your physical files.

Hanif
06-29-2005, 06:56 PM
ok bit lame here just to be sure then
RC1.0 folder
has global.php and index.php
and a backup and admin folder

now those two files need to go to the root of the forum folder?

and admincp folder holds
index.htm and index.php that needs to go in admincp folder right?

Just to be sure before I overwrite them?

Ta,

Hanif

steadicamop
06-29-2005, 07:05 PM
The two files (global.php and admincp/index.php) should go to their locations as The Geek mentioned above, the backup directory holds the unchanged files - DON'T DELETE THESE JUST IN CASE! Don't copy index.htm to the admincp directory - your admincp disappears!! Only copy index.php.

If you're really not sure, download global.php and admincp/index.php before you overwrite them - better to be safe than sorry!

Hanif
06-29-2005, 08:11 PM
Got it figured nice one geek,

one thing that I dont understand is I want two adds to appear on my page however,

I'm following your instructions as per :

"For instance, lets say you had GAB configured to produce 2 ads on a page (one at the top and one at the bottom)... You could then place $GAB_ads[0] in your navbar template and $GAB_ads[1] in your footer template.
The more ads you have configured in your settings, the higher $GAB_ads will go. That means you could theoretically have 9,999+ ads on a single page (you would just need to have $GAB_ads[9998] somewhere ;-)"

yet only one fails to load. And that is at the top of the Navbar...

Would idelly like one to have at the bottom of the footer as well, yet placed an entery as $GAB_ads[1] in the footer, yet no joy.

Any ideas?

Kind regards,

Hanif

The Geek
06-29-2005, 08:14 PM
Got it figured nice one geek,

one thing that I dont understand is I want two adds to appear on my page however,

I'm following your instructions as per :

"For instance, lets say you had GAB configured to produce 2 ads on a page (one at the top and one at the bottom)... You could then place $GAB_ads[0] in your navbar template and $GAB_ads[1] in your footer template.
The more ads you have configured in your settings, the higher $GAB_ads will go. That means you could theoretically have 9,999+ ads on a single page (you would just need to have $GAB_ads[9998] somewhere ;-)"

yet only one fails to load. And that is at the top of the Navbar...

Would idelly like one to have at the bottom of the footer as well, yet placed an entery as $GAB_ads[1] in the footer, yet no joy.

Any ideas?

Kind regards,

Hanif
I assume all of your scripts have 'use master' ticked?

If so, make sure that the master script has 2 ad entries in it. All you have to do is click scripts->Master

There will be 1 block per ad. If you want more, click the add new button and configure appropriately

Hanif
06-29-2005, 09:33 PM
Geek, got an error, is this related to the ads???

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT ad.id,ad.url, ad.img imgpath,c.track_views, c.track_hits, ad.max_views, ad.width, ad.height, ad.views, ad.template, ad.frequency,
c.template cat_template
FROM vb3_GAB_ads ad
INNER JOIN vb3_GAB_cats c ON ad.catid=c.id
WHERE ((ad.startdate<1) or (ad.startdate<1120084106)) and ((ad.enddate<1) or (ad.enddate>1120084106))
AND (forumid = 15)
AND c.scripts like '%,forumdisplay,%' AND ad.id IN (-1,4,7) ORDER BY RAND() LIMIT 6
mysql error: Unknown column 'forumid' in 'where clause'

mysql error number: 1054

Date: Wednesday 29th of June 2005 11:28:26 PM
Script: http://www.muslimprofessionals.org.uk/forums/forumdisplay.php?f=15
Referer: http://www.muslimprofessionals.org.uk/forums/index.php?
Username:
IP Address: 81

Any ideas????

Kind regards,

Hanif

Hanif
06-29-2005, 09:47 PM
I think I figured it out Geek but need your thoughts on this...

I went in to Master to say I want two adverts to be displayed..so I clicked on Add and had two entries displayed.

I also specified that 2 banners in the ad to be displayed.

Once I clicked on save, go to the forum home page and voila ! I can see two adverts on the home page, very neat !!!

Yet if I go into any of the forums then it comes up with that previous sql error.

I thus went back and reverted to previous settings and only have one add displayed. And the error message goes.

I'm sure it's something trivial.

Must say very impressed with it.

Kind regards,

Hanif

Hanif
06-29-2005, 10:17 PM
Last one for tonight I hope

Entered a URL to direct users on how to learn more about advertising does not work for me, shows up advertising.php even though a value is present that differs from advertising.php

I like it ;)

Hanif

Reeve of shinra
06-30-2005, 02:41 AM
ITs looking good. I'm gonna install anyway but whats the typical query count?

The Geek
06-30-2005, 02:59 AM
Hanif - I think you have a previous package. Download the latest and overwrtie your files (I stumbled across that error shortly after I upoaded the first RC1 and am pretty sure I fixed it then).

Reeve - That totally depends on how you have it configured.
Text ads (i.e. adsense)=0 queries
1 static banner on a page with no tracking =1 query
More than 1 image/flash banner on a page with no tracking=2 queries
If any of the banners on the page require impression tracking then there is a minimum of an additional query per page. This is per banner that requires the impression tracking however there is a throttle level that dictates the maximum number of queries are made from impressions. For example, if you have 3 banners on a page that you are requiring impression tracking on and your throttle is set to a number less than 3, then it rolls up those queries into 1 to be unpacked at a later stage by the cron job.

Kind of complex, but all in the name of customization ;)

Hanif
06-30-2005, 10:36 AM
Hanif - I think you have a previous package. Download the latest and overwrtie your files (I stumbled across that error shortly after I upoaded the first RC1 and am pretty sure I fixed it then).
Geek donwloaded the latest package and overwrote my files.

I dont need to run the installer again do I ? If not when I click on want to advertise with us that opens up a blank page.

Also, I noticed another bug...just sometimes, the ads wont load all together you have to do a refresh of the page and then an add pops up. This I think is an intermittent problem, I've been trying to replicate it but its like a hit or miss.

Otherwise no other bugs or issues found as of today. Mu users are well impressed ;)

Look forward to your thoughts.

Kind regards,

Hanif

Hanif
06-30-2005, 10:48 AM
As discussed Geek, the attached image to the associated error message where sometimes, the ads dont load up.

Very strange. Can't figure it out.

Kind regards,

Hanif

The Geek
06-30-2005, 12:34 PM
Looks like an erroneous entry (i.e. an uncategorized, empty banner entry). If you could pm me an admincp account, I will look into it for you.

tomshawk
06-30-2005, 01:23 PM
OK, This is wierd.

I create a banner, and upload the image but it doesn't show up, even in the admincp banner setting screen.
I ftp in, to verify the image got copied in, it did, I see it sitting there!
But...

In the admincp, banner setting, the image does not display.

I told it to load in the header, as well as forumhome template.
Nothing shows, no banner and no image.

I try setting up an adsense, using my adsense code in the adsense template, Still nothing in header or forumhome.

Any ideas, as to what I may have done wrong?

The Geek
06-30-2005, 02:05 PM
OK, This is wierd.

I create a banner, and upload the image but it doesn't show up, even in the admincp banner setting screen.
I ftp in, to verify the image got copied in, it did, I see it sitting there!
But...

In the admincp, banner setting, the image does not display.

I told it to load in the header, as well as forumhome template.
Nothing shows, no banner and no image.

I try setting up an adsense, using my adsense code in the adsense template, Still nothing in header or forumhome.

Any ideas, as to what I may have done wrong?
Just check your templates for me. Another user upgraded yesterday and for some odd reason only a couple templates installed resulting in something similar. After running the template portion of the install again, it worked.
If you want to see a list of the templates that should be there, click settings->templates. The right hand columns are templates that should have installed.

tomshawk
06-30-2005, 02:23 PM
These are te template I have

GAB_item_image
GAB_item_flash
GAB_custom_adsense
GAB_custom_custom1
GAB_item_rotating
GAB_wrapper_standard

I went ahead and reinstalled them for giggles, same thing

There is one odd thing, in Gab manager\Settings\Templates
The GAB_item_rotating template does not show up on that list, I just noticed it in the Style Manager

Because of that, I added a new Template called Rotating Banner with that template, but it did not matter.

Also, I did not upgrade, I did a fresh install to my testvb forums to get a clean start.

The Geek
06-30-2005, 02:42 PM
These are te template I have

GAB_item_image
GAB_item_flash
GAB_custom_adsense
GAB_custom_custom1
GAB_item_rotating
GAB_wrapper_standard

I went ahead and reinstalled them for giggles, same thing

There is one odd thing, in Gab manager\Settings\Templates
The GAB_item_rotating template does not show up on that list, I just noticed it in the Style Manager

Because of that, I added a new Template called Rotating Banner with that template, but it did not matter.

Also, I did not upgrade, I did a fresh install to my testvb forums to get a clean start.
The rotating template is hard coded for selection when you set up an ad that rotates.

Tom, caould you spare me an admin account to have a look at your settings?

The Geek
06-30-2005, 02:47 PM
BTW: is it adsense you are setting up? Did you put the adsense (or any text) in the GAB_custom_adsense template? Did you set up the ads in the scripts correctly?

The ads are defined in the script (generally MASTER while all others 'use master' unless you want to override the setting). For adsense, you need to have an ad block in the script in question, the wrapper template needs to be set to standard and the custom/adsense put in the ad pull down box

Also, all have to be marked as 'active' ;)

tomshawk
06-30-2005, 06:11 PM
Private Message sent,

Yes, I placed my adsense code in the adsense template ;)

waza
06-30-2005, 06:16 PM
I get this error:
Fatal error: Cannot redeclare class gab_base in /home/wazabe/public_html/forum/includes/gab_class_core.php on line 4

The Geek
06-30-2005, 06:24 PM
I get this error:
Fatal error: Cannot redeclare class gab_base in /home/wazabe/public_html/forum/includes/gab_class_core.php on line 4
You most likely did the file change twice. Double check your global.php file edits (search for gab)

waza
06-30-2005, 06:28 PM
Uhu, indeed.
But you know, file change 101 was done, and file change 100 and 200 weren't ?? :s

The Geek
06-30-2005, 06:32 PM
Uhu, indeed.
But you know, file change 101 was done, and file change 100 and 200 weren't ?? :s
ah.

Sometimes people miss the 'couldnt complete step xxx' message that is a link to the manual change.

nJoy

The Geek
06-30-2005, 06:32 PM
Private Message sent,

Yes, I placed my adsense code in the adsense template ;)
sorted you ;)

tomshawk
06-30-2005, 07:07 PM
sorted you ;)

sort of, you got the Master working, but, I still cant get adverts I create working.

Thoughts?

tomshawk
06-30-2005, 07:24 PM
sort of, you got the Master working, but, I still cant get adverts I create working.

Thoughts?

Bingo, got it now

Thank you The Geek

Most excellent, maybe its just me, you may want to revise the instructions a little, but, again, sometimes I'm a little thick headed. :p

You rock

The Geek
06-30-2005, 07:41 PM
I agree. I dont think its clear enough how to set up the ads - I am going to revise my readme ;)

Hanif
07-02-2005, 09:17 AM
Geek a further error, when you do a search the following error is displayed,

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)

mysql error: Can't open file: 'vb3_postindex.MYD'. (errno: 145)

mysql error number: 1016

Date: Saturday 02nd of July 2005 11:12:28 AM
Script: http://www.muslimprofessionals.org.uk/forums/search.php
Referer: http://www.muslimprofessionals.org.uk/forums/search.php?

The Geek
07-02-2005, 09:31 AM
Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)

Hey hanif - this cant have anything to do with GAB. Looks like you have a corrupt table.

Marco van Herwaarden
07-02-2005, 10:55 AM
Try repairing your tables (more then once if needed). This is a database file corruption and has nothing to do with vB or a hack.

Error code 145: Unknown error 145
145 = Table was marked as crashed and should be repaired

Geek a further error, when you do a search the following error is displayed,

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)

mysql error: Can't open file: 'vb3_postindex.MYD'. (errno: 145)

mysql error number: 1016

Date: Saturday 02nd of July 2005 11:12:28 AM
Script: http://www.muslimprofessionals.org.uk/forums/search.php
Referer: http://www.muslimprofessionals.org.uk/forums/search.php?

Hanif
07-02-2005, 04:30 PM
Apologies for Geek and everyone on here thinking that it was something to do with GAB.

I should have researched a bit more before barging in.

Sadly, I have got a SQL database problem and the damn thing wont load up now.

So peed.

Kind regards,

Hanif

Philipf
07-03-2005, 10:10 PM
Right, I dont normally post unless I absolutly have to. But I have tried installing this twice now, and both time I have got nowhere. The problem Im having is....well Im not sure, it doesn't kick out any errors or problems, but it doesn't show any banners either.

I am setting it up correctly, I am putting the required code into the correct templates, but stilll no luck, I am using 3.0.5, so could that be the problem? I didn't think there was much between the 2.

It is currently uninstalled because I was trying to implement phpadsnew, but that gave me the same problem. But I wanted something that was meant for vB anyway. Maybe its the skin?

Any help would be appreciated.

Thanks, Philip

The Geek
07-04-2005, 06:31 AM
Right, I dont normally post unless I absolutly have to. But I have tried installing this twice now, and both time I have got nowhere. The problem Im having is....well Im not sure, it doesn't kick out any errors or problems, but it doesn't show any banners either.

I am setting it up correctly, I am putting the required code into the correct templates, but stilll no luck, I am using 3.0.5, so could that be the problem? I didn't think there was much between the 2.

It is currently uninstalled because I was trying to implement phpadsnew, but that gave me the same problem. But I wanted something that was meant for vB anyway. Maybe its the skin?

Any help would be appreciated.

Thanks, Philip
Hey Philip, have you checked your global.php file edits?

Then check the following settings:
1- Make sure the categories you upload banners into have the correct scripts and forums ticked
2- Make sure that the banners are active
3- Make sure that the categories are active
4- Make sure that the script is active
5- Make sure that the script has at least 1 ad block (or has the 'use master' option ticked. In that case make sure that the master script has at least 1 ad block)

Also, if you hazve multiple skins, make sure that $GAB_ads[0] appears in the style you are using.

HTH's

[email protected] vbmenu_register("postmenu_731204", true);
07-06-2005, 01:07 AM
I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.

The Geek
07-06-2005, 07:05 AM
I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.
The banners (images and flash files) will get uploaded into the gab folder as long as your settings are correct (i.e. the server path is correct and the url path is correct).

You also need to make sure that you have $GAB_ads[0] in your tempalte somewhere (i.e. the top of the navbar template) and make sure you moved over the edited files from gish/gab/rc1

IF still having problems, PM me an admin account to check it out.

sm00nie
07-06-2005, 01:54 PM
Hiya,

I'm having a similiar prolbem as phillpf. The banner images are uploading to 'gab/0' . I have $GAB_ads[0] in my template aswell. Also, When I go to edit an image there is no image already displaying.

I've gone through your list and all looks checked off.
Any ideas ?

Thanks,
Shawn

The Geek
07-06-2005, 03:43 PM
Hey Shawn, was this an upgrade from the earlier beta?

Can you check that the templates listed in settings->templates exist in your styles? (i.e. gab_item_image)

beatyourtruck
07-06-2005, 05:37 PM
First off, I am a new Vbulletin user (former phpBB2) and an very pleased to find this mod! It is exactly what I am looking for (I have never liked phpAdsNew...too hard to operate). Thank you for all the hard work and effort The Geek!

Anyway, downloaded and installed the mod today. No errors, only had to do the save phrase thing to get the words to show in the GAB menu. All is cool with that. Also was able to upload a banner! Excellent.

Now the problem, my forum (brand new 3.0.7 install with only CSS style changes done to it) just comes up with a blank screen. I placed the old Global file back in the root and the forum comes up! Hmmm! So I uninstalled the mod...reinstalled and the same thing.

Any ideas? Something goofed with Global or......?

sm00nie
07-06-2005, 06:14 PM
Yep, it shows in my default template ( as well as custom_custom1, custom_adsense, item_flash, item_image, rotating, wrapper_standard).
When I create another banner, and up another image it goes to the same folder (gab/0), could that be the problem ?

The Geek
07-06-2005, 07:04 PM
Yep, it shows in my default template ( as well as custom_custom1, custom_adsense, item_flash, item_image, rotating, wrapper_standard).
When I create another banner, and up another image it goes to the same folder (gab/0), could that be the problem ?
The folder (in this case 0) is a structure based on the userid (in other words, userid 0).

Gimme a few - im looking into it.

The Geek
07-06-2005, 07:04 PM
First off, I am a new Vbulletin user (former phpBB2) and an very pleased to find this mod! It is exactly what I am looking for (I have never liked phpAdsNew...too hard to operate). Thank you for all the hard work and effort The Geek!

Anyway, downloaded and installed the mod today. No errors, only had to do the save phrase thing to get the words to show in the GAB menu. All is cool with that. Also was able to upload a banner! Excellent.

Now the problem, my forum (brand new 3.0.7 install with only CSS style changes done to it) just comes up with a blank screen. I placed the old Global file back in the root and the forum comes up! Hmmm! So I uninstalled the mod...reinstalled and the same thing.

Any ideas? Something goofed with Global or......?
definatly sounds like a bad global.php edit. Try making the edits manually.

beatyourtruck
07-06-2005, 07:38 PM
Thank you....I did try that earlier (several times) but I must have included some spaces or did something wrong?! I think sometimes it is good to walk away from this stuff for a couple of hours and then come back to it :)

It is working now.....I have banners uploaded and will now attempt to get them to show up on the board!

Thanks very much for the fast reply!!!

beatyourtruck
07-06-2005, 08:06 PM
Is it possible to have specific banners appear only on specific forums? I think so if I am understanding the logic correctly (or maybe I am not understanding it):

If I wanted a specific banner to appear on a specific forum, could I create a new category (with for instance, "showthread", "forumdisplay") that only applied to that specific forum and then set the desired banner to that category? Then I would have to add "$GAB_ads[x]" ("x" being the Banner ID number) to my header template and it would only show when that forum came up? Am I thinking about this too hard or.......

One more thing.....I tried putting the $GAB_ads code into the navbar template but nothing happened. I just created a table <table width="100%" align="center"><tr><td>$GAB_ads[2]</td></tr></table> but I am thinking that is the wrong way to do it?

Please help! :)

Sorry for the stupid questions! I seem to know just enough to get myself in trouble :) And for what it is worth, I will be happy to donate some cash for this. It will be a GREAT tool!

The Geek
07-06-2005, 08:15 PM
There are no stupid questions. Theres just eggplant. Now thats stupid.

First off - I just updated the package. It was slightly premature so the stas thing is a bit crude... however I released it to help with debuging mysterious missing code blocks. If everyone would be so kind to install the latest version (follow the readme upgrade instructions - its pretty mild).

Now onto your Q.

Forst off... no need to stick $GAB_ads[0] in a table. Just stick it as the first line in your navbar template (you can move it about when you feel advanced ;) )

If you want a specific banner in specific forums, do as you suggested:
1- Create a new category (always smarter) and tick the scripts AND forums you want them in.
2- Make sure it and the scripts are active.
3- Make sure the scripts have at least 1 ad block (or better - make sure 'use master' is ticked and that has at least 1 ad block).

Thats about it. If you are still having problems getting it to appear, install the latest package and give me the debug info.

HTH's

Protoman
07-06-2005, 08:41 PM
found 1 bug..
it tries to make changes to admincp/ files
but it assumes your folder is called admincp.. it needs to look at the config or something to get the correct path.

Protoman
07-06-2005, 08:46 PM
ok 2.
need to tell the user to delete the install file.

make that 3
Warning: move_uploaded_file(htdocs/forum/banners//0/bannerfinal.gif): failed to open stream: No such file or directory in /includes/gab_class_admin.php on line 400

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpHN8muV' to 'htdocs/forum/banners//0/bannerfinal.gif' in /includes/gab_class_admin.php on line 400
Got some freaky error.

The Geek
07-06-2005, 08:47 PM
yea, its stated in the readme just to rename your admincp back to admincp during the install to prevent any problems.

Otherwise its no big deal... just means you have to do a manual file change there.

The Geek
07-06-2005, 08:48 PM
Your settings are incorrect. you need to set your server path.

Protoman
07-06-2005, 08:51 PM
I removed the /home/sites/blahblahblah part.. paths are correct.

The Geek
07-06-2005, 08:55 PM
blahblahblah

Well, whats with the /forum/banners//0/banner.gif it should read /forum/gab/0/bannerfinal.gif

An invalid settings is usually the culprit for 'No such file or directory'. The other possability is that the php process doesnt have the ability to write to the gab folder. Try either changing ownership of the folder, or chmod to 777 to see if that sorts it

HTH's

Protoman
07-06-2005, 09:00 PM
server ignored my chmod the first time.. works now :D

Protoman
07-06-2005, 09:12 PM
ok, totally lost now. I created an ad.. went to edit it and the macromedia flash thingy was where the image would appear.
I hit save, and now the ad is gone. And every other thing I hit now.. ad blocks will not save.., different ads will not save. nothing saves :/
no clue.

The Geek
07-06-2005, 09:15 PM
ok, totally lost now. I created an ad.. went to edit it and the macromedia flash thingy was where the image would appear.
I hit save, and now the ad is gone. And every other thing I hit now.. ad blocks will not save.., different ads will not save. nothing saves :/
no clue.
Make sure that the category you put it in is active (for that matter - best make them all active)

Protoman
07-06-2005, 09:30 PM
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 :D

ooh, and on the stats it just gives an error 'select a valid date range'

beatyourtruck
07-06-2005, 11:37 PM
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!):

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'=1 'isactive'=1 ads=1
1 'type'=1 'bannercount'= 'template'=4 'customtemplate'=
showthread 'usemaster'=1 'isactive'=1 ads=0
forumdisplay 'usemaster'=1 'isactive'=1 ads=0
forumhome 'usemaster'=1 'isactive'=1 ads=0
search 'usemaster'=1 'isactive'=1 ads=0
faq 'usemaster'=1 'isactive'=1 ads=0
private 'usemaster'=1 'isactive'=1 ads=0
usercp 'usemaster'=1 'isactive'=1 ads=0
index 'usemaster'=1 'isactive'=1 ads=0

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

Banners
1 'title'=BYT decal and t-shirt ad 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/byt-decalandshirtbannerad.gif 'max_views'=0 'max_hits'=0 'isactive'=0 'frequency'=0 'template'=0 'catid'=3
2 'title'=FullForce RC forum banner ad 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/ffrcrc18t.gif 'max_views'=0 'max_hits'=0 'isactive'=1 'frequency'=3 'template'=0 'catid'=3
3 'title'=GARC forum banner 'startdate'=12.31.69 'enddate'=12.31.10 'img'=0/garcbanner.gif 'max_views'=0 'max_hits'=0 'isactive'=1 'frequency'=2 'template'=0 'catid'=6
4 'title'=AJS Machine Banner 'startdate'=12.31.69 'enddate'=11.30.09 'img'= 'max_views'=0 'max_hits'=0 'isactive'=0 'frequency'=0 'template'=0 'catid'=3
5 'title'=GARC forum banner 'startdate'=12.31.69 'enddate'=11.30.09 'img'=0/2garcbanner.gif 'max_views'=0 'max_hits'=0 'isactive'=1 'frequency'=2 'template'=0 '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
2 private (0) - 0
2 private (0) - 0
2 private (0) - 0
2 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
5 private (0) - 0
5 private (0) - 0
5 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[x] in them:
Styleid 2 Title navbar contains $GAB_ads[2]
Styleid 2 Title navbar contains $GAB_ads[5]

vBulletin v3.0.7, Copyright ?2000-2005, Jelsoft Enterprises Ltd.

Thanks in advance for your assistance The Geek!

Protoman
07-07-2005, 12:27 AM
haha, here's my debug if it helps.
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,2 7,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
1 'title'=Images - no tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=5 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
2 'title'=Flash - no tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=20 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
3 'title'=Images - tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=10 'isactive'=1 'forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,1 11,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,3 5,37,33,34,87,23,27,28,77,24, 'scripts'=,
4 'title'=Flash - tracking 'track_views'=1 'track_hits'=1 'template'=1 'ordinal'=30 'isactive'=1 'forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,1 11,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,3 5,37,33,34,87,23,27,28,77,24, 'scripts'=,
5 'title'=Unknown items 'track_views'=0 'track_hits'=1 'template'=1 'ordinal'=0 'isactive'=1 'forums'= 'scripts'=

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

Listings

Templates with $GAB_ads[x] in 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]

The Geek
07-07-2005, 06:22 AM
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

The Geek
07-07-2005, 06:25 AM
haha, here's my debug if it helps.
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,2 7,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
1 'title'=Images - no tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=5 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
2 'title'=Flash - no tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=20 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
3 'title'=Images - tracking 'track_views'=0 'track_hits'=1 'template'=0 'ordinal'=10 'isactive'=1 'forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,1 11,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,3 5,37,33,34,87,23,27,28,77,24, 'scripts'=,
4 'title'=Flash - tracking 'track_views'=1 'track_hits'=1 'template'=1 'ordinal'=30 'isactive'=1 'forums'=,25,26,106,1,2,3,4,5,110,6,109,81,90,11,1 11,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,3 5,37,33,34,87,23,27,28,77,24, 'scripts'=,
5 'title'=Unknown items 'track_views'=0 'track_hits'=1 'template'=1 'ordinal'=0 'isactive'=1 'forums'= 'scripts'=

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

Listings

Templates with $GAB_ads[x] in 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

nabis
07-07-2005, 02:43 PM
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.

mamboking
07-07-2005, 03:25 PM
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?

mkdevo
07-07-2005, 04:03 PM
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...

dennisuello
07-07-2005, 04:31 PM
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

dennisuello
07-07-2005, 04:43 PM
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?

beatyourtruck
07-07-2005, 04:55 PM
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!

The Geek
07-07-2005, 06:35 PM
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 ;)

[email protected] vbmenu_register("postmenu_732327", true);
07-07-2005, 09:55 PM
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.

carvster
07-07-2005, 11:43 PM
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?

The Geek
07-08-2005, 07:21 AM
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.

scottct1
07-08-2005, 06:51 PM
Ok I have a question.

Does this hack allow you to use banners from another server?

What I am trying to do is...

I currently have my ads going through phpAdsNew.

I have two forum sections of my site which have dedicated advertisers, the rest of the site run other ads. For the dedicated sponsored forums, I currently have created another style and modified the header which the forums force that style on the members so the specific ads area only show in specific forums. (Am I being specific enough :D)

I would like to keep using PHPadsNew, but get rid of all the styles and use a program like this to pull the correct code from phpadsnew to display the correct ads in the correct areas.

As an example, I would like to set it so for the X forums to show the following ad:
The link is: http://ads.satelliteguys.us/adclick.php?n=a8ce476c
The Image url is: http://ads.satelliteguys.us/adview.php?what=zone:10&amp;source=satguys&amp;n=a8ce476c

Can I link to external images in this software?

If I can, then I will be able to finally offer my members more then one style which I have now. :)

The Geek
07-08-2005, 08:47 PM
Ok I have a question.

Does this hack allow you to use banners from another server?

What I am trying to do is...

I currently have my ads going through phpAdsNew.

I have two forum sections of my site which have dedicated advertisers, the rest of the site run other ads. For the dedicated sponsored forums, I currently have created another style and modified the header which the forums force that style on the members so the specific ads area only show in specific forums. (Am I being specific enough :D)

I would like to keep using PHPadsNew, but get rid of all the styles and use a program like this to pull the correct code from phpadsnew to display the correct ads in the correct areas.

As an example, I would like to set it so for the X forums to show the following ad:
The link is: http://ads.satelliteguys.us/adclick.php?n=a8ce476c
The Image url is: http://ads.satelliteguys.us/adview.php?what=zone:10&amp;source=satguys&amp;n=a8ce476c

Can I link to external images in this software?

If I can, then I will be able to finally offer my members more then one style which I have now. :)
If I understand right - then you should be able to put the second link in the GAB_custom_custom1 template (or add more custom ones) and set up the block code to use that. Saying that, you wont be able to track impressions or clicks though (actually I think you can still track impressions).

kafi
07-09-2005, 10:17 AM
Am I doing something wrong?
I had beta working fine, then i unistalled and installed RC1.01
Since than it is not working and I can not find out why. Only what I know, that global.php is causing the trouble.
When I use original from backup page is loading corectly (of course without GABads).
With GAB_hacked global.php, my page doesnt want to load.

I enclose my global.php so if you would be so kind to review it. Thank you in advance.

Additional infor: GAB Manager is working in admincp

The Geek
07-09-2005, 01:15 PM
Am I doing something wrong?
I had beta working fine, then i unistalled and installed RC1.01
Since than it is not working and I can not find out why. Only what I know, that global.php is causing the trouble.
When I use original from backup page is loading corectly (of course without GABads).
With GAB_hacked global.php, my page doesnt want to load.

I enclose my global.php so if you would be so kind to review it. Thank you in advance.

Additional infor: GAB Manager is working in admincp
That looks fine. Did you totally uninstall the previous version? Thats the most common problem when upgrading.

Post the results from setting->debug (you need RC1.05)

Oh, and better remove your global.php attachemnt - Jellsoft doesnt like their code posted ;)

kafi
07-09-2005, 01:35 PM
ok i removed it (it was only temorarily .-)


here is the debug, but i m not sure that is showing anything since it was not working, but I might be wrong...

Geek Advertising Banner System
Settings
Beta 2.0=Beta 2.0
$text=$text
other_scripts=
scripts=index,showthread,forumdisplay,forumhome,
forumids=20,21,66,65,67,68,69,70,71,64,40,42,43,41 ,57,3,4,24,19,5,1,25,26,54,2,36,6,7,37,14,8,22,11, 16,27,28,29,30,31,32,33,34,35,59,10,38,15,9,46,47, 48,49,50,51,52,53,55,56,12,44,45,13,39,61,62,63,60 ,18,58,73,72,74,
usergroups=4,6,8,7,2,5,1,3,
fieldtotoggle=1
number_of_ads=2
save_shown=
save_click=1
field_value_yes=10
track_runtime_views=1
usergroups_view=6,
js_banner_count=2
RC1.0=RC1.0
/home/www/porada.sk/www/gab/=/home/www/url/www/gab/
../gab/=../gab/
server_path_to_banners=/home/www/url/www/gab/
url_to_banners=gab/
cyclerate=4300
redirectpage=advertising.php
persist_throttle=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

Warning: Invalid argument supplied for foreach() in /home/www/porada.sk/www/admincp/GAB_admin.php on line 1283

Categories
1 'title'=Images - no tracking 'track_views'=0 'track_hits'=0 'template'=0 'ordinal'=5 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
2 'title'=Flash - no tracking 'track_views'=0 'track_hits'=0 'template'=0 'ordinal'=20 'isactive'=1 'forums'=,20,21,66,65,67,68,69,70,71,64,40,42,43,4 1,57,3,4,24,19,5,1,25,26,54,2,36,6,7,37,14,8,22,11 ,16,27,28,29,30,31,32,33,34,35,59,10,38,15,9,46,47 ,48,49,50,51,52,53,55,56,12,44,45,13,39,61,62,63,6 0,18,58,75,73,72,74,76,77,79,78,80,81, 'scripts'=,
3 'title'=Images - tracking 'track_views'=1 'track_hits'=1 'template'=0 'ordinal'=10 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,searc h,faq,private,usercp,
4 'title'=Flash - tracking 'track_views'=1 'track_hits'=1 'template'=1 'ordinal'=30 'isactive'=1 'forums'=,20,21,66,65,67,68,69,70,71,64,40,42,43,4 1,57,3,4,24,19,5,1,25,26,54,2,36,6,7,37,14,8,22,11 ,16,27,28,29,30,31,32,33,34,35,59,10,38,15,9,46,47 ,48,49,50,51,52,53,55,56,12,44,45,13,39,61,62,63,6 0,18,58,75,73,72,74,76,77,79,78,80,81, 'scripts'=,
5 'title'=Unknown items 'track_views'=0 'track_hits'=0 'template'=1 'ordinal'=0 'isactive'=1 'forums'=,20,21,66,65,67,68,69,70,71,64,40,42,43,4 1,57,3,4,24,19,5,1,25,26,54,2,36,6,7,37,14,8,22,11 ,16,27,28,29,30,31,32,33,34,35,59,10,38,15,9,46,47 ,48,49,50,51,52,53,55,56,12,44,45,13,39,61,62,63,6 0,18,58,75,73,72,74,76,77,79,78,80,81, 'scripts'=,
6 'title'=Unknown items 'track_views'=0 'track_hits'=0 'template'=1 'ordinal'=0 'isactive'=1 'forums'= 'scripts'=

Banners
1 'title'=Odporucit 'startdate'=01.01.05 'enddate'=01.01.06 'img'=0/posli_poradu.swf 'max_views'=0 'max_hits'=0 'isactive'=1 'frequency'=0 'template'=0 'catid'=4

Listings

Templates with $GAB_ads[x] in them:
Styleid 2 Title header contains $GAB_ads[1]
Styleid 2 Title footer contains $GAB_ads[0]