Users shouldn't be able to purge their posts.
-
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.
-
@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.
-
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?I assume altering this line would hide it from the thread tools drop down. And then altering this one too will do what I need?
-
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 likehttps://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.