PDA

View Full Version : Mini Mods - [How To - VB4] Remove Time Zone fields from registration page


emath
12-28-2013, 11:00 PM
I know many were looking for this to simplify their registration form, so here it is :

1) go to your admin panel

2) click on style & languages -> style manager .

3) choose to edit the 'register' template an look for :

{vb:raw timezoneoptions}

and replace it with the following code :

<vb:comment>
{vb:raw timezoneoptions}
</vb:comment>
<!-- this is replacing the timezone fields and replace it by default -->
<input type="hidden" name="timezoneoffset" value="2" />
<input type="hidden" name="dst" value="2" />

this will take the default properties which defined in admin cp .

also, notice that this modification is not good for forums which have users from all over the world.

ckgb
01-07-2014, 04:03 PM
Thank you. Installed.

karnevil
05-14-2014, 04:06 PM
Thank you :) Works perfectly. Installed.