Notifications
Clear all

AppCustomData

3 Posts
2 Users
0 Reactions
819 Views
(@stickymax)
Posts: 2
New Member
Topic starter
 

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!

 

 

 

 
Posted : 24/07/2020 10:26 am
(@skaredcreations)
Posts: 805
Prominent 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

 
Posted : 27/07/2020 8:41 pm
(@stickymax)
Posts: 2
New Member
Topic starter
 

Thank you very much for the quick help!

 

Best support ever 🙂

 
Posted : 28/07/2020 7:04 am
Share: