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 07-06-2005 08:15 PM

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

Protoman 07-06-2005 08:41 PM

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.

Protoman 07-06-2005 08:46 PM

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.

The Geek 07-06-2005 08:47 PM

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.

The Geek 07-06-2005 08:48 PM

Your settings are incorrect. you need to set your server path.

Protoman 07-06-2005 08:51 PM

I removed the /home/sites/blahblahblah part.. paths are correct.

The Geek 07-06-2005 08:55 PM

Quote:

Originally Posted by corollasbest
blahblahblah

Well, whats with the /forum/banners//0/banner.gif it should read /forum/gab/0/bannerfinal.gif

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

Protoman 07-06-2005 09:00 PM

server ignored my chmod the first time.. works now :D

Protoman 07-06-2005 09:12 PM

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.

The Geek 07-06-2005 09:15 PM

Quote:

Originally Posted by corollasbest
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.

Make sure that the category you put it in is active (for that matter - best make them all active)


All times are GMT. The time now is 03:56 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.01839 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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