Is there any improvements regarding this feature?
Users shouldn't be able to purge their posts.
Agreed. I've had problems with other software where users would get mad, leave, and delete their content or edit their posts and make them blank.
Editing posts I can deal with, but I've got a user being a spoilt child at the minute (he's 25), every time someone replies to his posts, he's purging his post. Makes for really awkward reading.
Man you've got some weird users
Yeah I would agree, maybe at the very least you should not be able to purge (or even delete) an OP after people have replied
@psychobunny Tell me about it.
Doesn't even have to be the OP, I have no problem with a user deleting their post, but purging should be left to admins and mods. In fact now that you mention it, when you're OP, you get the Thread Tools option to delete the topic, however if you delete the OP post, the topic still exists, but is empty. I recall a discussion on that before, not sure what happened to it.
Oh I've had another feature request. An ignore user feature. So they can ignore the guy mentioned in my previous post mainly.
@luke Absolutely, won't lie, I actually thought that was just "a good ignore system"
Didn't know there was a name for it.
@a_5mith It's probably the best ignore system ever invented for a community, and if you're interested in psychology it can be fun if they descend into raving madness, trying to get people to reply to them, or just slowly stop interacting with the community.
@luke Only problem I've found with them is they usually only work if you're logged in. Having said this, I've only ever used it once.
To the top!
I could probably do this myself by wrapping the purge portion in some sort of IF statement. Where do I find a full list of the
<!-- IF isAdmin -->or
<!-- IF isModerator -->etc?
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
apito the url like
https://community.nodebb.org/api/topic/1917/users-shouldn-t-be-able-to-purge-their-posts/10you can use stuff from there in the template as well.