I had a user that somehow got offended by a comment and then decided to delete all of his posts (60 total). How do i prevent my users from deleting even their own posts? Is there any way to get back the deleted posts (are they still in the access db) or are they just gone?
There is but it would require a bit of editing on multiple pages. Just find all of the occurences for the delete function and surround them with if mlev = 4 then the code for the delete function goes here: end if
Thats about the quickest and easiest way that I can think of.
I would suggest having a feature that when applied does not delete posts, but moves them to an archive table. Same with the users profile data (when modded old version is saved).
There can be legal requirements that mean data should be saved - even in public forums.
I have that feature on my site, but I can't find the code changes I made now. I think GauravBhabu posted some code ages ago about deleting and editting.
I thought about removing delete, but they can still edit their posts and remove all the text.
Aaron good point. BUT if i remember correctly, users can't edit their posts in experts-exchange.com. they are one of the bigger forums on the net so if they do it then i can justify doing it on my site. i guess the thing to do in my case is just remove the edit function. anybody know how to do that? would it be enough just removing the gif icon?