Skip to Content Skip to Menu

Registration Redirect for More Information

  • Ehaver282
  • Ehaver282
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 6 months ago #262614 by Ehaver282
Hello,

I am currently trying to gather more information during the registration process. My goal is to pre create a user's company and listing agents as part of the Joomla Component Moset Tree. To do this I need to have them provide me with more information than what the default CB registration form provides. My solution to this is to create another form that the user can be redirected to after entering the CB User info.

I cannot find a place where I can set up this redirect.

I need this to occur before the user is logged in, so the CB "redirect after login" is not something I can use.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262620 by krileon
Replied by krileon on topic Registration Redirect for More Information
Why not just ask for the needed information during CB registration?

Sending them to a second form won't be of much use unless they're logged in. So you'd need to log them in after registration then redirect them. This can be done with CB Auto Actions and its Login/Logout action on the after registration trigger. However, if you're using CBSubs you can't do this or it'll interrupt the payment process.


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.

  • Ehaver282
  • Ehaver282
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 6 months ago #262624 by Ehaver282
Replied by Ehaver282 on topic Registration Redirect for More Information
Is there an easier process of adding fields to the current CB form? What I found online was super complex and time consuming, which was way I felt sending them to another article would be a better option.

The information I need to gather has nothing to do with the user profile being created. I simply need them to provide information for the other thing I need to create so I don't need them to be logged in to capture this information.

Is there a way to replace the current Sign Up complete page with another article?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262706 by krileon
Replied by krileon on topic Registration Redirect for More Information

Is there an easier process of adding fields to the current CB form? What I found online was super complex and time consuming,

What exactly did you find online? Please see the CB 2.x Primer Book for detailed usage information. Adding new fields is as simple as going to CB > Field Management then clicking New. From there you can create a fieldtype of any of the available fieldtypes. I really don't see how it could get anymore easy or what gave you the impression it was overly complex, but we're absolutely open to feedback if you've something to suggest.

The information I need to gather has nothing to do with the user profile being created. I simply need them to provide information for the other thing I need to create so I don't need them to be logged in to capture this information.

I suppose you could just use a form extension then like RS Forms or one of the other similar form extensions. You'd then just use CB Auto Actions and its Redirect action on the onAfterSaveUserRegistration trigger to send them to your form. That trigger is fired after the entire registration process is complete. This may or may not conflict with CBSubs payment process though if you're using CBSubs.

Is there a way to replace the current Sign Up complete page with another article?

Yes, you'd use CB Auto Actions and its Redirect action on the onAfterSaveUserRegistration trigger to send them to whatever page you want.


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.

  • Ehaver282
  • Ehaver282
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 6 months ago #262737 by Ehaver282
Replied by Ehaver282 on topic Registration Redirect for More Information
I found several articles through Google that mentioned having to modify the php code used to generate the form to create new form element. Thank you for pointing me in a better direction.

I am still unclear as to where the new data I collected is stored and how I can populate a new table with this information.

I was unaware Auto Actions existed. Thank you for pointing me towards this plugin. It seems to be a solution as long as I can get it to work with CBSubs.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262740 by krileon
Replied by krileon on topic Registration Redirect for More Information

I am still unclear as to where the new data I collected is stored and how I can populate a new table with this information.

All user field data is stored in _comprofiler. You don't need to touch any of that though. CB handles the entire display, validation, and storage of an input. There is zero coding involved in creating new inputs for CB.


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