![]() |
Quote:
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 :) |
Quote:
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. |
Quote:
Ok thanks so the 2 point is the one missing How do I add $GAB_ad1 and on what file? |
Quote:
|
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/adm...isplaypackages Referer: http://www.zenogaming.com/forums/adm...dex.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/adm...?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 |
packages are not implimented yet. You dont need them for the ads.
|
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. |
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 |
Quote:
|
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 |
All times are GMT. The time now is 07:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|