Skip to Content Skip to Menu

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

[SOLVED] REST API Style CB User Registration Direct URL Using Auto Actions

  • xengent
  • xengent
  • OFFLINE
  • Posts: 54
  • Thanks: 2
  • Karma: 0
8 years 10 months ago #275215 by xengent
I think I figured it out.

I created a third action and then selected the other 2 actions from the dropdown of actions.

I ensured that the order of the 2 actions is the way I want them.

So I have 3 actions in this order:


1. Action
2. Registration
3. Redirect

The primary Action has the other 2 as actions selected. I pass all the parameters to the first one (with its action ID). The registration happens, and then I'm redirected to the userlist with the field I want searched already in the URL. I had to put the [get_field] in the URL of the userlist redirect. Seems to work nicely (so far).
The following user(s) said Thank You: krileon

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

  • xengent
  • xengent
  • OFFLINE
  • Posts: 54
  • Thanks: 2
  • Karma: 0
8 years 10 months ago #275296 by xengent
Which characters do I need to encode in the URL? It seems that it accepts the "@" sign as well as a "%40". Any precautions I should take as far as character encoding?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 10 months ago #275328 by krileon
They need to always be URL encoded.


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.
The following user(s) said Thank You: xengent

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

  • xengent
  • xengent
  • OFFLINE
  • Posts: 54
  • Thanks: 2
  • Karma: 0
8 years 9 months ago #276034 by xengent
Sorry to have to revive this but I'm experiencing a minor problem.

Everything seems to be set properly (including the password) when the action is triggered. However, the email sent to the new user does not show the password sent in the string, instead it just shows [PASSWORD] . The password is set properly, because I can use it to log in, but it doesn't get sent as part of the email template. How do I get it to show in the welcome email?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 9 months ago #276054 by krileon
You can't send the password in the welcome email unless using randomly generated passwords and only if you're using confirmation or approval. In all other cases it needs to be in the pending email. You also need to use [password] substitution as the [details] substitution won't send it anymore. I highly recommend you do not email passwords though for security purposes.


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