LuffyyffuL Hi, thank for your work. In my Dashboard, i can view 6 users while i have 5 users because i have deleted 1 user. When you get users total number, you use user id ?
datitisev LuffyyffuL Yes, I get the latest user's ID, so it won't be that accurate, but it will still be close. If that's a problem, I'll try to learn to make how to create and API endpoint or add it to the app forum object to get that data.
RamaZeta Hi @datitisev , the post counter still can't be fixed now ? it keeps showing ??? sign Thanks before
datitisev RamaZeta Hi! The post counter doesn't work because inv0.1.0-beta.6, the API returns a server error when anyone tries to fetch the posts. This bug has been fixed in the latest dev-master (flarum/core1188), but as the API will probably change, I'll update the extension once beta.7 comes out.
datitisev Dashboard v0.1.0-beta.6 Updated for beta 7 (Changed deprecated event ConfigureClientView to ConfigureWebApp) Added extensions to dashboard Added PT-BR translation (datitisev/flarum-ext-admindashboard9) Made somewhat easier to see with the dark theme Get posts, users, and discussions data from the backend No more API spam, and numbers should be correct now There may be some changes that I've forgotten about, as it's been more than half a year. Here are some screenshots:
luceos AnthonyFrancisVasquez re-enable any (other) extension, flush cache php flarum cache:clear, clear browser cache and if you use cloudflare that as well.
AdonisJustin datitisev o use the extension updates feature, you will need to create a Github Developer App and introduce the Client ID and the Client Secret in the extension's settings howcan i do this , have tried but not working
datitisev AdonisJustin In that link, you'll have to click "Create new oAuth app", fill in the details, and then copy the client ID & secret to the modal.
datitisev Dashboard v0.1.0-beta.6.1 I think it's time to say I wasn't the smartest when I made this.... Update to fix an important security vulnerability regarding your Github account credentials! My apologies if anyone was affected.
datitisev heathcliff There shouldn't be a webhook url. This is what I see when I click "New OAuth App": I may add the ability for the update whenever beta 8 comes out to use personal access tokens instead of application id & secret.