How to disallow to delete their comments and edit their names How to disallow to delete their comments and edit their names
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to disallow to delete their comments and edit their names

Started by can93, September 19, 2004, 09:12:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

can93

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

Casper

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>
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here