Back to vBulletin 3.5 Add-ons

Default Start of the Week for new Registrations
Mod Version: 1.00, by Marco van Herwaarden

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 7
Released: 07 Mar 2006 Last Update: Never Downloads: 25
Not Supported Uses Plugins  

Default Start of the Week - Version 1.00

This hack is based on the following request:

Spoiler (click to open)


Hello,

I would like to set my calendars to default as Mon being the start of the week. I can do this for the calendar, however user's usercp overides this to their default. This is set as Sun when they join.

You can go in to the database and use:

UPDATE user SET startofweek=2

to reset it for all existing users, but new ones still start with sun. There is no option in the

Admin CP -> vBulletin Options -> User Registration Options -> Default Registration Options

to set it either.

does anyone know where the startofweek variable is stored so that I can change it? or of another cunning way of doing this.

There was a thread here:
http://www.vbulletin.com/forum/index.php?t=160444

but it came to no avail, can you help?

Close
and http://www.vbulletin.com/forum/index.php?t=160444

Description
This modification adds a new option to your vBulletin Options->User Registration Options: Default Start of Week.

If set to a value between 1-7 or -1, this value will be used as a default for new user registrations.

Installation
Install the product xml-file in the zip, and set the value in your vBulletin Options as you like.

Notes
Copyright ©2006 MarcoH64
This Modification may not be redistributed in whole or significant part or changed without prior agreement of author.
Please don't forget to click Install.
If you like this work and would like to support the author, donations are always welcome at Paypal: Marcoh64 AT gmail.com

Download

This modification is archived and cannot be downloaded.


vblts.ru supports vBulletin®, 2022-2024