PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Mon Apr 19, 2004 5:46 pm Reply with quote Back to top

Is there a way to delete avatars not in use? The well known avatar issue forced me to prevent users from deleting avatars by themelves. I was wondering if it were possible to delete the avatars which are no more used by making a query on phpmyadmin. Anyone knows how to do it?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Apr 19, 2004 9:33 pm Reply with quote Back to top

Querying phpmyadmin will provide you the avatars that ARE in use, not those that are NOT in use. You would then need to manually (although a PHP pscript could be written to do this) compare that against the avatar folder.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
morpheus_75
Involved
Involved


Joined: Oct 07, 2003
Posts: 302

PostPosted: Tue Apr 20, 2004 1:46 am Reply with quote Back to top

Raven wrote:
You would then need to manually (although a PHP pscript could be written to do this) compare that against the avatar folder.


Thank you, Raven! As you know, it is possible to manually delete the avatars that are not in use in the forum administration. I think I'll do that from there...
Eeeeh I wish I had your php knowledge! Laughing
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum