Community Add-Ons

Maintainers: aegrnberg
Add file to this package
Top » Features

Disable Name Change in account_edit.php
for osCommerce Online Merchant v2.2

Disable Name Change in account_edit.php
11 Feb 2007

For a couple of reasons I didn't want to allow customers to be able to change their name in the account_edit page. If they wanted to do so they would need to contact me. So I made the input fields for first name and last name on that page read only, then a link directs them to go to the contact page if they needed their name changed.

Very simple mod, hopefully it will help someone else out there.

Changes to only 3 files:

catalog/account_edit.php
catalog/includes/functions/html_output.php
catalog/includes/languages/english.php

Attachment does not contain any files, instructions only.

aegrnberg

Legend:  Download   Report
Expand All / Collapse All
Don't edit english.php aegrnberg 14 Feb 2007  

Update: 14 Feb 2007
Just realized the language text affects create_account.php as well, so we won't touch english.php, will create new text for languages/english/account_edit.php. These instructions include fix by veera, thanks!

No need to go new function for readonly veera 12 Feb 2007  
Disable Name Change in account_edit.php aegrnberg 11 Feb 2007