Hi
I have used Chronoforms to mimic the Joomla registration process. This works successfully , except for the fact that when I open the csv. file to view to entries I find that with each succesful registration the user info is contacined on one row of data on the spreadsheet BUT there is also a second row added by the operation as well which contains no in most of the fields but has the following entries:
block sendEmail gid registerDate lastvisitDate activation params
0 0 1 0000-00-00 00:00:00 0000-00-00 00:00:00
Does anyone know how I can prevent this second entry?
Thank you
I have used Chronoforms to mimic the Joomla registration process. This works successfully , except for the fact that when I open the csv. file to view to entries I find that with each succesful registration the user info is contacined on one row of data on the spreadsheet BUT there is also a second row added by the operation as well which contains no in most of the fields but has the following entries:
block sendEmail gid registerDate lastvisitDate activation params
0 0 1 0000-00-00 00:00:00 0000-00-00 00:00:00
Does anyone know how I can prevent this second entry?
Thank you
Hi Jemwig,
Are you using the ChonoForms Joomla Registration Plugin?
Hard to tell where the second entry is coming from without more information about the process.
Bob
Are you using the ChonoForms Joomla Registration Plugin?
Hard to tell where the second entry is coming from without more information about the process.
Bob
block sendEmail gid registerDate lastvisitDate activation params
0 0 1 0000-00-00 00:00:00 0000-00-00 00:00:00
This are the Default Values of the DB-Table jos_users
(they where filled in when there is no other value)
---
And there is my Question:
With the ChonoForms Joomla Registration Plugin i cant set the User-Group and the Status (blocked or active)
Than User can Register himself, but i have/can activate them.
I know that it is normally not a good idea to give user more Rights, thats why i like to activate them manually
Is it possible to add this Fields to the Plugin? (User-Group and activate status)
PS: is it easy to send activation-link mail to admin instead of the user?
Greetings out of Switzerland
Grafik
Hi grafik,
You can set other variables in the OnSubmit Before box like this
NOTE: It's is not a good idea to automatically give any users more rights than 'Registered'
You can turn off user activation in the Site Configuration.
What other fields do you want to add?
Bob
You can set other variables in the OnSubmit Before box like this
<?php
$firstname = JRequest::getString('firstname', '', 'post');
$lastname = JRequest::getString('lastname', '', 'post');
JRequest::setVar('name', $firstname.' '.$lastname, 'post');
jimport('joomla.user.helper');
$password = JUserHelper::genRandomPassword();
JRequest::setVar('password', $password, 'post');
?>
This box is not enabled in the released plugin but there's a simple fix that I posted today for the CVB Registration Plugin.NOTE: It's is not a good idea to automatically give any users more rights than 'Registered'
You can turn off user activation in the Site Configuration.
What other fields do you want to add?
Bob
Hi Bob, thanks for answer 😀
but i don't understand what your answer had to do with my question :?
or how i can use it with my question. Now i try to answer this: 🙂
When you edit a User at Backend of Jommla (User Manager) you have:
User Details , Parameters, Contact Information
i wish to set the Group and Block User "Fields" (found inside User Details)
with/inside ChonoForms Joomla Registration Plugin, and when it is easy with all Dropdowns out of Parameters too.
Maybe not as Fields that i set from Form values like Name Field: or Email Field:,
but as "static" Dropdowns like Joomla Status Message: or Email admins ?:
What i wish is that the User fill Out the Form (with additional Fields that i check manually, and when this check is positive i activate him)
PS: Edited My first Post too. Hope you can understand it better now.
(i think that some of the things i wish are/have to written inside the fields out of the stating post, thats why i write inside this topic)
greetings Grafik
but i don't understand what your answer had to do with my question :?
or how i can use it with my question. Now i try to answer this: 🙂
What other fields do you want to add?
Bob
When you edit a User at Backend of Jommla (User Manager) you have:
User Details , Parameters, Contact Information
i wish to set the Group and Block User "Fields" (found inside User Details)
with/inside ChonoForms Joomla Registration Plugin, and when it is easy with all Dropdowns out of Parameters too.
Maybe not as Fields that i set from Form values like Name Field: or Email Field:,
but as "static" Dropdowns like Joomla Status Message: or Email admins ?:
What i wish is that the User fill Out the Form (with additional Fields that i check manually, and when this check is positive i activate him)
PS: Edited My first Post too. Hope you can understand it better now.
(i think that some of the things i wish are/have to written inside the fields out of the stating post, thats why i write inside this topic)
greetings Grafik
Hi grafik,
I can't imagine why you would want a new user setting the 'block' parameter. If you always want it set to 'on or off' then use the static code that I posted e.g. blocked=1
Equally I'm not sure that you would want a User setting themseleves as a SuperAdmin so those settings won't be in the Registration Plugin.
What I'd suggest is that you create a second 'admin' form using the Profile plugin which you can easily set up to make all user fields editable.
The content info is stored in a different table. I think that you could extend your registration form to include that info and then add some custom OnSubmit code to save it to the jos_contact_details table
Bob
Later: as Max has posted, some of these will be over-ridden by the sie configuration settings.
I can't imagine why you would want a new user setting the 'block' parameter. If you always want it set to 'on or off' then use the static code that I posted e.g. blocked=1
Equally I'm not sure that you would want a User setting themseleves as a SuperAdmin so those settings won't be in the Registration Plugin.
What I'd suggest is that you create a second 'admin' form using the Profile plugin which you can easily set up to make all user fields editable.
The content info is stored in a different table. I think that you could extend your registration form to include that info and then add some custom OnSubmit code to save it to the jos_contact_details table
Bob
Later: as Max has posted, some of these will be over-ridden by the sie configuration settings.
Hi grafik,
please note that the registration plugin uses the Joomla gloibal config for registration so if you have it setup to "users need to activate" then the new users will be blocked by default!
Cheers
Max
please note that the registration plugin uses the Joomla gloibal config for registration so if you have it setup to "users need to activate" then the new users will be blocked by default!
Cheers
Max
Hi all,
I'm running ChronoForms_V3.1_RC5.3 on Joomla 1.5 and I'm linking the Joomla registration plugin with a customized form with 2 additional fields made with ChronoForm. The goal is to save all the information for the registration on jos_user using the Joomla registration plugin.
I already changed the Joomla side, so the table jos_user, libraries/joomla/database/table/user.php and administrator\components\com_users\views\user\tmpl\form.php and the if the information is entered from the backend is correctly saved (including the additional fields) on jos_user.
From the registration form on the frontend I still have problems. I changed the plugin (/public_html/components/com_chronocontact/plugins/cf_joomla_registration.php) inserting the customized fields and now they are displayed under the "User information field names" in the backend of the Joomla registration plugin. The problem is that I cannot related the information (text_*) to the fields because apparently I cannot save them correctly *somewhere*. How should I customized the plugin files to save the relation Surname-text_1 and Institution-text_09?
This is the screenshot of the plugin before saving it:
[attachment=1]forum.JPG[/attachment]
This is the screenshot of the plugin after have saved it:
[attachment=0]forum2.JPG[/attachment]
Do you have any suggestion because I'm getting crazy.
Thanks a lot.
I'm running ChronoForms_V3.1_RC5.3 on Joomla 1.5 and I'm linking the Joomla registration plugin with a customized form with 2 additional fields made with ChronoForm. The goal is to save all the information for the registration on jos_user using the Joomla registration plugin.
I already changed the Joomla side, so the table jos_user, libraries/joomla/database/table/user.php and administrator\components\com_users\views\user\tmpl\form.php and the if the information is entered from the backend is correctly saved (including the additional fields) on jos_user.
From the registration form on the frontend I still have problems. I changed the plugin (/public_html/components/com_chronocontact/plugins/cf_joomla_registration.php) inserting the customized fields and now they are displayed under the "User information field names" in the backend of the Joomla registration plugin. The problem is that I cannot related the information (text_*) to the fields because apparently I cannot save them correctly *somewhere*. How should I customized the plugin files to save the relation Surname-text_1 and Institution-text_09?
This is the screenshot of the plugin before saving it:
[attachment=1]forum.JPG[/attachment]
This is the screenshot of the plugin after have saved it:
[attachment=0]forum2.JPG[/attachment]
Do you have any suggestion because I'm getting crazy.
Thanks a lot.
This topic is locked and no more replies can be posted.