Hey, I need a way to set quantity for my user upgrades.
Can only find old addons for XF1, I'm on Xenforo 2.1....
My user upgrades are split into weekly / monthly time, so when an upgrade expires a new one gets added.
Okay I see..
What I did myself in a similiar situtation was to code a simple socket client & server.
The client would send the login credentials to the server, the server using the REST API would use the POST found here:
https://xenforo.com/community/pages/api-endpoints/#route_post_auth_
Then...
I solved it by having seperate user groups..
I basically made it so there are hidden groups for each individual upgrade, then I can from the REST Api if the user is a part of requested group.
As the title says...
I can't find and GET methods surrounding this, so I'm hoping I'm just missing it, rather than having to implement something similiar myself.
What I really do need tho is to get the the duration of the upgrade and which upgrade, thanks in advance.