Contributions
Mail_Validation
Bei dieser Erweiterung geht es darum vor einer Anmeldung die Emailadresse mittels eines Validation-Codes zu überprüfen // You see here a demolink how it looks in the registration email of the customer -->
http://localhost/test/pw.php?action=reg&pass=w6gYg2DT4tB9XknS4Bkh7MGn0RPUd4ZjMSGVS3b3or94hH2o&id=10
----------------------
This addon allow you to check if the customers emailadress is valid by add ing a registration code.
You see here a demolink how it looks in the registration email -->
http://localhost/test/pw.php?action=reg&pass=w6gYg2DT4tB9XknS4Bkh7MGn0RPUd4ZjMSGVS3b3or94hH2o&id=10
------------------------------------
Created by John Wood -
For any questions pls use the german oscommerce board:
http://forums.oscommerce.de/viewtopic.php?t=15146
Expand All / Collapse All
the current version forces user to login again after registering even when mail_validation is turned off
in create_account_success.php,
//add this
if (EMAIL_VALIDATION=='true'){
//before tep_session_unregister('customer_id'); tep_session_unregister('customer_default_address_id');
tep_session_unregister('customer_first_name');
tep_session_unregister('customer_country_id');
tep_session_unregister('customer_zone_id');
tep_session_unregister('comments');
//and add
}
//after
Italian translation added, uno minor fix (ortographical error)
The attached file contains an updated Install.txt file, that adds the English translation for the MySQL entry.
The enlish translation is the ONLY change from the original install file.
There is a bug in the 2.1 release.
When a customer login without validation, or with an invalid code, the pw.php will create an error. The $FILENAME_DEFAULT will not be a valid file name.
This line in the pw.php must be changed
<td class="main"><?php echo TEXT_ACCOUNT_CREATED_FAIL . '<br>'; ?></td>
to
<td class="main"><?php $FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL . '<br>'; ?></td>
and this line
<td class="main"><?php echo TEXT_ACCOUNT_CREATED_FAIL2 . '<br>'; ?></td>
to
<td class="main"><?php $FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL2 . '<br>'; ?></td>
Full Package. Only changed the catalog/pw.php, all other files are identical to ver2.1
Mail Validation 2.2
Full Pack. I Have Made The Danish File, And Install.txt To Danish. The Bugfix etc. Is Up To Date In The Install.txt
So In This Pack There Are "Danish, English And german"
In the install.txt for the package below the link for the validation is not correct. Instead of "&uid=" "&cuid=" is correct.
THIS IS ONLY THE install.txt, please use it with the package below!
Found a typo in install.txt
define('EMAIL_VALIDATION', '<b>Bitte klicken Sie auf diesen Link:</b>');
should be
define('MAIL_VALIDATION', '<b>Bitte klicken Sie auf diesen Link:</b>');
full package
Bugfix in pw.php: entry_country_id , entry_zone_id were not recognized
Admin switch module on/off
included support for SPPC 4.1 see http://www.oscommerce.com/community/contributions,716
Full Package
Best regards
Götz
I found a error in the catalog/pw.php at Line 131
The Link was uncorrect :
<a href="' . tep_href_link($FILENAME_DEFAULT) . '">
Corrected
<a href="' . tep_href_link(FILENAME_DEFAULT) . '">
This error caused, that the shop didn't show left navigation and said "Unable to determin page link"
Zip only contains pw.php file
Regards
Alex
Fixed one Bug and added a feature that allow to redirect the User after Logged in to the Page he comes from.
Mail Validation Ver 2.0
Oct. 22, 2005
Rewrote the install instructions,
fixed a number of bugs & typos,
included the Stats for not Logged
Users mod, and made a few overall
modifications to improve
performance for English Version
by Steel Shadow
steelshadow@geocities.com
http://rebelstyle.com
All credit goes to the
Original Authors
John Wood & Alex Zach
Sorry my German is not good enough to translate this, but maybe someone else can help out as well.
Steel Shadow
Mail Validation Ver 1.6b
Oct. 6, 2005
Rewrote the install instuctions
and fixed a number of bugs and
typos for the English Version
by Steel Shadow
steelshadow@geocities.com
http://rebelstyle.com
All credit goes to the
Original Author
John Wood - www.z-is.net
***************************************
* Mail Validation Ver 1.6 *
* Oct. 5, 2005 *
* *
* Rewrote the install instuctions *
* and fixed a number of bugs and *
* typos for the English Version *
* *
* by Steel Shadow *
* steelshadow@geocities.com *
* http://rebelstyle.com *
* *
* All credit goes to the *
* Original Author *
* John Wood - www.z-is.net *
***************************************
Readme updated
Full Package .
New version is online.
English spoken user please use the thread on the english-board --> http://forums.oscommerce.com/index.php?showtopic=141732&hl=
Cleared out some Bugs and missing defines.
There will be no updates in the future for this contribution.
Updated Code and Install Instructions.
Full Package.
The Credit goes to the author: Alex Zach!
This is not the full package but just the code requird to make the validation link clickable in the email the customer receives to activate their account.
This are changed stats from "Inactive_user" to see the not validated users only.
UPDATE für nachträgliche Installation:
**************************************
Um alle bestehenden Kunden zu validieren mus zuerst die zweite datenbanktabelle auf default 1 stehen
(ALTER TABLE `customers` ADD `customers_validation` CHAR( 1 ) NOT NULL default '1';)
Nach dem erstellen bitte manuell auf default '0' stellen !
Danke für diesen Hinweis an MULTISHOP
******************************
/////////////////////////////////////////////////////
UPDATE for Cart in use:
***********************************To allow already registered users to login, you have to set the second database tables default to 1 for create !!!
(ALTER TABLE `customers` ADD `customers_validation` CHAR( 1 ) NOT NULL default '1';)
After created, please set manual to default '0'
Thanks to "MULTISHOP" for this bug
//////////////////////////////////////
All files are inside of this package
Small Install-Update
Now the register-code is only 10 chars long.
Bei dieser Erweiterung geht es darum vor einer Anmeldung die Emailadresse mittels eines Validation-Codes zu überprüfen // You see here a demolink how it looks in the registration email of the customer -->
http://localhost/test/pw.php?action=reg&pass=w6gYg2DT4tB9XknS4Bkh7MGn0RPUd4ZjMSGVS3b3or94hH2o&id=10
----------------------
This addon allow you to check if the customers emailadress is valid by add ing a registration code.
You see here a demolink how it looks in the registration email -->
http://localhost/test/pw.php?action=reg&pass=w6gYg2DT4tB9XknS4Bkh7MGn0RPUd4ZjMSGVS3b3or94hH2o&id=10
------------------------------------
Created by John Wood - www.z-is.net
Comments and Donations(Paypal) pls to: admin@z-is.net
For any questions pls use the german oscommerce board:
http://forums.oscommerce.de/viewtopic.php?t=15146
Note: Contributions are used at own risk.