Log in

View Full Version : Allowing users to upload, but not delete attachment in specified forum?


FleaBag
04-11-2008, 01:20 AM
I'm sure I have seen a setting, or a hack that will let me do this. But I can't find it anywhere!

I want to allow a user to upload an attachment, but not be able to delete it, in a specified forum. Does anyone know how to achieve this?

Cheers!

FleaBag
04-13-2008, 10:03 AM
Nobody knows? :(

Lynne
04-13-2008, 02:03 PM
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.

FleaBag
04-14-2008, 11:38 AM
Thank you Lynne! I thought I had seen something but apparently not. :) I shall give the conditionals a go. It's a shame, as I've moved my music to forums from vBGallery, which has this function. It'll teach me to test a little more before I make any changes!