Hi,
I managed to use the Joomla registration (thx for the excellent Tutorial!!). There are only 2 things that don't work immediately:
-> How can I encrypt the password in the chronoform database?
-> How can I check if the e-mail address is already in use?
Hi,
#1- use this code in the extra after registration box in the plugin config screen, I'm not sure if it will work in RC5.1 or not but it will in RC5.2
<?php
JRequest::setVar('password_field_name', md5(JRequest::getVar('password_field_name')));
?>
#2- Joomla checks for this and you can get the messages to display them, there are some code here in the forums to let you do this, in the coming release there will be an easy option to turn this on!
$MyForm->formerrors = $MyPlugins->cf_joomla_registration['errors'];
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thx!
Where should I copy the 2nd code?
Hi,
you need to add 1 line to define the $MyPlugins first, the code is :
$MyPlugins =& CFPlugins::getInstance($MyForm->formrow->id);
and add the code to onSubmit box which will run after the plugin runs!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.