Skip to Content Skip to Menu

User creation from RSTicketsPro

  • comyoo
  • comyoo
  • OFFLINE
  • Posts: 87
  • Thanks: 1
  • Karma: 0
10 years 9 months ago #239538 by comyoo
User creation from RSTicketsPro was created by comyoo
We use RSticketsPro the generate users in Joomla, but we are also using CB. Now are the users created by RSTickets not confirmed and approved and users have problems loggin in.

This is what the creators of RSJoomla say:

RSTickets! Pro uses the default Joomla! framework in order to create users. It seems that CB isn't using the Joomla! framework (eg. the events available when a new user has been registered - "onUserAfterSave"), so it doesn't populate their database with the "confirmed" status. Please contact them regarding this bug.


What can I do so that the new created users are confirmed and approved?
For users created via the frontend of the website on register via CB are automatically approved and confirmed already.

Kind regards from the Netherlands.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239570 by krileon
Replied by krileon on topic User creation from RSTicketsPro
It's not a bug, it's intended. We only support registration through CB. If we acted on Joomlas registration trigger then we'd create an infinite loop as CB fires Joomlas registration triggers. You'll need to extend your extension to create users using CB API. The below tutorial details how to do this.

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
10 years 8 months ago #241041 by comyoo
Replied by comyoo on topic User creation from RSTicketsPro
Hi,

We edited the way rstickets generates a new user, by creating it via the CB api, but now if RSticketsPro is updating we will lose our changes.

How can we create a plugin or script that will check if some extention is creating a joomla user and after that the script will check the CB settings and apply them on new users?

Or can we setup an autoaction to check users and change the 'approved' en 'confirmed'

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241069 by krileon
Replied by krileon on topic User creation from RSTicketsPro

We edited the way rstickets generates a new user, by creating it via the CB api, but now if RSticketsPro is updating we will lose our changes.

Ask them to implement CB officially or have them implement a plugin system so it's easy for 3rd party plugins to override usages.

How can we create a plugin or script that will check if some extention is creating a joomla user and after that the script will check the CB settings and apply them on new users?

You can't. Like I said you'd end up with an infinite loop. The Joomla user is always created/updated before the CB user during CBs store process.

Or can we setup an autoaction to check users and change the 'approved' en 'confirmed'

No, they don't actually exist in CB yet. You'd need to do CB > Tools > Sync type behavior regularly, which is a very bad idea as it's a full table parse.


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