Hmm I don't think we expose isAdmin and isModerator globally to the templates so that you can them everywhere. Maybe we should, everything in the config object is exposed so if you open your console and type config any variable you see under that object you can use in the templates. You can also take a look at the routes by prepending api to the url like https://community.nodebb.org/api/topic/1917/users-shouldn-t-be-able-to-purge-their-posts/10 you can use stuff from there in the template as well.
You know you're a web dev when...
your most visited site is
jarey last edited by
Even the ports can say a lot about the technology you are developing with, ...localhost:8080 such a nice days! haha!
@pitaj There's no place like 127.0.0.1.
Fun fact, when @psychobunny first started NodeBB, it bound to port 80 and required sudo to start (as it was binding to a port under 1024). My first couple commits cemented NodeBB's use of port 4567, but it was just a number I'd picked out of thin air
In my mind, 4567 == NodeBB XD
An organism that turn caffeine and pizza into software.