Skip to Content Skip to Menu

Approve confim users created with other components

  • comyoo
  • comyoo
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #252945 by comyoo
Hi,

We use for example rsticketspro to create user accounts when people submit a question via email and they don't have any account.

We first modified the component to register via the CB api, but when we update the component that modification is lost.

We now want to auto 'approve' and 'confirm' users in an other way.

I saw this tutorail: www.joomlapolis.com/support/tutorials/107-use-cases/18219-cb-auto-actions-changing-approval-workflow-based-on-cb-field-value

How can we do this query for our users created in a other component? We want every user that is created with an other component to be confirmed and approved.
For new users who register via our website, we have auto approve and confirm. Our website is open to everyone. We also don't use email confirmation.

How can we set-up an auto action to do above for all users that are not already approved and confirmed. We have 10.000+ users in our database, so it don't has to be to 'heavy' :-)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #252970 by krileon
Your component should register users using our API below. Doing any other registration method is going to cause issues. CB Auto Actions acts on CB triggers. If your component doesn't fire one then it can't do anything.

www.joomlapolis.com/support/tutorials/120-api-usage/18362-registering-a-user-through-cb-api


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.

  • comyoo
  • comyoo
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #252984 by comyoo
you've said that before, but rsjoomla won't support rstickets create users via cb api.
So wat we want to do is on page-load check if any user is not approved and not confirmed, and then do that.

What kind of problems can we expect, because everything is going well. Just need to automate the approval and confirmation.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253036 by krileon

What kind of problems can we expect, because everything is going well.

None of CBs registration, approval, and confirmation triggers are firing. If you've anything that's acting on those they won't function. None of the internal profile generation checks are being done and none of our fallback behavior is being executed. It can cause any number of random issues.

Just need to automate the approval and confirmation.

It's not that simple. The user doesn't even exist in CB. That's why they're not confirmed or approved as the default value for the column is 0, which makes them unconfirmed and unapproved. You need to run CB > Tools > User Sync to synchronize the two database tables again.


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.

  • comyoo
  • comyoo
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #253083 by comyoo
Hi Kyle,

Thanks. It is more clear for me now.
Do you think we can create a plugin that acts on RSTicketsPro and then fires al the CB triggers and registers the person in CB?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253119 by krileon
I guess so. I didn't create RSTicketsPro so I've no idea if it has plugin support or not. If it allows you to create user store plugins then yes you'd implement registration as shown in the tutorial linked above.


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