Forums

registration form with chronoforms

mac 22 Feb, 2009
Hi,
with the perfect tutorial to create a Joomla registration form using chronoforms I create one form.
In a menue I start this form and test it.
When I klick on the button to submit, the answer is that all is correct and I must get a mail, but this mail to activate the registration don't arrive.
In the backend 'user management' the user is registered.
Have I something forgotten?

Mac
GreyHead 22 Feb, 2009
Hi mac,

Does your site send emails OK if you use the standard Joomla registration?

Bob
mac 22 Feb, 2009
Hi Bob,
this is the message:

Ihr Benutzerkonto wurde angelegt und ein Aktivierungslink wurde an die von Ihnen angegebene E-Mail-Adresse versandt. Um Ihr Benutzerkonto freizuschalten, müssen Sie in der Ihnen zugesandten E-Mail auf den Aktivierungslink klicken oder ihn per Kopieren/Einfügen im Browser eingeben.


From Google: [quote]Your account has been created and an activation link has been sent to your email address. To unlock your account, you must be sent to you e-mail on the activation link or send it by copy / paste in browser./quote]

I changed to
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('chronoforms_url');
?>
in the components\com_user\views\register\tmpl\default.php

Mac
GreyHead 22 Feb, 2009
Hi mac,

Does your site send emails OK if you use the standard Joomla registration?

Bob
mac 22 Feb, 2009
:oops:
Hi Bob,
also when I let the original code in components\com_user\views\register\tmpl\default.php
<?php // no direct access
    defined('_JEXEC') or die('Restricted access');  
    ?>

the okay for registration is there but no email to the user

Mac
GreyHead 22 Feb, 2009
Hi Mac,

So it looks as though there is something wrong with the site email setup. What do you have in the Site Global Configuration for the Email server?

Bob
mac 22 Feb, 2009
Hi Bob,
do you mean this
Mac
GreyHead 22 Feb, 2009
Hi Mac,

No, these settings in the Site Global Configuration | Server tab

Bob

[attachment=0]22-02-2009 18-45-39.png[/attachment]
mac 22 Feb, 2009
Hi,
my mail settings are:
Mailer:PHP mail-Funktion
SMTP-Host: localhost

My other chronoForm form is the contact-form and this form works perfectly.

Regards
Mac
GreyHead 22 Feb, 2009
Hi mac,

Sorry, I tried twice to ask if your site could send emails.

Now I'm very confused. Please send me a SuperAdmin logon so that I can take a closer look.

Bob
mac 23 Feb, 2009
Hi Bob,
your login is activate.
Thank you
Mac
GreyHead 23 Feb, 2009
Hi Mac,

I checked that the Kontactformular form will send emails - the Email setup was incomplete. It works OK now*.

This image from the CB Registration Plugin Configuration shows why the Registration is not sending emails.

[attachment=0]23-02-2009 13-00-53.png[/attachment]

Bob

* I ***strongly*** recommend that you do not use Dynamic From Emails as they frequently cause problems.
mac 24 Feb, 2009
Thank you Bob,
that was a silly thing to do from me.😶

What do you mean 'do not use Dynamic From Emails' ?

Can I also create a login-form with chronoforms? is there any plugin from chronoforms? or must I choose one of the installed plugins (joomla registration, cb registration)?

mac
mac 24 Feb, 2009
Hi,
I have another problem:
In the 'validation' tab I write this code
<?php
global$mainframe;
if (JRequest::getVar('text_4')!=JRequest::getVar('text_3')
return 'Die Passwörter stimmen nicht überein.';
?>

But it is not shown when I typewrite different passwords.
What's wrong?
Regards
Mac
GreyHead 24 Feb, 2009
Hi Mac,

I think that there's a ) missing - please try
<?php
global$mainframe;
if ( JRequest::getVar('text_4') != JRequest::getVar('text_3') ) 
  return 'Die Passwörter stimmen nicht überein.';
?>

Bob
mac 24 Feb, 2009
Thanks a lot!
2 things I don't find the solution:
When the registration is complet - the message will shown on a new page.
When I reconfirm (by click the link in the authentication-email) than a new window with a new page show the message.

I want, that this messages are shown at the Page I'd start.

Thank you for help
Mac
mac 24 Feb, 2009
Hi,
I tried to get the solution here
the code at: components/com_user/views/register/tmpl/default.php
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('news.html');
?>


but I can't see any changes

Mac
Max_admin 24 Feb, 2009
Hi Mac,

I posted a joomla plugin to automatically do the redirect without this hack, its under the bugs forums and some post about the "registration plugin"

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mac 24 Feb, 2009
Hi Max,
do you mean the
chronocontact plugin?
I have this plugin running but there I can't place any parameters

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