vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Change banner based on time (https://vborg.vbsupport.ru/showthread.php?t=302574)

thenashy 09-23-2013 08:28 PM

Change banner based on time
 
Hi guys,

This might be something really simple using JS, but when it comes to web code, I'm a complete noob.

I'm wonderinf if it is possible to change the banner image on vBulletin based on what time it is in the day?

Any help would be greatly appreciated.

ozzy47 09-23-2013 08:37 PM

What banner are you referring to?

thenashy 09-23-2013 09:02 PM

The main banner at the top of the forum. Or even just the logo. I can adapt whatever code I need, but just don't have a clue how to do it.

ozzy47 09-23-2013 09:06 PM

This may accomplish what you want, https://vborg.vbsupport.ru/showthread.php?t=286101

thenashy 09-23-2013 09:48 PM

Looks promising, but it seems to only be based on a daily banner, where I would like 3 a day.

ozzy47 09-23-2013 09:57 PM

Maybe this one, https://vborg.vbsupport.ru/showthread.php?t=298035

This one will change the logo on page refresh, https://vborg.vbsupport.ru/showthread.php?t=228130

thenashy 09-23-2013 10:36 PM

They also don't seem to be time based.

ozzy47 09-23-2013 10:39 PM

Then you may have to wait till one of those developers adds support for that, as I don't think their is any others out there that are already compatible.

thenashy 09-23-2013 10:47 PM

Based on what I'm reading, someone who knows JS would know a code to do this easily, and then I would do template edits to add it to VB.

ozzy47 09-23-2013 10:52 PM

You could try posting your request in the Modification Requests/Questions (Unpaid) forum.

If you don't get no one to do it in there, you could try the Requests for Paid Services forum.


All times are GMT. The time now is 04:46 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.00940 seconds
  • Memory Usage 1,721KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete