forum.coppermine-gallery.net
Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Joe Carver on August 13, 2009, 10:04:22 pm
-
This plugin will remove the Edit and Delete buttons from Comments. Only Administrators and groups you define will be able to make changes to their comments.
Version 1.1 features: Configuration file to specify Groups
To install:
1) Download cpg1.4.x_plugin_remove_edit_v1.1 to your computer
2) Use plugin manager to Browse - Upload - Install cpg1.4.x_plugin_remove_edit_v1.1
To Add Groups allowed to edit and delete their comments:
1) Edit the file: plugins/remove_edit/remove_config.php. Add your Groups, standard Coppermine and custom groups are allowed. Separate the Group names with a comma (,).
Example: To add Registered as a Group allowed to edit their Comments
Find this line:
$NOEDIT_DISABLE = array('edit_list' => 'Administrators'
Change to:
$NOEDIT_DISABLE = array('edit_list' => 'Administrators,Registered'
Admins. by default have control over all comments.
Tested to function with cpg version 1.4.26
-
Nice plugin :)
Would it be possible to add feature to show this only for newly added comments, but not display for older ones?
Example would be something like - if comment older than 5 mins remove button(s), else show - this would be to allow people to correct typos, but not be able to touch older posts.
-
Thanks
Would it be possible to add feature to show this only for newly added comments, but not display for older ones
Yes, I think it is possible, but would be a bit too much for me at the moment.
However, it is a good idea and I will keep it in mind.
-
Good plugins!