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)

acast 09-08-2008 01:42 AM

Hi, i have the enlighten style, this is the code in the CSS (the logo is there, not in header):

Code:

/* ***** SETS LOGO AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#logo {
background: url(enlighten/misc/header_logo.gif);
width: 470px;
height: 102px;
float: left;
        margin: 0;
        padding: 0;
}

/* ***** sets background for header area - No need to change this ***** */
#hdr {
background: #F7632F url(enlighten/misc/header_back.gif) ;
width: 100%;
height: 102px;
        margin: 0;
        padding: 0;
}


/* ***** SETS HEADER RIGHT SIDE AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#hdr_rs {
background: url(enlighten/misc/header_rs.gif);
width: 34px;
height: 102px;
float: right;
padding: 0;
}


/* ***** SETS HEADER RIGHT SIDE AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#hdr_rs {
background: url(enlighten/misc/header_rs.gif);
width: 34px;
height: 102px;
float: right;
padding: 0;
}

What i have to do to have the banners where is the header_logo. Thanks if someone can help me.

space? 09-08-2008 12:36 PM

Excellent work andrefedalto :)

TheWhite 09-11-2008 02:59 AM

Can an automatic rotate feature be added?

PS. Flash banners are showing on the left.

Regards

space? 09-11-2008 05:36 PM

Quote:

Originally Posted by TheWhite (Post 1619597)
Can an automatic rotate feature be added?

I think it's allready in. Try to set up a slideshow, the effect should be similiar.

Quote:

Originally Posted by TheWhite (Post 1619597)
PS. Flash banners are showing on the left.

Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan

BirdOPrey5 09-13-2008 04:34 PM

Installed it but every banner I try and upload it tells me that the extension isn't allowed to be uploaded... First was jpg, then a gif, then I changed the default allowed extensions to just:
jpg|gif|png
Still nothing will upload.
Useless.

TheWhite 09-17-2008 02:54 AM

Quote:

Originally Posted by space? (Post 1620003)
I think it's allready in. Try to set up a slideshow, the effect should be similiar.


Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan

i just want a 728x90 center banner but i'd like an auto refresh feature so that they'll rotate without having to wait for a manual reload

inciarco 09-17-2008 05:01 AM

Quote:

Originally Posted by BirdOPrey5 (Post 1621323)
Installed it but every banner I try and upload it tells me that the extension isn't allowed to be uploaded... First was jpg, then a gif, then I changed the default allowed extensions to just:
jpg|gif|png
Still nothing will upload.
Useless.

In the Error Message you have to Select the Text that Indicates the Type of Image and include it in the Banner Rotator Options for Extensions, separated with Pipeline "|".

In my case I was Uploading a jpeg File and I receiven an Error that referenced the File as image/pjpeg so I included that text on the Text Box for "Extensions accepted for upload (separated by |)" and that was it, after that the Upload worked Ok.

Thank You andrefedalto for Sharing this Great Mod. :up:

My Best Regards.

:)

TheWhite 09-23-2008 10:34 AM

Quote:

Originally Posted by space? (Post 1620003)
I think it's allready in. Try to set up a slideshow, the effect should be similiar.


Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan


The auto rotate is too slow can it be speed up a bit?????

Sandgrinder 09-28-2008 09:41 PM

How do you make it so it doesn't open the site index in a new window when you click the banner? I just want it to refresh the page.

vlllad 09-29-2008 05:16 PM

There was an error while moving your file. Please retry.


All times are GMT. The time now is 08:20 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.01232 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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