vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Delete all PMs and Adminlog (https://vborg.vbsupport.ru/showthread.php?t=140545)

arena 02-25-2007 10:00 PM

Delete all PMs and Adminlog
 
Delete all PMs and Adminlog

Your database Run SQL query/queries on database

UPDATE `user` SET `pmtotal` = '0',`pmunread` = '0';
TRUNCATE TABLE `pm`;
TRUNCATE TABLE `pmtext`;
TRUNCATE TABLE `pmreceipt`;
TRUNCATE TABLE `adminlog`;

This action can not be un-done. :)

Shazz 02-26-2007 07:47 PM

Should be in this forum
https://vborg.vbsupport.ru/forumdisplay.php?f=184

Shazz 02-26-2007 07:48 PM

But running this query on deleting PM, It still shows x private messages they have
Looks very werid

Lionel 02-26-2007 08:13 PM

Quote:

Originally Posted by Shazz (Post 1191357)
But running this query on deleting PM, It still shows x private messages they have
Looks very werid

That's in user table. Don't empty your user table though.

A_V 02-26-2007 08:40 PM

This is not any mod, is in one "How-to"

stinger2 02-26-2007 08:57 PM

i have asked this question about one year ago...and i posted the answer i got from vb.com in the above thread........

not to sound ungrateful.but why is it released as an add on???:confused:

Shazz 02-26-2007 09:16 PM

Already been stated in post 1.

BobbyBig 02-28-2007 06:49 PM

Installed :p

SaN-DeeP 03-01-2007 08:04 PM

How can i setup a scheduled task for same ?
(Clear all logs once per week and delete all pms which are 30+ days old)

I think you can bundle the same as a plugin ?

thanks

momo2 06-16-2007 11:59 AM

i tried to do this but, You are not authorized to execute SQL queries i get this, any ideas ?


All times are GMT. The time now is 01:05 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.00940 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete