Activation link and register in one email second: user data

family-guy 15 Sep, 2011
I used to Chronoforms in V3 but already we've changed version Joomla to 1.7 and Chronoforms to V4 and got some problems. Simply:
1. I can not include activation link in registration email form created by Chronoforms. Do you know how to solve problem? I Tried use Email Verification Sender but it's wrong way and doubled user name unfortunately.
2. I can not include username and other user profile informations from user to save in database and email with form created by Chronoforms. {cf_user_id} it's not useful for me.
3. How can I check that user is registered already when he will fill a form? For example I would like to send email for all users with direct link to form. I can not create a page with access for register user with link. Is it simplier way to do this?

In advance thank you for help🙂 I hope that next version Chronoforms would be less complicated for not advanced users🙂
GreyHead 15 Sep, 2011
Hi family-guy,

1. I think that you need to add {vlink] to the Email template to include the verification link.

2. Use a Custom Code element to get any of the User data from the user opject and add it to the Form Data
<?php
$user =& JFactory::getUser();
$form->data['name'] = $user->name;
. . .
?>


3. Use the Authenticator action (in the Security group) to limit access to registered users.

Bob
family-guy 16 Sep, 2011
Thank you a lot for quick reply!

1 - not working {vlink} in ver V4(I checked before). Have you got any idea how to shortcut way to register and apply form just in one mail.

2- thank you. So easy🙂 It's working I added code:
<? $user =& JFactory::getUser();
if (!$user->guest) {
$form->data['name'] = $user->name;
$form->data['email'] = $user->username;
}
?

3 - thank you, it's working. Chronoforms is really powerful forms constructor:)
GreyHead 16 Sep, 2011
Hi family-guy,

I just took a look at the code Max is using for the Joomla! Registration Action and it doesn't look as though it allows a custom email (though you could edit the Joomla! language file entry for COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY ).

It would be possible to edit the action to allow a custom email but it's not a two minute job :-(

Bob
This topic is locked and no more replies can be posted.