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)

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

Quote:

Originally Posted by enginethatcan't
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

Quote:

Originally Posted by The Geek
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

PHP Code:

Parse errorparse errorunexpected '=' 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

Quote:

Originally Posted by The Geek
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!

[high]* COBRAws loads his paypal too :D[/high]

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

Quote:

Originally Posted by The Geek
*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

Code:

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

PHP Code:

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

Quote:

Originally Posted by steadicamop
Ok, just tried installing RC1.01 and get this error on /index.php

Code:

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

PHP Code:

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

Quote:

Originally Posted by steadicamop
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

Quote:

Originally Posted by steadicamop
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

Quote:

Originally Posted by Hanif
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

Quote:

Originally Posted by The Geek
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

Quote:

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

Quote:

Originally Posted by Hanif
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.u...splay.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

Quote:

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.


All times are GMT. The time now is 01:36 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.02769 seconds
  • Memory Usage 1,852KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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