Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

How to delete all empty albums at the same time ?

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
fuzioneer

Novice
Novice


Joined: Jan 14, 2004
Posts: 22

PostPosted: Wed Apr 19, 2006 4:13 am    Post subject: How to delete all empty albums at the same time ? Reply with quote

I run Gallery 1.5 integrated into nuke and i get a lot of empty albums created by users who then either leave, never upload photos etc etc

I want some way of quickly and easily locating and deleting these EMPTY albums such as a code change somehow to delete all albums that dont contain a picture or something that could be cronned etc ???
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
The CONFIG lines from the top of your block file(s):
_________________
UK Motorhome Portal [motorhomefacts.com]
Motorhome / Caravan Accessories [outdoorbits.com]
Labrador Forums [labradoforums.co.uk]
Pregancy Forums [mylittlecutey.com]
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: How to delete all empty albums at the same time ?  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Apr 19, 2006 6:33 am    Post subject: Re: How to delete all empty albums at the same time ? Reply with quote

currently, this isn't possible via gallery itself, but it's a good idea Smile i'll let Tim_j (the last remaining G1 developer) know about this and see if he can code it into 1.6 Smile

so, a workaround is to delete the empty directories from your disk, which will have the same effect as removing the albums via gallery.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
fuzioneer

Novice
Novice


Joined: Jan 14, 2004
Posts: 22

PostPosted: Wed Apr 19, 2006 7:09 am    Post subject: Re: How to delete all empty albums at the same time ? Reply with quote

Quote: ›
so, a workaround is to delete the empty directories from your disk, which will have the same effect as removing the albums via gallery.

hmm problem is that i cant simply do a rmdir * in the albums folder as the empty albums do have files in them i.e.
albums dat files and photo dat files etc even though there are no photos in the gallery

any ideas as i have loads of these empty folders and its soooo time consuming going through pages and pages to remove them individually ?
_________________
UK Motorhome Portal [motorhomefacts.com]
Motorhome / Caravan Accessories [outdoorbits.com]
Labrador Forums [labradoforums.co.uk]
Pregancy Forums [mylittlecutey.com]
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Apr 19, 2006 7:13 am    Post subject: Re: How to delete all empty albums at the same time ? Reply with quote

is this a windows or linux host?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia