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 #253458 by comyoo

You need to run CB > Tools > User Sync to synchronize the two database tables again.


Is there any possibility to trigger this? Or create a sync plugin that syncs tables?
Because when syncing users created via rstickets the confirmed / approved settings are right.

Otherwise we have to contact rsjoomla again or do mannualy sync of users.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48502
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253497 by krileon
The synchronize user function is accessible from backend only. There is nothing to cause a synchronize on frontend. The synchronization can be very heavy and it should only be ran when needed and not on a regular basis as it's going to validate every CB user. You'd have to check the backend code and implement it into RSJoomla, but if you're going to do that you might as well implement CB registration properly.

You're trying to find a hacky workaround for what you're wanting. I don't have one and I wouldn't recommend one. Implement it right if you want it to behave right. That's the only suggestion I can make. For RSJoomla to properly integrate with CB it should use CB API to register a user as detailed in the tutorial provided earlier.

A CB plugin is of no use for this as RSJoomla does not integrate into CB and does not fire CB triggers. You could make a Joomla plugin that hooks into Joomlas user store events, but then when CB stores a user your plugin will fire and you end up with an infinite store loop. The only way for the integration to be proper is for RSJoomla to run CB API. Whether it's done from a Joomla plugin or not is dependent on RSJoomla as they could implement Joomla events and your Joomla plugin would just act on them, which would cover your usecase.


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: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum