Forums

Chronoforms as registration form

aftab 20 May, 2008
Hello everyone,

I was looking all over the forum to find a successful config to setup a registration form for my J1.5.2 site with latest CF. I have CB and Fireboard installed. I used to use CB for registration. Now, since I need to add functionality of file upload at registration time, I need ChronoForms. To my finding, it is the best form with many options.

Initially I was using default Joomla login but later switched to CB login. Now, as CB is already configured as the default login (it creates a user with default login too), I tried to set my ChronoForm to work with CB. I have passed the required params into CB login. It creates a user at jos_users table with the information. But no user is created in jos_comprofiler table.

Also I would like to send the default (or manually set) mail verification link to the email address (as CB or default Joomla login do) so that someone needs to click and verify his/her email address.

Can someone light this way, please. I am in great need.

Sorry if this issue has been already posted somewhere else.
Thanks in advance

Aftab
tiesgr 20 May, 2008
I need the same thing!!I have created the form that i need with all the fields that i want so i can have the info that i need from a user who wants to register on my site but i haven't yet understood how to put this registration form on the register button!!So users when they hit register i want them to go to the registration form that i created into the chronoforms with HTML language!!And also what do i have to do so my registration form to behave like joomla's registration form??Do i have to write PHP code??please help and sorry for my bad english!!Good luck to us!!
GreyHead 20 May, 2008
Hi tiesgr,

To link the registration button to the ChronoForms form I think you need to edit the user login module.

To use ChronoForms to register you need to use the Registration plugIn - aftab just posted an example with some clear image sof how to install it.

Bob
GreyHead 20 May, 2008
Hi aftab,

I don't use CB and have no experience with it so can't help much here. Are you using the ChronoForms CB PlugIn - it seems that would be the right tool here?

Bob
aftab 20 May, 2008
Hi Bob,

Thanks for the reply.

Yes I have configured to use the CB plugin (as I did with Joomla login in the snapshot on the other thread).

Since I am on a deadline, I had to rush to here for some solutions. I think, some more research would be positive for me.

It would be highly appreciative, if you could provide a manual of the operations (and explanations).

Also I would like to provide some tutorials for using ChronoForms in J1.5.2 (after my current project is done).
GreyHead 20 May, 2008
Hi aftab,

If you like to email me off-line - address in my sig, I'll see how I can help you with this. Meanwhile I'll take a quick look at the CB PlugIn code.

Bob
GreyHead 20 May, 2008
Hi aftab,

The code to write to jos_comprofiler is at line 237 of the PlugIn, I'd hack it to show the sql output on debug (as I just posted) so that I could take a look and see what is happening.

Bob
aftab 20 May, 2008
Oh, I forgot to quote that I was having error in line 228 or 223 or something, just do not remember now, as I am not with the server now.

Thanks for the info Bob. I will check it later tonight and if I can solve it, I will definitely have it here for everyone.

Thanks again Bob for your prompt replies. I am amazed.
Aftab
tiesgr 20 May, 2008
Thank you Bob for all info.I don't have much time right now i'll try it later.
Thank you in advance!!
aftab 20 May, 2008
Hi everyone,

A quick tip to make your CB registration work with ChronoForm registration. May be you have seen this error


Fatal error: Call to a member function setQuery() on a non-object in [your_site_dot_com]\components\com_chronocontact\plugins\cf_cb_registration.php on line 228

To solve it, go to[your_joomla_directory]/components/com_chronocontact/plugins.

Open cf_cb_registration.php and go to line 175. You will find this code

$document =& JFactory::getDocument();

After this line enter one Line 176:

$database =& JFactory::getDBO();

This will solve the problem. :cheer:

Bob, I think this editing generates no new bug.

Aftab
GreyHead 20 May, 2008
Hi aftab,

Good catch - well done. It's a little tidier to add it at line 176 with the other system objects.

Bob

Max: bug here for fixing please.
This topic is locked and no more replies can be posted.