vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Geek Advertising Banner system RC1 (https://vborg.vbsupport.ru/showthread.php?t=79791)

The Geek 04-21-2005 03:40 PM

There will be some GAL integration in the next BETA release and more GAL integration for the final version.

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

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

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

007 04-22-2005 01:09 AM

Just checking in to see how soon the PayPal integration will be sorted! :)

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

LEAD_WEIGHT 04-22-2005 02:09 AM

Quote:

Originally Posted by 007
Just checking in to see how soon the PayPal integration will be sorted! :)

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

I hope more than Paypal can be used and I was wondering that this does work with CMP in that it can be place in the header.

Tigur 04-22-2005 10:45 AM

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

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

Lionel 04-22-2005 10:48 AM

Ignore the package error now. That was put in place for later.

gldtn 04-22-2005 01:09 PM

Quote:

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

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

make sure the directory /gab/ permissions is to 777

Tigur 04-22-2005 08:12 PM

ya i figured the package error was for later. Though the gab dir was set to chmod 777 yet it kept doing it. Well let me try to re download it a 3rd time and try it again

Tigur 04-22-2005 08:18 PM

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

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

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

The Geek 04-23-2005 05:59 AM

Quote:

Originally Posted by Tigur
sorry never mind!! i got it to upload. Its giving me that phrase error but I'll just do the fix in one of the previous posts. Now to figure out why its not showing up on my forum.


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

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

Hve you run the 'test'?
I think GAB_ad1 is case sensitive too.

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

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

The Geek 04-23-2005 06:11 AM

Quote:

Originally Posted by LEAD_WEIGHT
I hope more than Paypal can be used and I was wondering that this does work with CMP in that it can be place in the header.

lead - Not sure what you mean. I have mine sitting in vba_index. Is that what you are talking about?

LEAD_WEIGHT 04-23-2005 07:50 AM

Quote:

Originally Posted by The Geek
lead - Not sure what you mean. I have mine sitting in vba_index. Is that what you are talking about?

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

The Geek 04-23-2005 08:45 AM

Quote:

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

Hi Lead.

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

The rotating banners change without refreshing the page

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

Tigur 04-23-2005 09:19 AM

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

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

Visions 04-23-2005 12:28 PM

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

The Geek 04-23-2005 01:16 PM

Quote:

Originally Posted by visions1
Ok i have installed the hack and in the admin cp where you click on GAB manager to make it drop down it drops down just blank bars that highlight and you can click but there is no text in the bars. One of the bars i believe the 3rd one down gives me a DB mysql error page.Any way I can correct this?

search for a GAB phrase in the control panel phrase groups - edit it and then edit and choose save.

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

CosmicBlend 04-23-2005 04:19 PM

When do you think you will have this hack complete... i think this is an excellent hack with SO many features..

libertate 04-23-2005 07:05 PM

I see a way to add images.

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

The Geek 04-23-2005 07:43 PM

Fingers crossed the final should be within next 10 days.

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

LEAD_WEIGHT 04-23-2005 09:02 PM

Quote:

Originally Posted by The Geek
Hi Lead.

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

The rotating banners change without refreshing the page

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

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

libertate 04-24-2005 01:40 AM

Quote:

Originally Posted by The Geek
Cant really add scripts (yet). Looks like that will be release after next.

What would make the next release come out faster? :devious:

The Geek 04-24-2005 07:22 AM

Quote:

Originally Posted by libertate
What would make the next release come out faster? :devious:

me feeling better ;)

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

LEAD_WEIGHT 04-24-2005 09:59 AM

They fixed u what do we call u now. Now that u turned to a girl or is it the other way :ermm:

The Geek 04-24-2005 10:39 AM

Quote:

Originally Posted by LEAD_WEIGHT
They fixed u what do we call u now. Now that u turned to a girl or is it the other way :ermm:

:speechless:
It was a freaking hernia - not a gender change!

artonex 04-24-2005 11:01 AM

Hey The Geek this is a very nice hack thanks for coding it, much better than phpadsnew :)

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

libertate 04-24-2005 03:30 PM

Quote:

Originally Posted by The Geek
me feeling better ;)
I just had an operation the other day so Im a little under the weather.

Wish you the best.

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

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

LEAD_WEIGHT 04-24-2005 08:21 PM

Quote:

Originally Posted by The Geek
:speechless:
It was a freaking hernia - not a gender change!

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

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

CosmicBlend 04-24-2005 08:37 PM

where are the click stats recorded to, how would you pull up such info for users if they would like to see it. Is this feature not implemented yet?

djjeffa 04-25-2005 02:54 AM

Great Hack but i have a problem
when I try to ad a add I get
Code:

Warning: copy(./gab/top.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716
I read some of the past post but none have helped me.

The Geek 04-25-2005 06:27 AM

MAke sure that you have a folder called gab in your forum directory (chmodded to 0777)

Cosmic - not implimented yet. Its coming.

djjeffa 04-25-2005 10:40 AM

Quote:

Originally Posted by The Geek
MAke sure that you have a folder called gab in your forum directory (chmodded to 0777)

Cosmic - not implimented yet. Its coming.

ok I had the folder spelled Gab but it needed to be gab lol
next problem:
Code:

Could not find GAB_setting_saved
and then I tested and got this:
Code:

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

The Geek 04-25-2005 11:44 AM

the first porblem is just with a phrase. Dont sweat it.

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

Visions 04-25-2005 06:11 PM

Quote:

Originally Posted by The Geek
the first porblem is just with a phrase. Dont sweat it.

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

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

geezzaa 04-25-2005 07:18 PM

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

The Geek 04-26-2005 06:08 AM

Geezza - edit GAB_admin.php and change this:
PHP Code:

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

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

to
PHP Code:

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

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

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

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

Hope this helps :)

geezzaa 04-26-2005 10:00 AM

Thanks geek, that sorted it :)
Keep me informed for the next update

djjeffa 04-26-2005 11:01 AM

Quote:

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

Hope this helps :)

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

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

Visions 04-28-2005 09:46 AM

Same problem above for me too.

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



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

The Geek 04-28-2005 10:01 AM

Quote:

Originally Posted by visions1
Same problem above for me too.

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



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

$GAB_ad1 needs to be in a template (like your navbar template).

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

Harley D 04-29-2005 10:36 AM

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

Thanks in advance

Visions 04-29-2005 12:48 PM

Quote:

Originally Posted by The Geek
$GAB_ad1 needs to be in a template (like your navbar template).

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


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


All times are GMT. The time now is 02:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01841 seconds
  • Memory Usage 1,862KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete