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

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

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