Notifications
Clear all

AppCustomData  

(@stickymax)
New Member Registered

Hi!,

 

We are trying to add data to the AppCustomData when the user registers on the app. But we found that the AppId in the database is always set to 0.

Link to a screenshot of the database showing the "0" : https://imgur.com/a/cMkPaLl

If we hardset it in the table to the correct ID shown in the adminpage->registered apps-> edit (top of the screen it states the ID), it pops up as expected

 

Is this a bug or are we just doing something wrong?

 

Thanks!

 

 

 

ReplyQuote
Topic starter Posted : 24/07/2020 11:26 am
(@skaredcreations)
Honorable Member Admin

You're right, I found the bug of appCustomData for new registration, please edit /users.php on your server and at the top of the function wsCreate replace the line right after:

from this:

global $Addons, $WS_REQUEST;

to this:

global $Addons, $WS_REQUEST, $AppId;

 

This fix will be added to the next update as well, thanks for the report.

FRANCESCO CROCETTI @ SKARED CREATIONS

ReplyQuote
Posted : 27/07/2020 9:41 pm
(@stickymax)
New Member Registered

Thank you very much for the quick help!

 

Best support ever 🙂

ReplyQuote
Topic starter Posted : 28/07/2020 8:04 am
Share: