osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Date proble in signup

This is a discussion on Date proble in signup within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi I'm using OScommerce 2.2 on a SUSE9.1 Linux machine when a new customer sign up they have to enter ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-08-2004, 02:07 AM
New Member
 
Join Date: Sep 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
energeeuk
Default Date proble in signup

Hi

I'm using OScommerce 2.2 on a SUSE9.1 Linux machine
when a new customer sign up they have to enter there Date Of Birth but its in amercan i.e mm/dd/yyyy this i wish to change to dd/mm/yyyy

Can anybody help

Many Thanks
EnergeeUK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-08-2004, 08:16 AM
Active Member
 
Join Date: May 2003
Posts: 148
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Arpit
Default

catalog/create_account.php,

around line # 79

Code:
if (ACCOUNT_DOB == 'true') {
      if (checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false) {
        $error = true;

        $messageStack->add('create_account', ENTRY_DATE_OF_BIRTH_ERROR);
      }
    }
this is what u need to change, play with strings n u shall have your desired results
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-09-2004, 05:35 AM
New Member
 
Join Date: Sep 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
energeeuk
Default Thanks

Thanks for that but i'm still non the wiser. lol

I'm new to this PHP stuff

Also when a customer goes to change there data the date of birth comes up sayin tue/jan/1967 if you just click continue it errors

any help please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-14-2004, 01:26 PM
New Member
 
Join Date: Dec 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
b2bcons
Default RE: Thanks

I am getting the same problem despite changing the code in english.php and create_account.php

What would be useful is some actual coding which works, so we can copy it
__________________
Trevor Locke
Consultant
www.b2bwebconsultants.co.uk
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
affiliate signup error!!! PLEASE HELP!!!!!! acurals7 osCMax v2 Installation issues 3 07-20-2006 05:42 PM
Can't login/signup new customer jbianco osCommerce 2.2 Installation Help 7 04-06-2004 12:56 PM
Modifying Signup (Register) Page terabite.com osCommerce 2.2 Modification Help 0 02-03-2003 06:55 PM
Signup referring URL/METHOD question CharlesE osCommerce 2.2 Modification Help 0 12-03-2002 11:16 AM


All times are GMT -8. The time now is 08:44 AM.


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