Advanced search  

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]

Pages: [1]   Go Down

Author Topic: allow alb owners to DEL comments of pics in their albums  (Read 5371 times)

0 Members and 1 Guest are viewing this topic.

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
allow alb owners to DEL comments of pics in their albums
« on: October 30, 2003, 08:33:15 pm »

Currently only the administrator has the right to remove comments straight from the page it is shown. Users have to go to edit pics and "Delete comments". However, this deletes ALL comments for that picture.

One user suggested the function of users being able to delete SINGLE comments from photos in their own albums, similar to the way they can edit or delete their own comments. I know admins already have this right, but I think users should only be allowed to delete, not edit.

another thing is that non-logged in users can post comments under any name they choose, even names of existing users. so for example a user could use the nickname "oasis" to post a comment. Maybe this should be restricted so they can only use nicknames that have not been registered (in case for example if someone posts bad comments using someone else's account name)
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
allow alb owners to DEL comments of pics in their albums
« Reply #1 on: October 31, 2003, 05:11:04 am »

good point indeed - I suffered from this way of "cheating" with other's names as well. Anybody volunteer?

GauGau
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
allow alb owners to DEL comments of pics in their albums
« Reply #2 on: October 31, 2003, 06:30:44 am »

A general algorithm to start the theoretical discussion:

Select from users where name equals comment name.

if result returns true - found {

refresh comments page with notice telling user to select another name

}
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.