![]() |
Assign Style based on Viewer's Time of Day
Force Style based on Viewer's Time of Day
Description Requested by Solace-City here, this Modification allows you to assign a specific Style for Users, based on their Timezone. It will display the 'Day Style' between the hours you specify, and the 'Day Style' in all other times. You can turn it on and off, assign Style IDs and choose the time to display the Night Style from the AdminCP - Style and Language Settings page. Details 1 Product XML (1 Plugin, 5 Settings) (If you Downloaded this prior to the timestamp on this edit, Uninstall the Product and start anew with the attached file in the .zip). |
And lets just reserve the first post, for no reason whatsover.
|
oh now, that's a novel idea.... nice one, Kall :D
|
Solace-City came up with the concept... I just cobbled together the code. :)
|
Woow! Thanks man! This is awesome. I've got vBulletin 3.6.0 RC1, so I'll test away to see if it works with that version.
Trialing it on solace-city.com/forum/ |
No problemo at all!
Just doing my bit to foster closer Australo-Kiwi relations. ;) |
Darn, the options do not show when installed for 3.6.0 RC1 :(
Perhaps someone else with this vB version could test it to see if it is the version of vBulletin, or a conflicting hack that is installed? |
You're quite right.. they didn't come out with the xml.. let me try again.
|
OK.. try it now.
Seems I had to set 'Allow overwrite' in the Settings. Bit of a silly title for a setting, but there you go. :) |
Ok, its showing up under the options now! :)
Although, when viewing as a guest I still see the daytime skin. Does the "Allow Users To Change Styles" have to be enabled for this plugin to function? The way we work with styles at the moment is control them all through the admincp (eg change it for a special event or whatnot) so if we were to enable users to select a skin they wish, they would not see the special skin. Nevertheless, thank you for all your work, and time you put in. EDIT: OOPS!! My mistake I feel dumb. I had the Start/Stop figures around the wrong way... Thanks for this wonderful hack! |
All times are GMT. The time now is 11:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|