![]() |
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? |
Quote:
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. |
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. |
Quote:
Tom, caould you spare me an admin account to have a look at your settings? |
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' ;) |
Private Message sent,
Yes, I placed my adsense code in the adsense template ;) |
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 |
Quote:
|
Uhu, indeed.
But you know, file change 101 was done, and file change 100 and 200 weren't ?? :s |
Quote:
Sometimes people miss the 'couldnt complete step xxx' message that is a link to the manual change. nJoy |
Quote:
|
Quote:
Thoughts? |
Quote:
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 |
I agree. I dont think its clear enough how to set up the ads - I am going to revise my readme ;)
|
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.u...ms/search.php? |
Quote:
|
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.
Quote:
Quote:
|
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 |
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 |
Quote:
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 |
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. |
Quote:
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. |
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 |
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) |
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......? |
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 ? |
Quote:
Gimme a few - im looking into it. |
Quote:
|
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!!! |
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! |
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 |
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. |
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. |
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. |
Your settings are incorrect. you need to set your server path.
|
I removed the /home/sites/blahblahblah part.. paths are correct.
|
Quote:
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 |
server ignored my chmod the first time.. works now :D
|
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. |
Quote:
|
All times are GMT. The time now is 02:05 AM. |
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:
|