Welcome!
Log In
Create A New Profile
Home
>
Outdated forums
>
Phorum 5.1/5.0
>
5.1 Phorum Support
>
Topic
disable delete for moderators
Posted by nevasport
|
disable delete for moderators October 06, 2008 06:15PM |
Registered: 9 years ago Posts: 124 |
|
October 06, 2008 06:24PM |
Admin Registered: 8 years ago Posts: 8,782 |
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 06:27PM |
Registered: 9 years ago Posts: 124 |
|
Re: disable delete for moderators October 15, 2008 03:23AM |
Registered: 9 years ago Posts: 124 |
|
October 15, 2008 03:27AM |
Admin Registered: 8 years ago Posts: 8,782 |
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 02:49PM |
Registered: 9 years ago Posts: 124 |
Sorry, only registered users may post in this forum.