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: allow alb owners to DEL comments of pics in their albums  (Read 5370 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.018 seconds with 19 queries.