Skip to Content Skip to Menu

cb registration api bug

  • saman2
  • saman2
  • ONLINE
  • Posts: 404
  • Thanks: 7
  • Karma: -1
6 years 4 months ago #305155 by saman2
cb registration api bug was created by saman2
hi.
i create my users via CB api.
my site is under users using and please reply or modify cb code if it possible fast and thank you.
describe of problem:
if i use persian number for example: ۱۲۳۴۵۶۷۸۹ instead i use english character for example: 123456789 as username, then the user not created in cb but created in joomla.
in fact i can not see that user in cb user managment but can see in the joomla userslist.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 4 months ago #305164 by krileon
Replied by krileon on topic cb registration api bug
Users won't create with a username of 123456789? or they won't create when using Persian numbers? 123456789 worked perfectly fine in my tests for creating a user. Can't see any reason for username storage to block CB user store as CB doesn't even store the username; Joomla does.


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.

  • saman2
  • saman2
  • ONLINE
  • Posts: 404
  • Thanks: 7
  • Karma: -1
6 years 4 months ago #305166 by saman2
Replied by saman2 on topic cb registration api bug

krileon wrote: or they won't create when using Persian numbers?

it has no problem with english number but has problem with Persian number.you can test with ۱۲۳۴۵۶۷۸۹. user create in joomla but it is not show in cb user management in backend and i must use synchronise tool in cb to import that user to cb users.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 4 months ago #305169 by krileon
Replied by krileon on topic cb registration api bug
Enable debug mode and maximum error reporting in Joomla global configuration and test for any errors. Your API usage should be handling the error output as registration failed for whatever reason. If $user->store() fails errors will be output to $user->getError().


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.

  • saman2
  • saman2
  • ONLINE
  • Posts: 404
  • Thanks: 7
  • Karma: -1
6 years 4 months ago #305175 by saman2
Replied by saman2 on topic cb registration api bug
user store correctly in joomla but only problem is not show in cb user list. i can not enable debuging because my site under usage.it is simply you can test with persian number as username via cb api and you can see the user create but can not see that user in the backend>cb>User Managegment ... but you can see that user in the Users>Manage. excuse me kyle but can you test it with copy ۱۲۳۴۵۶۷۸۹ as username and create the testing user via api? i have not access to test in localhost.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 4 months ago #305177 by krileon
Replied by krileon on topic cb registration api bug
You need to debug your own implementation. CB doesn't handle the username storage so it shouldn't even be relevant to CB. It's also possible 3rd party Joomla user plugins are throwing errors, which will block CBs store from completing. You'll only find that out debugging your code. Using Persian numbers in my tests does not cause issues with CB registrations.


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