vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Prune Private Messages (https://vborg.vbsupport.ru/showthread.php?t=127358)

bashy 09-23-2006 04:19 PM

Prune Private Messages
 
Hi peeps

Is this already available as i cannot find anything for 3.5 or 3.6
I cannot find anything stock in the admincp either?

If not to both, would someone be willing to look into this
Perhaps be able to prun by x amount of days old?
Perhaps be able to select to prune certain members
Perhaps theres an aoption for members to be able to mass delete all the PMs from either of thier folders?

How does this sound to anyone please?

SCRIPT3R 09-23-2006 08:20 PM

you can do this with queries.

bashy 09-23-2006 08:32 PM

Sorry m8 I know little about nothing and queries com into this catergory,
Could really do with a hack of some sort, I am supprised it aint stock!
Although i could have sworn i have seen something to this effect!

SCRIPT3R 09-23-2006 09:14 PM

to an extent, it is "stock" via queries. AdminCP >> Maintenance >> Execute SQL Query - for example,

TRUNCATE pm
TRUNCATE pmreceipt
TRUNCATE pmtext

will delete all private messages. more can be done via phpMyAdmin like...

EMPTY `PREFIX_pm`;
EMPTY `PREFIX_pmreceipt`;
EMPTY `PREFIX_pmtext`;

UPDATE `PREFIX_user` SET `pmtotal`='0', `pmunread`='0' WHERE 1;

but i see where you're going where you want to set conditionals. THAT would be an awesome hack.

P.S. here's my suggestion thread over at vB.com a while back. feel free to bump and let vB know that this is actually a valid request.

Sadie Frost 10-20-2006 01:20 AM

Is there a way via phpMyAdmin to do something like I think you suggested at vb.com to prune the pm's for people who haven't been on the site in x amount of time?

:)

bashy 10-20-2006 05:16 AM

I think it was a suggestion only,

Hi geartripper, sorry, for some reason i have only just received the new post pm.
Either that or i blinked and missed the 1st 1 :o

Anyway, just added to your thread over in .com this could be an invaluable hack or addon as standard. Heres hoping :)


All times are GMT. The time now is 12:59 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.01049 seconds
  • Memory Usage 1,718KB
  • 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)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