Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Question: User registration with RSFormPro registration plugin

  • KAIROS
  • KAIROS
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
8 years 5 months ago #281454 by KAIROS
Hello,

we need your help with some information.

On our Website we handle our (real) users with Community Builder.
It works great. They do not register themselves.

For a special campaign we want new users to registrate (themselves) on our website.
But NOT as a real user. (Community Builder Member)
These new users only need an account to login to get to the campaigns info which is a small training.

Because the user registration of joomla is used by CB we use the RSFormPro registration plugin of RSJoomla.
The new users have access level "registered" (called Level 0 in our case).

It works but it has one issue.
Here is where we need your help.

The registration process works fine.
The new user is registered and the new account is not yet actived or enabled.
After the user got his mail with the activation link and clicked on it the account is activated and enabled.
What can be seen in the back end in the user manager.
Geat so far.
But then:
When the new user loggs in at the websites the first time there is a error message that
says: The registration is not complete
(Which comes from CB)

After that - even in the backend - the new user account is NOT activated anymore.
Even though it is possible for the new user to log in.
That is good, but it should happen without the error message that apears ealier because this would confuse the new user and he would not try to log in a second time in the worst case.
And exactly this is our problem.

How do we get the user account enabeld and activated at once with the activation link and not deactivated by CB with the first login?

We asked the support staff at RSJoomla.
There registration plugin is based on the standard registration process of Joomla.
They told us the error message appears because CB kicks in and we should ask you what is needed (in the database) by CB to get the account enabled.
With this information we could map it to the corresponding fields in the database to solve that problem.

I hope they are right and you can provide us with the information about this or even have a better idea how to solves this issue.

Thank you for your help in adavance


Best regards

Bernd
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281468 by krileon
We do not support registrations outside of CB. We can not help you regarding this. RSForms would need to utilize CBs registration API found below.

www.joomlapolis.com/forum/153-professional-member-support/229059-api-tutorials-register-user#261169

www.joomlapolis.com/forum/153-professional-member-support/228495-solved-cb-version-api-cb-version-205#258806

You maybe able to use CB Auto Actions with Triggers set to None and a Registration action. The form would submit to that action and you'd grab the POST values using [post_VARIABLE] to register a user.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • KAIROS
  • KAIROS
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
8 years 5 months ago #281494 by KAIROS
Dear Kyle,

thank you for your quick response.
Thank you also for the information and the links you provided.
I understand you do not support registrations outsidse of CB.
That was not what I was asking for.

Unfortunately I'm not a expierenced developer like you are.
So please have a littel patiense with me.

I asked for a inforamtion I could use in a mapping tool provided by RSJoomla.
May I ask you to have a look to the following link:

www.rsjoomla.com/blog/view/314-rsformpro-user-profile-community-builder-and-mappings.html

In the CB mapping section (please scroll down) at topic 8 they speak of an example they call:
'cb_customfieldname (varchar)'


Now you know what solution we are after.

I would need this "cb customfieldname" from you to include it into this mapping feature in order to get the user account activated and enabeld.

That's all I need to know.

I guess there a two fields in the database:
one to enable the account and one to activate it. Right?

I hope the solution to my problem is that simple. ;-)

Thanks a lot
Please, excuse the hassle. I'm not familiar with the deeper developing skills. Sorry.

Best regards

Bernd

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281512 by krileon
Direct database stores for CB registrations are not supported. It does not properly create a user. There's more involved than just adding them to _comprofiler. It needs to be done through proper user store process using API. If they let you process the form data using PHP then that'd be the way to go. I am not familiar with RSForms usage so I can't suggest anything further, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • KAIROS
  • KAIROS
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
8 years 5 months ago #281531 by KAIROS
I try a second aproach:
Actually we do not need the registration process of CB.
All CB users do NOT register themselves.
Registration for CB Users is done by an administrator in the backend of Joomla.
(I know this is not common but it works great for us because it is a exclusive club ;-)


ALL WE NEED is the standard registration process of Joomla without CB getting in the way.
Once again: These new users are NO CB Members.

IS THERE A WAY TO SWITCH OFF THE REGISTRATON OF CB?
So that only the standard joomla registration is working.

IF this is possible, we do not need any other solution.

IS IT POSSIBLE?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281538 by krileon
Why are you using CB then? No, you can't turn off CB registration without turning off Joomla registration. Any user you create must be created through CB API, CB registration, or CB > User Management. If you do not then the two tables will go out of sync and you will have to manually synchronize them within CB > Tools using User Synchronization.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum