The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto changing Forum style
Is their any way to automatically change the default style based on the date? Right now I am running a Xmas theme (thanks vBulletin.Org) on my forum at www.wireless-florida.com/forum but want it to change to a non xmas theme by itself on December 26th etc. IS this possible without code modification ?
|
#2
|
||||
|
||||
Probably not but you could probably set up a simple vb cron job to edit the db to change the default forum style ID.
|
#3
|
||||
|
||||
It's stored in datastore I believe. Changing the database value won't do it unless it also changes the datastore setting.
|
#4
|
|||
|
|||
How many styles do you have? It could be possible to hook into the system before the style is chosen and change it.
If you only have 1 main style (and an xmas style) it is very simple. |
#5
|
||||
|
||||
Yerterday I also had this same need; I have two Styles and need to switch them in the Default Style of the vBulletin Options (vBulletin Options -> Style & Language Settings -> Default Style), (for all Visitiors), every x Hour (at x1 hour of night change to Style 1 and at x2 hour of day change to Style 2).
I know it requires two Cron PHP Files (one to each change of Style), and to Set Two Scheduled Tasks for each Change of Style at a determinate hour of the day, each day. Has anybody developed this Code?? If so, could you please Upload the PHP File to have it as reference to Custom it for my need?? Or perhaps Copy/Paste the Code of the PHP File for me to Create it?? I appreciate that Very Much!! :up: My Best Regards!! --------------- Added [DATE]1201459060[/DATE] at [TIME]1201459060[/TIME] --------------- I Share With You the Link to a Thread that Solves This Need!! :up: Assign Style based on Viewer's Time of Day Inside the Winzip File there's a 3.5 and a 3.6 Version of the Mod. I tried it on vB 3.6.7 PL1 and works OK!! :up: My Best Regards!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|