Welcome,
First thanks for great component, stable and very flaxible.
My question is as in subject, how to join data stored by Chronoforms in new table with new user created by CB plugin? In standard this data is assigned to user currently logged but I need to assigned this to new user that is created in next step. I think to hack ChronoForms that it would pass id new data record to CB plugin. Then plugin would change user from currently logged to this new. I also think to change order that plugins would run first but I couldnt find in config. Maybe You know some simpler solution of this?
Thanks
Hi Jafeth,
I'm not sure I could understand the question but is part of it to get the registered users data using the cB plugin ?
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Not exactly. I have one form. After sending this form I want to save data from this form to DB table jos_chronoforms_zapis_form. After that, chronoform plugin create new user. And my problem is how to set in DB table jos_chronoforms_zapis_form that this new data record belong to this new user...
In first post I wrote about my ideas on this problem but maybe You have some simpler solution.
every table has a cf_user_id field which will have the user id logged in when the form submitted or the user id created if any!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I know but need something different. In my case some logged user fill form. Than as I wrote data from this form goes to table jos_chronoforms_zapis_form and after that my own plugin creates new user. And I want to assign this data with this new just created user, not with this logged🙂
Thats my problem
Regards Jafeth
Hi Jafeth,
if no one is logged then it will use the just created user, and you can NOT create user from the frontend(register) while you are logged in to the fronted!
so in other way:
user is not logged in and registers using the form ---> the cf_user_id = created user id (e.g: 77)
user is logged in and submits the form ---> they get an error saying that you can't register while you are logged in
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
If no one is logged, I have 0 in cf_user_id field.
And if Im logged...
Maybe I will try to write it more clearly🙂 I have form called - Register Friend. In this form someone logged can register friend. Data from this form is saved to jos_chronoforms_zapis_form (my own table created in chronoforms) and after that my own plugin creates new user. And in processing this form I dont want to have logged user in cf_user_id field in table jos_chronoforms_zapis_form but this new created user...
Hope You understand me🙂
Regards, Jafeth
Hi Jafeth,
apologies but my last message had 2 fatal typos, please review it again, I have just fixed it, and let me know!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
I apologise You also because I had in my last two posts CB plugin. I forgot to mantion this, but I prepared my own plugin based on this CB and this my plugin enable registering user by someone logged.
And Im wondering how to have in cf_user_id field in table jos_chronoforms_zapis_form this new user...
Thanks for you support
Regards
Hi Jafeth,
Sorry but now I'm really confused :?
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
So try forget all I wrote😉 I have to make form trough which some logged user can register other users to Joomla and additional answer on some questions in this form. How would You do this task using ChronoForm?
Hi Jafeth,
Ok, you can use the Joomla registration plugin in Chronoforms to register one user to Joomla per each form submission!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Ok thanks, and how to save in DB that this user is registred by someone logged? I would like to save this information...
Regards
Hi Jafeth,
You should have a table created and connected to your form!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.