-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow assigning Patreon tier to a player in admin panel #356
Comments
can we get this info automatically from patreon? Or link patreon account to your profile somehow? What data do we have in patreon? I guess just the mail? |
Maybe but we still need that functionality |
jeah of course, was just wondering if we could do that with less manual work in the future. |
I will work on this issue and create an admin interface which allows the management of patreon tiers without the direct database approach currently used. I'll also take a look if patreon would support API calls to auto-link subscription tiers. |
Keep me in the loop on what youre doing, this week I was planning to add an endpoint that adds portraits to the admin controller. fortunately we have the admin view neatly set up that we can rework. The plan at the moment is to use the existing autocomplete search (check the proxies view to see it) to get a users data, then from that interface apply actions to them, give/remove badges, give/remove portraits, mute them, ban/unban them, edit their proxies, etc |
Update on this, ive added support for adding portraits to players by battletag into website-backend and tested it. there are a few more steps. I'll likely add another endpoint that returns which special icons are part of a patreon tier, so we can easily use that on the frontend to assign them to a battletag. perhaps in future we can tie this to the patreon api for MAXIMUM AUTOMATION, but for now this semi-manual route works. |
half way done |
Currently when somebody signs to our Patreon we manually go into the database and add corresponding Patreon tier icons to
PersonalSetting.SpecialPictures
(https://github.com/w3champions/website/tree/master/patreon-tiers).This is not really good approach and I think we should just add a field to the
PersonalSetting.PatreonTier
and when a played is logged in and goes to change avatar, based on that field we list him additional Patreon tier icons (https://github.com/w3champions/website/tree/master/patreon-tiers).Example:
Player has
PersonalSetting.PatreonTier
=Gold
When he opens his profile and open change icon modal he can see gold pictures (https://github.com/w3champions/website/blob/master/patreon-tiers/3.gold.json) as well because server has returned them
The text was updated successfully, but these errors were encountered: