Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to disallow to delete their comments and edit their names  (Read 4179 times)

0 Members and 1 Guest are viewing this topic.

can93

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
How to disallow to delete their comments and edit their names
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to disallow to delete their comments and edit their names
« Reply #1 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;

Code: [Select]
<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>
Logged
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
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.