coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: can93 on September 19, 2004, 09:12:26 AM

Title: How to disallow to delete their comments and edit their names
Post by: can93 on September 19, 2004, 09:12:26 AM
Hello,

I see that users can delete their own comments, and edit their names in the comments...

How to disable this ? But i would that the administrator can do it..

Thanks
Title: Re: How to disallow to delete their comments and edit their names
Post by: Casper on September 19, 2004, 07:52:55 PM
Actually, they cannot edit their name, it just looks like they can, but when they try it just remains the same.

To remove the delete button, open your theme.php, find and delete this code;

<a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="absmiddle" ></a>