The interface that users encounter when entering their birthday can be changed to better suit your needs simply by editing lang_main.php and birthday_interface.tpl. Examples of how it might be changed follow:
| Date of Birth: | , (Optional) |
| Date of Birth: |
|
|||||||||||
| Date of Birth: |
|
| # no changes necessary |
| #
#-----[ COPY ]------------------------------------------ # copy contrib/templates/subSilver/paypal.tpl to templates/subSilver/birthday_interface.tpl # #-----[ OPEN ]------------------------------------------ # language/lang_english/lang_main.php # #-----[ FIND ]------------------------------------------ # $lang['Default_Month'] = '[ Select a Month ]'; $lang['Default_Day'] = 'dd'; $lang['Default_Year'] = 'yyyy'; # #-----[ REPLACE WITH ]---------------------------------- # $lang['Default_Month'] = ''; $lang['Default_Day'] = ''; $lang['Default_Year'] = ''; |
| #
#-----[ COPY ]------------------------------------------ # copy contrib/templates/subSilver/vbulletin.tpl to templates/subSilver/birthday_interface.tpl # #-----[ OPEN ]------------------------------------------ # language/lang_english/lang_main.php # #-----[ FIND ]------------------------------------------ # $lang['Year_Optional'] = 'Year <i>(Optional)</i>'; # #-----[ REPLACE WITH ]---------------------------------- # $lang['Year_Optional'] = 'Year (Optional)'; # #-----[ FIND ]------------------------------------------ # $lang['Default_Month'] = '[ Select a Month ]'; $lang['Default_Day'] = 'dd'; $lang['Default_Year'] = 'yyyy'; # #-----[ REPLACE WITH ]---------------------------------- # $lang['Default_Month'] = ''; $lang['Default_Day'] = ''; $lang['Default_Year'] = ''; |