Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 What is the recommended way to block deletes?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mrforum
Starting Member

Netherlands
25 Posts

Posted - 09 November 2003 :  15:53:30  Show Profile
It is quite easy to just block the 'delete' functionality users have when they try to delete their own posting. However, I am not deep into the Snitz code and I might actually create issues (god forbid security issues) if I block it without fully understanding the consequences.

Simply put: What is the recommended way to block delete functionality for regular users trying to delete their own postings?

Thanks for your help!

laser
Advanced Member

Australia
3859 Posts

Posted - 09 November 2003 :  16:19:36  Show Profile
Gaurav posted something a LONG time ago about users editting & deleting their own posts - making it so they couldn't. I only implemented the delete, so I'll see what I can find for you.


edit : ok, the simple way to stop users from deleting their posts :

pop_delete.asp

Find all instances (2) of :

= 1 '## Author

change to

= 2 '## Author

optional :

find this string :

Only the Author, Moderators

change to ...

Only Moderators

Edited by - laser on 09 November 2003 16:29:57
Go to Top of Page

mrforum
Starting Member

Netherlands
25 Posts

Posted - 16 November 2003 :  09:53:25  Show Profile
Thanks! I've implemented it and we're testing it right now
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07