vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Deleting "Ghost" Avatars (https://vborg.vbsupport.ru/showthread.php?t=177479)

Digital Jedi 04-29-2008 12:09 PM

Deleting "Ghost" Avatars
 
1 Attachment(s)
Awhile back, we did a server move and something didn't go quite right. I can't tell you what, exactly, because I didn't do the move, nor did I have any server side control over the forum at that time.

One of the peculiar things that happened (and that followed even when we moved again with no problems) is that we got a bunch of avatars in the Admin CP that are attached to no Category. In fact, the only reason I know they're there, is because when you delete an avatar, it takes you to admincp/image.php?do=displayorder page, where all your avatars are listed uncategorized. That's the only place you can see them.

Attachment 79450

As you can see, I can delete them one by one (which I have been doing off and on for the last few months), but it's tedious, as you can imagine, and there's over 70 pages with these - - (uncategorized) - - avatars. Is there any way to mass delete these using a query or through phpMyAdmin, etc?

Digital Jedi 05-01-2008 10:02 AM

I take it, this is a very peculiar occurrence.

Lynne 05-01-2008 03:34 PM

I think it is pretty peculiar. I've never seen someone write about it before. I suppose you could do into phpMyAdmin and delete them that way or just change their category?

Digital Jedi 05-03-2008 05:06 AM

Doh! Okay, I've not really used phpMyAdmin prior to running my own server. Tends to slip my mind that I even have access now.

So basically, all I have to do is locate them in the avatar table in phpMyAdmin, select them and mass delete them? Simple as that?

Lynne 05-03-2008 05:18 PM

Quote:

Originally Posted by Digital Jedi (Post 1506481)
Doh! Okay, I've not really used phpMyAdmin prior to running my own server. Tends to slip my mind that I even have access now.

So basically, all I have to do is locate them in the avatar table in phpMyAdmin, select them and mass delete them? Simple as that?

I would try that on a test site and see if it works. I really hate doing things directly in phpMyAdmin when I am not positive it will have no effect on other things. If you can't do it on a test site, then make sure you backup your database prior to doing it. Also, if your avatars are in the filesystem, then deleting those lines from the database will not then delete the avatar files, just any reference to them.

Digital Jedi 05-04-2008 06:09 AM

I just got my test site setup, so I'll give it a try there. Yeah, most of these avatars are long gone and I'm actually a bit surprised some of them still show up. I'll post up any quirks. Thanks again.


All times are GMT. The time now is 09:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01054 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete