PDA

View Full Version : I know it's already been done...


Chris Gwynne
03-04-2003, 09:53 PM
... but I can't find it ;)

I want to be able to hide the showthread admin/mod tools that are at the bottom of the showthread page from normal members and only have them viewable to admins/mods/super mods.

The tools being; close/move etc etc

I know it's been done, but I CANNOT find it :(

Any help?

Regards,
Chris

mr e
03-05-2003, 12:36 AM
i have 2.2.9 and it already does, but this is what i have for the $adminoptions in showthread.php

if (ismoderator($thread['forumid']) or $getperms['canopenclose'] or $getperms['candeletethread'] or $getperms['canmove']) {
eval("\$adminoptions = \"".gettemplate("showthread_adminoptions")."\";");
} else {
$adminoptions = " ";
}


so you can try using that if you want

Chris Gwynne
03-05-2003, 03:38 AM
:D Cool, I'll give it a try.

Thanks.