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)

COBRAws 07-12-2005 08:02 PM

when i select the forums for GAB to show up and save. I enter again into the edit and none of the forums i checked are checked, instead there are others checked. Weird.

But i saw a great progress from the last version.

BradE 07-12-2005 08:25 PM

Quote:

Originally Posted by COBRAws
when i select the forums for GAB to show up and save. I enter again into the edit and none of the forums i checked are checked, instead there are others checked. Weird.

But i saw a great progress from the last version.

Same thing happens to me. I have 2 forums in particular that won't display or save at all.

The Geek 07-12-2005 09:05 PM

Have you guys upgraded from beta 2? If so, did you uninstall the previous version first? Clean installs are not really having any problems - dirty upgrades are though.

Post me the results from settings->debug and Ill sort it out for you (generally takes 2 seconds).

007 07-13-2005 01:42 AM

This is by far the best banner hack. Has it been tested in 3.5 yet? I plan to upgrade soon and would love to continue using this. Just wondering. Thanks!

The Geek 07-13-2005 06:03 AM

its not working for 3.5 yet - the next version is though... only sticking point is Im stumped as to precaching the datastore and templates. No one seems to know the answer :(

Bernd 07-13-2005 11:28 AM

I'm having some weird issues after upgrading.

I've tried a clean install and deleted all phrases from Beta 2

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

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

Fatal error: Cannot redeclare class gab_base in E:\xampp\xampp\htdocs\portal\forum\includes\gab_cl ass_core.php on line 4

Divokymuz 07-13-2005 12:09 PM

on eproblem i got.

on our server the safe mode restriction is in action.
so i cannot upload banners from my pc to the server with the module.

isn´t it possible to use html linked banners in the hack ? i think i´m only to stupid to find the solution. :-)

The Geek 07-13-2005 12:34 PM

bernd - looks like the file edits were not reverted and your settings were not removed.

Double check your file edits, delete GAB_settings from your datastore table and then run the settings portion of the installer.

Div - I was thinking about this the other day. No, there is not currently a way to enter the url manually however if you have acess to the GAB_ads table via phpMyAdmin or the like... you can always edit the ad and put the url in there.

Hope this helps

Divokymuz 07-13-2005 02:03 PM

Quote:

Originally Posted by The Geek
Div - I was thinking about this the other day. No, there is not currently a way to enter the url manually however if you have acess to the GAB_ads table via phpMyAdmin or the like... you can always edit the ad and put the url in there.

if it is possible with the DB, then it helps me.

thanks.

COBRAws 07-13-2005 02:11 PM

Quote:

Originally Posted by The Geek
Have you guys upgraded from beta 2? If so, did you uninstall the previous version first? Clean installs are not really having any problems - dirty upgrades are though.

Post me the results from settings->debug and Ill sort it out for you (generally takes 2 seconds).

i un-installed and installed the new one, here's the debug i got:

Code:

Settings
Beta 2.0=Beta 2.0
$text=$text
other_scripts=
scripts=index,showthread,forumdisplay,forumhome,
forumids=1,32,39,2,4,54,10,8,11,12,49,42,43,44,7,5,34,48,40,22,33,30,41,3,
usergroups=
fieldtotoggle=1
number_of_ads=1
save_shown=
save_click=0
field_value_yes=Desabilitar Publicicad
track_runtime_views=0
usergroups_view=4,6,8,15,16,7,2,12,10,5,1,3,13,14,
js_banner_count=1
RC1.0=RC1.0
/www/docs/nightclubber.com.ar/public_html/board/gab/=/www/docs/nightclubber.com.ar/public_html/board/gab/
../gab/=../gab/
server_path_to_banners=/www/docs/nightclubber.com.ar/public_html/board/gab/
url_to_banners=http://www.nightclubber.com.ar/board/gab/
cyclerate=4300
redirectpage=advertising.php
persist_throttle=3
max_width=
max_height=
media_extensions=
url_advertising=info@nightclubber.com.ar
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

Categories
1 'title'=Images - no tracking [CAT] 'track_views'=0 'track_hits'=0 'template'=0 'ordinal'=50 'isactive'=1 'forums'=,1,32,2,4,54,10,8,11,12,49,42,43,44,7,5,22,17,18,21,33,30,41,3,14,25,55,38,35, 'scripts'=,
2 'title'=Flash - no tracking 'track_views'=0 'track_hits'=0 'template'=0 'ordinal'=20 'isactive'=0 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
3 'title'=Images - tracking 'track_views'=1 'track_hits'=1 'template'=0 'ordinal'=10 'isactive'=0 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
4 'title'=Flash - tracking 'track_views'=1 'track_hits'=1 'template'=1 'ordinal'=30 'isactive'=1 'forums'=,1,2, 'scripts'=,showthread,forumdisplay,forumhome,search,faq,private,usercp,
5 'title'=Unknown items 'track_views'=0 'track_hits'=0 'template'=1 'ordinal'=0 'isactive'=1 'forums'= 'scripts'=
6 'title'=GIF - Todo 'track_views'=0 'track_hits'=0 'template'=0 'ordinal'=0 'isactive'=1 'forums'=,1,32,39,2,4,54,10,8,11,12,49,42,43,44,7,5,34,48,40,22,33,30,41,3,55,38,35, 'scripts'=,

Banners

Listings

Templates with $GAB_ads[x] in them:


The Geek 07-13-2005 03:23 PM

Hi Cobra, A couple of things:

1- Can you go into phpMyAdmin (or whatever tool you have for DB access) and delete the datastore row where the title is GAB_settings? If you can, then run the installer again - but only run the settings portion of the installer. That would at least reinstall your scripts so you can set up your ad blocks.

After you do that, make sure that all of your categories are active and make sure the categories you use have the applicible scripts ticked.

Give it a go as soon as possible as I head out on holiday in the morining and want to make sure you are sorted.

Bernd 07-13-2005 03:27 PM

Fixed for the most part.
Deleted settings in datastore as you suggested.

only issue is stats are not working and advertising.php seems to miss allot of stuff?

Stats error

Please select a valid date range
No noticeable errors from the debug page.
site = www.c4dportal.com

One more question. What template holds the html for the display of advertisments?
EDIT: Found the general template under GAB_wrapper_standard

The Geek 07-13-2005 03:46 PM

The stats viewer isnt already finished. That statement doesnt mean there is an error, it means there is no data to show as no dates had been selected or no data is there to display for the dates you selected.

If you are missing data, make sure that the ads categories are set to tracking and make sure that they are images, flash, or rotating ads (cant track hits on text ads).
Also make sure that your impression throttle isnt set too low - or that your GAB_cron_daily job is set up right as this mack is verrrrrry smart in the fact that if there are more impressions to record than your throttle, it will pack them away until the cron job runs - thus saving you many more queries.

Hope this makes sense.

Bernd 07-13-2005 04:03 PM

Quote:

Originally Posted by The Geek
The stats viewer isnt already finished. That statement doesnt mean there is an error, it means there is no data to show as no dates had been selected or no data is there to display for the dates you selected.

The database itself has recorded 29 hits and I've setup the banner to be trackable from the admin section. A valid starting and end date has also been set for the banner.

This image shows the advertising.php page. No selections can be made there except for the available banners. Clicking jonsmedia provides the mentioned issue in my previous post.
http://www.c4dportal.com/portal/stats.jpg

Where do u have to select the dates in this case? I imagine it's a per month thing or something? It may simply be that's the unfinished part you've spoken of, but I'd like to be sure I haven't screwed up the installation.

The Geek 07-13-2005 04:31 PM

huh. Youre right. I was in middle of working on the stats when I uploaded the last package so it wasnt in as proper of an order as I would have liked... however it was working! Gimme a minute and ill see if I can sort it from my end.

The Geek 07-13-2005 05:44 PM

Right. Sorted.

Package upgraded to RC1.6

I only made a couple of minor changes to advertising.php and the GUSH_main template and the GUSH_ad_row template.

To upgrade, download latest package... Upload all files to their respective locations overriding any old files in the process... then run the templates portion of the installer. This will update these two templates. You then may need to revert the GUSH_main and GUSH_ad_row templates.

Then you should be able to view the stats (please remember the viewer isnt done yet - think of this as a preview :) )

Bernd 07-13-2005 05:58 PM

Thanks :)

kafi 07-13-2005 06:37 PM

Quote:

Originally Posted by kafi
Again with baner control
I mean how to organize banners (not AdBlocks) with GAB_ads.

Lets say that:
I have 3 banners and I want to show BANNER#1 in GAB_ads[0] and to have BANNER#2,3 appear rotating or next to each other in GAB_ads[1]

I do not want Banner#2,3 appear in GAB_ads[0] and Banner#1 in GAB_ads[1].

and also side by side banners .-)

The Geek 07-13-2005 06:40 PM

ooof. Sorry mate. I knew there was something else I needed to do!

Ill see if I can sort that tonight. Shouldnt take long at all.

mkdevo 07-14-2005 11:16 AM

Mr. Geek,

i've finally put this into production on my site after testing for about a week. it's fantastic. thank you.

i currently have my GAB at the end of my navbar template. i would also like to put it at the end of my vBPortal navbar template, but that doesn't seem to be working for me. i can't get the GAB to show up on my vBP pages.. i'm not expecting support on this, but would you have any idea as to how to make that work?

thank you again!

kafi 07-14-2005 08:13 PM

I have removed bgcolor='#ffffff' from flash item template.
It conflicts with flash background color...

I had mess with banners. They were inactive, but still showing (firefox).

Underlab 07-15-2005 02:18 AM

I got a problem that another user had, but never explained his resolution for. I installed this hack, and I have installed many, and for some reason my admin portion shows nothing but a blank page. There are no extra spaces at the end of the files, and I just dont know how to go about fixing it because it gives no error. This is the 2nd hack that hasn't worked for me since I upgraded to VB 3.0.7. PLEASE HELP

Underlab 07-15-2005 07:13 AM

Geek I also Tried deleting the javascript as well, and I still get the blank pages. What do I do?

Let me show you what I have in my admin/index.php file, tell me if there is something missing:

$printhr = false;
// === GAB ===
construct_nav_option($vbphrase['GAB_settings'], 'GAB_admin.php?do=settings');
construct_nav_option($vbphrase['GAB_display_ads'], 'GAB_admin.php?do=displayads');
construct_nav_option($vbphrase['GAB_categories'], 'GAB_admin.php?do=displaycats');
construct_nav_option($vbphrase['GAB_scripts'], 'GAB_admin.php?do=displayscripts');
construct_nav_option($vbphrase['GAB_stats'], '../advertising.php');
construct_nav_group($vbphrase['GAB_CP']);
$printhr = true;
$printhr = false;
// === GAB ===

// *************************************************
construct_nav_option("vB Journal Settings", 'journaladmin.php?do=settings', '<br />');
construct_nav_option("Show All Journals", 'journaladmin.php?do=showjournals', '<br />');
construct_nav_option("Add a Mood", 'journaladmin.php?do=addmood', '<br />');
construct_nav_option("Show Moods", 'journaladmin.php?do=moderatemoods', '<br />');
construct_nav_option("Moderate Journals", 'journaladmin.php?do=moderatejournals', '<br />');
construct_nav_option("Moderate Journal Entries", 'journaladmin.php?do=moderateentries', '<br />');
construct_nav_option("Support", 'journaladmin.php?do=support', '<br />');
construct_nav_group("vB Journal", '<hr />');
$printhr = false;
construct_nav_option('Arcade Main Settings', 'arcade.php?code=settings', '<br />');
construct_nav_option('Games List' , 'arcade.php?', '<br />');
construct_nav_option('Categories' , 'arcade.php?code=cat', '<br />');
construct_nav_option('Add Game' , 'arcade.php?code=add_game', '<br />');
construct_nav_option('Tournaments' , 'arcade.php?code=tourney', '<br />');
construct_nav_option('Group Permissions' , 'arcade.php?code=groups', '<br />');
construct_nav_option('Member Manage' , 'arcade.php?code=user_search', '<br />');
construct_nav_option('IP Banning' , 'arcade.php?code=ip_ban', '<br />');
construct_nav_option('Score Tools' , 'arcade.php?code=score_tools', '<br />');
construct_nav_option('Custom Game Sorting' , 'arcade.php?code=custom', '<br />');
construct_nav_group("Arcade", '<hr />');

//=== GEEK AUTOLINK step 4.2 ===
$printhr = true;
construct_nav_option($vbphrase['GAL_display'], 'GAL_admin.php'); construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add'); construct_nav_option($vbphrase['GAL_settings'], 'GAL_admin.php?do=rebuild'); construct_nav_group($vbphrase['GAL_CP']);
//=== /GEEK AUTOLINK ===

if (can_administer('canadminstyles'))

{

uReside.com 07-15-2005 09:20 PM

geek, whats the progress report? ETA?

The Geek 07-17-2005 11:49 AM

Quote:

Originally Posted by uReside.com
geek, whats the progress report? ETA?

For the most part - its complete. The only areas of refinement are the stats viewer and a couple of issues (1 being putting static banners side by side). Apart from that, I think I just need to tweak it to make it a little more user friendly ;)

The Geek 07-17-2005 11:51 AM

underlab - is the entire page empty? Including the navigation? if so ... then it was a bad upload from the edit. Revert to the backup of admincp/index and make the changes manually.

HTH´'s

uReside.com 07-18-2005 01:57 AM

Quote:

Originally Posted by The Geek
For the most part - its complete. The only areas of refinement are the stats viewer and a couple of issues (1 being putting static banners side by side). Apart from that, I think I just need to tweak it to make it a little more user friendly ;)


sounds good, can't wait for a final release!

RGSMDNR 07-18-2005 08:46 PM

banners show up fine in both IE and firefox, but when i click one in IE, it brings me to a condensed page of my forum?

beansbaxter 07-20-2005 04:56 AM

i uploaded the files, the auto-install went through ok, but there is no banner link anywhere in the admincp. the entire forum looks unchanged.

what is going on?

also, when is the final release gonna be out???

uReside.com 07-20-2005 04:59 AM

Quote:

Originally Posted by beansbaxter

also, when is the final release gonna be out???


thats what i'm looking for.... will donations, speed up the release? :D

beansbaxter 07-20-2005 05:16 AM

i direct linked to the admincp admin file for the system, and it just isnt working. i followed the instructions verbatim, using 3.0.7 but cant get it to work. im gonna give up till the final release is out.

The Geek 07-20-2005 08:21 AM

if there is no link in the admincp, then either the autoinstaller couldnt make the change to your admincp-index.php page, or you simply didnt copy it from gish/gab/rc1/admincp

Nothing much can speed things up anymore than they are. IMO, this is totally usable. The couple of things that need tweaking are of minimal consequence. The biggest problem is making it a little more obvious how the system works however once you have it up and running its pretty obvious.

ANyhooo - right now Im on vacation in Spain so there isnt a great deal I can do until I get back. The release of vb3.5 is causing most mackers to spend most of their time rewriting and porting all their stuff over and Im no exception there ;)

beansbaxter 07-20-2005 02:16 PM

Ok, I went to bed last night and woke up this morning determined to get this to work. I created a brand new database and created a fresh new instance of vbulletin 3.07 (just did this for testing purposes before I take it over to the live forum that needs this mod). Did a fresh install of vb and then did a fresh clean install of this GAB modification.

I looked through the install notes...everything was a success. You're right about the phrases not working until you rebuild them, so I did that to correct that problem.

Still no GAB link in the Admin CP Panel, not a problem, I just type in the link to access GAB_admin.php

So I go there to add a new banner. I notice if I choose to upload the banner, I get the following error:

Warning: move_uploaded_file(/home/danielm/domains/randomtime.com/public_html/forum/gab//0/randomcomputers.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 '/tmp/phpFBi63B' to '/home/danielm/domains/randomtime.com/public_html/forum/gab//0/randomcomputers.gif' in /includes/gab_class_admin.php on line 400
Got some freaky error.

So the banners are not uploading, that's where I'm stuck at.

RGSMDNR 07-20-2005 10:40 PM

Quote:

Originally Posted by RGSMDNR
banners show up fine in both IE and firefox, but when i click one in IE, it brings me to a condensed page of my forum?

so what about my issue?

The Geek 07-21-2005 07:17 AM

do you have a gab folder in your forum dir? Also, check your settings for a trailing slash for your server path. You will see there in the error message that you have 2 ;)

rgsmdr - sounds to me like an odd URL option in the banner. Its the same basic redirect regardless of the browser you are using. Can you provide a link?

RGSMDNR 07-21-2005 11:59 AM

well now it wont work in any browser...

http://forums.fordpower.ca

The Geek 07-22-2005 05:45 PM

chances are its just a misconfiguration in the settings.
Can you paste the results from settings->debug?

SportBikeAddict 07-22-2005 10:55 PM

Clicked install. Great hack, and awesome work.

Just two things that I'm having problems with:

1) Created a custom template for an HTML ad I have. This template has been added as a banner in the MASTER Ad Block along with a static banner, but users only see one banner no matter what page the view in their session.

2) When the uploader PUTs a file in the banner directory, it's permissions are set to 600. I have to manually change permissions on each banner. Server config issue on my end?

Thanks so much for taking a glance at this.

The Geek 07-23-2005 07:24 AM

The only thing I noticed at a quick glance is that you only have 1 $GAB_ads in your templates but 2 blocks defined in your Master script which means you need $GAB_ad[1] somewhere to display your other ad block. Stick $GAB_ads[1] somewhere and you will see the second ad block.


Off the top of my head, the banner CHMOD shouldnt be a problem. What happens if you dont chmod it and what are you changing it to?

HTH´s

steadicamop 07-23-2005 08:42 AM

I've just upgraded to 1.6 from 1.1, and I have something strange on advertising.php - top left hand corner, screen grab attached to show what I mean.

Will advertising.php be where people can sign up for new banners? I always thought it would be this, as a place where they can it all themselves .... or am I wrong?

Cheers!

Jason


All times are GMT. The time now is 04:01 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.01775 seconds
  • Memory Usage 1,850KB
  • 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
  • (1)bbcode_code_printable
  • (9)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