Skip to Content Skip to Menu

Sending imported users by REST.

  • PaceOnline
  • PaceOnline
  • OFFLINE
  • Posts: 104
  • Thanks: 2
  • Karma: 0
1 year 11 months ago #331397 by PaceOnline
Sending imported users by REST. was created by PaceOnline
Goal : I want to pass User details with password in 3rd party API when importing new users in the CB import.
For this we have used the plugin event "onUserAfterSave" but when i create / edit user from default joomla i can get correct password (without encrypt) in key "password_clear" But if i use default CB user import functionality it return blank on "password_clear" key. How can i get correct password (without encrypt) , have also tried plugin event "onUserBeforeSave"

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
1 year 11 months ago #331398 by krileon
Replied by krileon on topic Sending imported users by REST.
If you need clear text password on user registration or user import you need to use the following triggers.

Frontend = onAfterUserRegistration
Backend = onAfterNewUser

You should be able to just use [password] for both.


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.

  • PaceOnline
  • PaceOnline
  • OFFLINE
  • Posts: 104
  • Thanks: 2
  • Karma: 0
1 year 11 months ago #331427 by PaceOnline
Replied by PaceOnline on topic Sending imported users by REST.
Hi,

Have tried with onAfterNewUser for backend , when excel imported from CB!
Have added "onAfterNewUser" on User and system plugin but for both this event not workig !
Can you please provide which plugin type i need to use?

Thank you!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
1 year 11 months ago #331431 by krileon
Replied by krileon on topic Sending imported users by REST.
You're trying to make a Joomla plugin that acts on CB triggers? That won't work. You need to make a CB plugin or just use CB Auto Actions.


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