osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Please help. change DOB format for 10-digit social security

This is a discussion on Please help. change DOB format for 10-digit social security within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; My site will be in Icelandic (as main languague) and I need to use social security numbers instead of only ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-18-2006, 06:14 AM
New Member
 
Join Date: Aug 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
oling
Default Please help. change DOB format for 10-digit social security

My site will be in Icelandic (as main languague) and I need to use social security numbers instead of only the "Date of Birth" in create_account. These are always 10-digits like, "DDMMYYCCCC" (C for numbers 0-9). So (after some investigation), I think I at least need to modify the following line in the icelandic.php file (same as english.php) somehow:

/ text for date of birth example
define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

to displaying something like:

/ text for date of birth example
define('DOB_FORMAT_STRING', 'mmddyycccc');

Does anyone know how to do this, please?

Thanks, oling
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-24-2006, 07:12 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: Please help. change DOB format for 10-digit social secur

First off all it will not work with 'cccc' AT ALL as it will not reconize it as a date. This is a DATE field not a text field. You would be better off following all the DOB variable and ADD a text feild to all files.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
FAQDesk, Change date format?? HollyRidge osCMax v2 Customization/Mods 0 09-28-2005 03:50 PM
Want to change the list of products format to something else TheBestStoreInTheWorld osCommerce 2.2 Modification Help 1 09-03-2003 01:24 AM
DOB format messias osCommerce 2.2 Modification Help 0 05-27-2003 05:02 PM
Change date format don osCommerce 2.2 Installation Help 1 01-31-2003 07:03 PM
Date format killermonkey osCommerce 2.2 Modification Help 3 01-24-2003 02:07 AM


All times are GMT -8. The time now is 02:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax