vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=169266)

hpmustangs 07-05-2008 01:15 AM

omg and its not even working ..

so I try to add a banner and I get this error

The selected file type is not allowed. image/gif

so what gives? even made the folders image and gif .. wtf!!

hpmustangs 07-05-2008 01:34 AM

Quote:

Originally Posted by andrefedalto (Post 1434927)
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).

I looked at that and all the ext. was in there .. separated with a | ... not a ","

Extensions accepted for upload (separated by |) jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

I am running vB 3.7.2

hpmustangs 07-05-2008 01:45 AM

well I got it working .. by adding "image/gif|" to the line up.. even tho you had "gif|" in the ext. box ..

well my website logo is still gone .. you should make a NOTE of that to everyone doing thing install that is using the "vbulletin3_logo_white.gif" for thir logo..

Antwerp 07-10-2008 04:01 PM

Fix to that is simple

Undo the Template Modifcations Above.

Now, goto the bottom of the "Header" Template and add the second line;
Code:

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
This will add the banner below your Forum Logo.

I opted to have my banners left justified, so I'm using <left> rather than <center>

:)

Antwerp 07-10-2008 04:24 PM

PS, Thanks for the Mod.

Needed a little tweaking, but it's exactly what I was looking for.

:up:

ArnyVee 07-10-2008 07:08 PM

Does this do all of my banners constantly rotating while the screen is up? Or, is it a new banner on every page refresh?

napy8gen 07-11-2008 04:09 AM

Quote:

Warning: move_uploaded_file(/images/brotator/banner1.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzWfRmL' to '/images/brotator/banner1.jpg' in [path]/admincp/brotator.php on line 65
get this error when uploading a .jpg file

thecricketzone 07-11-2008 08:35 AM

well i have installed this but it doesnt seem to do anything at all...even when i copy a banner to the file location or try uploading it through ACP. it doesnt work. I am on VB 3.7.2 - I would have thought it would be OK since its only a couple of patches up form the one supported in the intro?!

Gersfan 07-12-2008 10:13 AM

It seems to be on my style that on the right hand side there is a space and the banner is not fitting the tthe header where it should as it's a fixed table.

There is the space on the right hand side ..werid..
h**p://gersfans.co.uk/Forum/index.php

pitzerwm 07-18-2008 10:09 PM

I need a little more in depth product, would you be interested on adding some features for a fee?


All times are GMT. The time now is 09:43 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.02275 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)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
  • (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