disable delete for moderators
Posted by nevasport
disable delete for moderators October 06, 2008 07:15PM |
Registered: 19 years ago Posts: 130 |
Re: disable delete for moderators October 06, 2008 07:24PM |
Admin Registered: 19 years ago Posts: 8,532 |
One basic way could be to edit the templates (list*.tpl and read*tpl, possibly some control center stuff too) and simply hide the delete links. That won't disable it functionally, but it would take a really evil moderator to forge and call the delete URLs manually. You can use some conditional code to hide the link for non admins.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
{IF USER->admin}...show delete link...{/IF}
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: disable delete for moderators October 06, 2008 07:27PM |
Registered: 19 years ago Posts: 130 |
Re: disable delete for moderators October 15, 2008 04:23AM |
Registered: 19 years ago Posts: 130 |
Re: disable delete for moderators October 15, 2008 04:27AM |
Admin Registered: 19 years ago Posts: 8,532 |
You want the link to be not visible in the interface I think. Otherwise you're offering a feature that doesn't work to the mods. The most basic solution to hide the link would be to override the related language string with an empty string from a bit of module code in case the user is not an admin.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: disable delete for moderators October 15, 2008 03:49PM |
Registered: 19 years ago Posts: 130 |
Sorry, only registered users may post in this forum.