I have never seen a hack for this. I actually had to go in and put conditionals in the templates to do this. On my forum, I just need to stop anyone (except mods) from being able to delete .torrent file type attachments, so I put conditions around the templates that said basically "if it is a torrent, don't show the edit box". I also had to do this in the User CP area where users can list, and delete, their own attachments.
|