vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Delete multiple avatars from admin ctrl panel? (https://vborg.vbsupport.ru/showthread.php?t=46212)

Sue 11-29-2002 03:57 PM

Delete multiple avatars from admin ctrl panel?
 
What the title says.

That would be helpful :)

:banana:

:D

Velocd 11-29-2002 07:16 PM

It could be done, but most are lazy and just use the query method via PhpMyAdmin:

Code:

delete from avatar where CONDITION;
CONDITION could be replace with:

avatarid>avatarid#
avatar=avatarid#

Or if you are using the avatar-category hack:

avatarcat=cat#

And other conditions.

Hopefully this helps alittle :p

Strider Xero 12-13-2002 01:17 PM

huh? i dont get how to do that.

Strider Xero 12-13-2002 01:31 PM

nevermind, i figured i it out myself.

For those of you who are like me, confused and mysql clueless, here's a helpful and better tip.

1. From phpMyAdmin, go to the table called 'avatar'.
2. There should be a text box that says 'Run SQL query..."
3. Delete the text thats in that text box.
4.)Now type in:
Code:

delete from avatar where avatarid#>avatarid#
Basically, if you have 100 avatars, and you'd like to delete all of them, your code would look like this:
Code:

delete from avatar where avatarid#1>avatarid#100
Click on 'Go' and you should be all set!

WetWired 12-13-2002 02:14 PM

Actually I think he meant somthing more like "avatarid>50". Why what you typed worked, I don't know, but I am assuming you meant to delete all of the avatars anyway.


All times are GMT. The time now is 05:10 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.01412 seconds
  • Memory Usage 1,709KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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