Skip to Content Skip to Menu

[SOLVED] change a cb profile field from outside of joomla

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 9 months ago - 10 years 9 months ago #240037 by nooran
Hi Dear friends

I am newbie in cb & joomla
I need change a field like username, from outside of my joomla, for example with the url like : example.com/api/register.php?username-old=olduser&old-password=oldpass&new-username=newuser

should I do it with [ Auto Action "URL Request action" ] or anything else ?
can anyone help me, with a little detail or example ?
Last edit: 10 years 9 months ago by krileon.

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

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #240055 by nooran
I find this link

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

But I don't know how to use it, how to call, and finally how to edit user profile !?
is there any help with more detail ?

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 #240095 by krileon
CB has no endpoints like that so you can't do that without implementing an endpoint to handle your URL. It's often not secure and a massive security risk to allow that. In short you need to develop a new CB plugin to do what you're wanting.


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.

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #240163 by nooran
Thnaks for your reply,

I Search more and found CB Auto Action, some feature like [Request]+ GET/POST,
what about that ? Can I change "ex:username" value from outside of joomla with that ?

And I'm So pleasure if you can make some API example to change a profile value from outside.

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 #240200 by krileon
Possibly, you can try using the Internal Users trigger and the Internal Users CRON URL within CB Auto Actions > Config > Internal then be sure to append &users=USER_ID_HERE to the URL. That will cause any action with the Internal Users trigger to fire on that user.

And I'm So pleasure if you can make some API example to change a profile value from outside.

They're already provided in the user API tutorial you linked above. Beyond that I am not here to provide custom coding, sorry; please see my signature regarding this.


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.

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #240286 by nooran
ok, it doesn't work in my case, thanks a lot any way.

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

Moderators: beatnantkrileon
Powered by Kunena Forum