vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   deleting posts.. (https://vborg.vbsupport.ru/showthread.php?t=42906)

Webmasta XT 08-29-2002 05:51 PM

deleting posts..
 
how can I delete all posts from a user that is deleted? :surprised:

ZiRu$ 08-29-2002 06:21 PM

finally an easy question :)

Admins Cp - Threads & Posts (left hand side category) --> Mass Prune --> Prune by username

Webmasta XT 08-29-2002 08:12 PM

it says this..

Code:

You are about to delete all posts and threads from all forums by one of these users. Please select one:
and there is nothing there, and also the posts are there still..

g-force2k2 08-29-2002 08:20 PM

do you remember the userid? if not then find one of his posts then search for it in phpmyadmin and search out the userid... if its changed to zero then simply run this query...

PHP Code:

DELETE FROM post WHERE userid=

else if you find the user id then replace the zero with the userid regards...

g-force2k2

NTLDR 08-29-2002 08:26 PM

Note you will also need to remove any threads by them:

[sql]DELETE FROM thread WHERE postuserid=0[/sql]

g-force2k2 08-29-2002 08:40 PM

Quote:

Originally posted by NTLDR
Note you will also need to remove any threads by them:

[sql]DELETE FROM thread WHERE postuserid=0[/sql]

heh i didn't think of that NTLDR but then again if you do that how will the threads themselves be maintained? (meaning all of the posts in the thread) i don't think its a good idea to do such... im sure that'll it'll reindex the thread... but i think you know what i mean :P

g-force2k2

NTLDR 08-29-2002 08:52 PM

I hadn't thought about that, allthough somewhere allong the line I think it will go wrong no matter what you do, and there will probably be posts left that arn't needed.

The morral of the story, prune before deletion ;)


All times are GMT. The time now is 04:26 AM.

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.01059 seconds
  • Memory Usage 1,722KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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