- Edited
malago now i'm able to install but seems something need a tweak
i do not understand how the image work
malago now i'm able to install but seems something need a tweak
i do not understand how the image work
Spectacular! This was exactly what I was looking for over here ctml! I'm not able to go to beta 16 yet to test, so I am really curious how the points work. Is it possible to display this as "Rep" or something like that on a users profile card?
Some feature suggestions/ideas
I'm sure time based metrics may be more challenging because they probably need to be continuously tracked.
Thanks again for this amazing extension, would love to see some screenshots
Justoverclock The image should be the size you want it to be, my recommendation is 64x64 px.
You need to put that in the height and width on each achievement. If your image is bigger you will need to reduce it to the specific size or it will not appear correctly. It's a bit complicated but it was my first approximation!
Let me know if you get it working
enricodx If you're on a VPS, you should be able to run the command via SSH without issues
enricodx why not, have u ssh access and composer, right?
Justoverclock @askvortsov no, I have a hosting with Aruba and they provide ssh only with dedicate server. I do all the composer thing on locale and then upload to server
enricodx The migration was throwing an error so it should try to do it again. Did you try to just update the files and activate the extension again?
Other option is to get into the database and delete the extension from the installed extensions, it should run the table creation again next time you activate it.
You asked for a screenshot, here is one of the popup when you get a new achievement!
ctml I think this extension is very close to what you are looking for! I will definitely consider adding the options you mentioned but for now I will focus on fixing upcoming bugs. It has been quite a ride to make this extension since I pretty much had to learn everything about Flarum, Laravel, Mithril... and there is still so much I don't understand yet
malago thank you for the example, that actually looks very nice! A nice way to reward users and make them feel valued by participating.
RE: feature suggestions
Completely understand, first comes stability, then come enhancements I only provide my suggestions because of the excitement I get when seeing new extensions posted that clearly have so much value. Without even installing, I can tell it is a very impressive extension (regardless if it is only your first!) so again, thank you and great work!
love the extension, i still wait for some improvement before using this on productions
malago Now working! It's really awesome and I hope you'll keep developing it!
Question 1: how the Manual variable works?
Question 2: what is the "Points for this achievements" for?
EDIT: I can't create any achievements. When I hit Save changes on the creation modal, I get a red alert error "oops something went wrong"
I'm going to also add a feature request to the GitHub repo for this project to add the option to have different sizes for the post displayed achievement icon and the achievement modal that pops up. This will help with the sizing issue so it'll behave like platforms such as Reddit where the post achievement icons are small and the achievement received modal has the bigger image.
Reddit award modal:
The post awards (count not required):
Edit: Done! malago86/flarum-achievements2
trying to setup a new achievement, but when i click save i get the oops something went wrong error:
console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) api/achievements:1