|
Well this all depends...
do you want to reassign them to that user?
Or just to another user? to yourself?
What I would personally do... is FIRST:
get the images out of his directory...
(because if you run the maintenance tool they will get deleted again)
either: all to your harddisk with ftp (recommended)
or: create a subdirectory in directory users with YOUR userid (probably 1)
in this directory you copy all images except those ending with *_thumb.*
Then open your forums/admincp/vba_gallery_admin.php
(i think thats the filename.. - not at home so i cant check - but if its not, its very similar)
find right at top:
error_reporting(E_ALL & ~E_NOTICE);
add:
ini_set("max_execution_time", 0);
ini_set("memory_limit", "20M");
and then run mainenance tool...
there are chances it will not timeout...
then click fix errors...
(this will delete images if db entry is missing.. or db entry if image is missing)
as the user deleted the images, there are good chances that the db entries are gone..
now copy all the images you want to reupload into your user directory
gallery/users/1
(assuming you are admin and 1 is your userid - it must be your userid)
then go to upload.. and enter the users name... in upload as user field
And check the bulk upload thing at the bottom of the page..
then click upload.. (try 10 images per page..)
and click process 200 times.. until all is uploaded..
the image title will always be the image filename if you left title empty..
The problem is... As you say the user deleted them himself.. i dont see how to restore the image titles as they are no longer in the db and you dont know how the user called them.
also description and comments are gone as the user deleted the image...
Maybe there is a better way of doing it..but thats my 2 cents..
Luc
|