vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Banner Rotator (Definitive Mod) **UPDATED** (https://vborg.vbsupport.ru/showthread.php?t=133954)

andrefedalto 12-14-2006 03:54 PM

Tuga: Giveme your forum address please

Barteken 12-14-2006 06:16 PM

does this hack also handle javascript? because i have a pool with banners at tradedoubler...

PoetJA-1975 12-15-2006 03:45 AM

Quote:

Originally Posted by Barteken (Post 1138610)
does this hack also handle javascript? because i have a pool with banners at tradedoubler...

Good question! I'd like this to work for google scripts and others...
ALSO - I assume that the $banner can be placed anywhere in say the navbar template?

Looks nice though - Thanx for the share!

Jacquii.

andrefedalto 12-15-2006 10:23 AM

Sorry, this handles only images (jpg, png, gif...) and flash (swf).

PoetJA-1975: Yes, it will show the images/flash wherever you place $banner ;)


Don't forget to click install!

Barakat 12-15-2006 10:29 AM

still have the same bug while trying to upload a banner with ext. jpeg or png .

The selected file type is not allowed.

Darat 12-15-2006 11:55 AM

Quote:

Originally Posted by Barakat (Post 1139064)
still have the same bug while trying to upload a banner with ext. jpeg or png .

The selected file type is not allowed.

I've got the same bug - the banners folder is there, chmod'd to 777, the types are defined in the settings but all uploads return an error saying "The selected file type is not allowed. image/gif"

Attitude 12-15-2006 12:06 PM

Invalid SQL:
UPDATE banners SET active = '1' WHERE bid = '1';

MySQL Error : Table 'mydatabasename.banners' doesn't exist
Error Number : 1146

my table prefix is not mydatabasename though it is testvb

cant figure out what to do ?

NFLfbJunkie 12-15-2006 03:08 PM

When trying to edit/update or deactivate banner, the following message occurs:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE banners SET active = '0' WHERE bid = '1';

MySQL Error : Table 'databasename_forums.banners' doesn't exist
Error Number : 1146

andrefedalto 12-15-2006 04:24 PM

Barakat: Download and put the newest brotator.php in admincp folder. When the error appears, it must show the file type like it did with Darat, that showed "image/gif"

Darat: Go to vBulletin Options, Banner Rotator and add this "image/gif" to file types allowed. Dont forget to put | between file types.

Attitude & Junkie: It was my mistake. I forgot to add table prefix in some queries. Everything is ok now. Please download the zip file again and replace ONLY /admincp/brotator.php in your host. Thanks for reporting the bugs!

Please post here again if it works, and dont forget to click install!

phovanxua 12-15-2006 04:46 PM

Thanks very much ....this is look kick ass .


All times are GMT. The time now is 01:49 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
  • Page Generation 0.01306 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
  • (3)pagenav_pagelink
  • (1)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