For redis, it's just hset global nextUid 10000
Best way to keep changes...
Hi I want to be able to make custom changes to the ACP dashboard the some language changes as well, but I want them to stay after a git pull and upgrade is done.
Should I do this via a plugin or is there another way... oh and Im not sure on forking as it seems a bit much just for a couple of cosmetic changes.
@brownsmart you can use
git stashto save your changes and reapply after you do a git pull and upgrade.
Are these changes to core? I'm guessing that's what you're doing since you're talking about customizations to the ACP... If you're doing them on the master branch of the NodeBB repo you can stash like pichalite is suggesting and then pop the stash after you pull... but if they're useful maybe make some PR's and discuss with the core devs? That way you don't have to keep track of your stuff, merging, etc., but you'd have to make a fork
nice one!! never knew about stash!! but i love the simplicity so much! thanks!
Stashing works fine, and is fairly simple.
Keep in mind if you want to alter the ACP, you can do so via themes, even though the admin templates are found in
src/views/admin. Create an
adminfolder in your theme's templates directory, and you can override the core templates as desired.
Nice, I didn't know the admin panel could be skinned as well
@BDHarrington7 Well, it's not really an advertised feature as we want to keep the ACP fairly uniform
@julian WTF!!! even better!! ahaha!! this gets better everytime!.... my only gripe is that persona stinks on Windows Phones...--> new thread coming on.