CPG-SMF : Galleries & Albums for Deleted users CPG-SMF : Galleries & Albums for Deleted users
 

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

CPG-SMF : Galleries & Albums for Deleted users

Started by Kindred, July 12, 2005, 04:25:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kindred

Ok.   I have never actually run CPG outside of an SMF integration, so I'm not sure how this is handled in the standalone version.

However, in the SMF integrated version, I have comes across an issue.
A user exists in SMF and has created an album and uploaded pictures to it.
(and hence has a user Gallery to hold said album(s) and pictures.)

At some point, the user is removed from SMF by the admins.

This users pictures are still shown in the "random picture" list and their gallery is still listed (although it is not accessible).
The Gallery is listed as belonging to user ???? and can not be entered by anyone... including the Admins.
Which, of course, means that we can not delete said album/gallery.


Is there a way around this? Did I do something incorrectly?
I know I could go in via FTP and delete the file/directory with the user's ID... but my other admins don't have FTP access to the site.

Nibbler

This is to be expected, Coppermine does not know the user has been deleted. Without bridging, Coppermine cleans up albums/pics/comments when users are deleted, so perhaps a scanner script is in order to perform this task for bridged installs.

Kindred

hmmm...   that's kinda what I figured, but it's good to have it confirmed.

Ok, so If someone will point me to where the "delete user" function in the coppermine files might be, I think I can hack-up an add-on for the SMF-delete user that will remove the CPG user data as well

Nibbler


Kindred