Firefox PHP

Does a hack for *attachments by admin/mods only* exist?

Posted by Anonymous User 
Anonymous User
Does a hack for *attachments by admin/mods only* exist?
June 23, 2003 12:51PM
Need to constrain the use of attachments to the admin or moderators only but don't want to go to full moderation. Does something like this exist? I tried adding some lines in attach.php that I thought would do the trick (moderator only attachments) but they don't do the business:-( FWIW I'm not a programmer in any way or form;~/ What I tried was...
<?php if(!$phorum_user['moderator']{
$noattach=false;
}
?>
...and inserted it into line 172 of attach.php (Phorum 3.4.3a)

best wishes, Robert
attach test
Attachments:
open | download - index.php (265 bytes)
Sorry, you do not have permission to post/reply in this forum.