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)

rwoscott 11-27-2007 06:00 PM

Quote:

Originally Posted by ginnser (Post 1390413)
working but dont having problems. how do i mod 0777 ??? whats that all about ?

Cheers

You have to change the read/write/Execute permissions of the uploaded files.

You can usually do this through your FTP client, by looking at the properties or attributes of the file.

I use WinSCP, right click on the uploaded file in the admincp directory, then select properties.
Click all the permission R/W/X boxes, The Octal will change to 0777, and you will be able to use the admincp functions properly.

As you are not having any problems then the above is for your information only.

rwoscott 11-27-2007 06:06 PM

Thanks For the mod, installed and working. nicely.

Is it possible to split the banner?

We used to have a left and right banner, right for display only, left took you to another part of the site. Is it easy/possible to do this?

phonepro 12-04-2007 03:23 AM

i got the Banner rotaror in admin cp when i click add banner i get
this message

The selected file type is not allowed. image/gif

i have checked the chmod ok also jpg file same issue

this is my header can anyone tell me where to add $banner
<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="background-image:url($stylevar[imgdir_misc]/back.jpg)">
<tr>
<td valign="top"><td valign="top" width="100"><img src="$stylevar[imgdir_misc]/link_02.gif" width="100" border="0" alt="Reviews"/></td>
<td valign="top" width="100">
$banner</td <img src="$stylevar[imgdir_misc]/link_03.gif" width="100" border="0" alt="Articles"/></td>
<td valign="top" width="100"><img src="$stylevar[imgdir_misc]/link_04.gif" width="100" border="0" alt="Downloads"/></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/link_05.gif" alt=""/></td>
$banner
</tr>
</table>
</center>

phonepro 12-06-2007 03:45 AM

can anyone help on this?

rwoscott 12-06-2007 05:38 AM

Quote:

Originally Posted by phonepro (Post 1395951)
can anyone help on this?

Under AdminCP > vBulletin Options > Banner Rotator > Extensions

Do you have image.gif in there??

Also, in the same location what does this field contain?
Default dir for images.

realsumon 12-06-2007 06:50 AM

working fine! Thanks for module

rigodiaz 12-11-2007 12:05 PM

Quote:

Originally Posted by gsmlover4u (Post 1198558)
what is this error
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access ./images/banners/iklkiu_468x60_01_01.gif/iklkiu_468x60_01_01.gif in /admincp/brotator.php on line 62

Just create a new folder in the images folder with the name "banners", and change mod 777.


Grate Mod, thanks!

mofeu 12-17-2007 07:31 PM

I have a problem when I am trying to upload a banner I have the following error message

The selected file type is not allowed. image/gif

the allowed extensions are jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

rwoscott 12-17-2007 09:31 PM

Quote:

Originally Posted by mofeu (Post 1403022)
I have a problem when I am trying to upload a banner I have the following error message

The selected file type is not allowed. image/gif

the allowed extensions are jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

Include image.gif in the allowed extensions. Remember to include a pipe | to separate each item.

Robert Paulson 12-18-2007 01:48 AM

Nice hack. It took some work to get up and running, but I'm a total noob so it's to be expected.

And I apologize if this has been covered, but is there a way to keep an existing logo on the left of the header and load the banners to the right, like below. :o

I've been back and forth for an hour with other issues like the installation, new file extensions, etc., I'm just spent and need a quick fix.

http://i243.photobucket.com/albums/f...willis/bnr.jpg


All times are GMT. The time now is 08:27 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.01298 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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