vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   how to auto delete pms older then x time? (https://vborg.vbsupport.ru/showthread.php?t=317597)

kh99 03-05-2015 11:25 PM

Yeah, it goes that way sometimes. You either get no response or more than one. But it's OK, mine's going to have a few different features, and I've looked in to some interesting things while working on it.

TheLastSuperman 03-07-2015 01:43 AM

Dang, meant to reply to this the other night then my youngest ran into the room with a toy to fix (Barbies head was off) and the rest is history as they say UNTIL now :p.

Release yours Kevin, will be nice to see other features but for those of you curious this already existed: https://vborg.vbsupport.ru/showthread.php?t=179879

^ Link taken directly from: https://vborg.vbsupport.ru/showthread.php?t=269719 and remember to check the other 3.x mods out that work for 4.x too some of them are quite nice.

MistViper 03-08-2015 09:54 AM

Quote:

Originally Posted by TheLastSuperman (Post 2539707)
Dang, meant to reply to this the other night then my youngest ran into the room with a toy to fix (Barbies head was off) and the rest is history as they say UNTIL now :p.

Release yours Kevin, will be nice to see other features but for those of you curious this already existed: https://vborg.vbsupport.ru/showthread.php?t=179879

^ Link taken directly from: https://vborg.vbsupport.ru/showthread.php?t=269719 and remember to check the other 3.x mods out that work for 4.x too some of them are quite nice.


Looks very old and it isn't always easy to tell when a 3.x mod works for 4.x or not.

But thank you for sharing it here.

TheLastSuperman 03-08-2015 05:24 PM

Quote:

Originally Posted by MistViper (Post 2539822)
Looks very old and it isn't always easy to tell when a 3.x mod works for 4.x or not.

But thank you for sharing it here.

Works just fine, also so you know Joe put together this thread - https://vborg.vbsupport.ru/showthread.php?t=269719 and has then added mods over time that community members have tested and reported working on 4.x ;).

MistViper 03-12-2015 05:03 PM

How is the progress going @kh99?

kh99 03-12-2015 05:33 PM

Quote:

Originally Posted by MistViper (Post 2540266)
How is the progress going @kh99?

Oh, well, to be honest there hasn't been a lot since I figured you'd end up going with one of the others. But I haven't forgotten about it. In fact I have a few other features including 'prune only if x% full' that you mentioned.

Oh, BTW, is the ability to prune only certain folders important? I see a few of the others have that, but I hadn't thought about it.

MistViper 03-13-2015 11:17 AM

Quote:

Originally Posted by kh99 (Post 2540271)
Oh, well, to be honest there hasn't been a lot since I figured you'd end up going with one of the others. But I haven't forgotten about it. In fact I have a few other features including 'prune only if x% full' that you mentioned.

Oh, BTW, is the ability to prune only certain folders important? I see a few of the others have that, but I hadn't thought about it.


Well no I was waiting on yours. Truly. I plan to use your mod.

Well if you have an important folder made with certain PM's in it you don't want deleted I think so yeah.

Very important to choose what folders like send and inbox folder get cleaned up if getting filled up to 80% for example or just when they are full.

Maybe it would be a good idea not to shock the user by just cleaning out 50% of the oldest PM's or so. Not the whole inbox and send out box. And repeat this process in a cron job.

So the ability to choose what folders gets cleaned is important. Now I don't know how you plan to handle this though as a user can create some custom folders and store PM's in that to.

So how could we handle that?

kh99 03-13-2015 11:25 AM

Quote:

Originally Posted by MistViper (Post 2540345)
Well no I was waiting on yours. Truly. I plan to use your mod.

Well if you have an important folder made with certain PM's in it you don't want deleted I think so yeah.

Very important to choose what folders like send and inbox folder get cleaned up if getting filled up to 80% for example or just when they are full.

Maybe it would be a good idea not to shock the user by just cleaning out 50% of the oldest PM's or so. Not the whole inbox and send out box. And repeat this process in a cron job.


Hmm...so are you saying it should only ever clear out inbox and sent, or you want each user to be able to choose whether or not to prune a folder? The first one I could do, the second one I don't think I'd want to get in to (not to mention the fact that users probably don't want anything pruned anyway, if given a choice).

And are you also sayng the percentage should apply to each folder separately?

MistViper 03-13-2015 11:30 AM

Quote:

Originally Posted by kh99 (Post 2540346)
Hmm...so are you saying it should only ever clear out inbox and sent, or you want each user to be able to choose whether or not to prune a folder? The first one I could do, the second one I don't think I'd want to get in to (not to mention the fact that users probably don't want anything pruned anyway, if given a choice).

And are you also sayng the percentage should apply to each folder separately?

send out: 80% cleaned out oldest first

inbox: 50% cleaned out oldest first

custom made folders only cleared out if full - < 90% for 50% like inbox oldest first.


could that work?

kh99 03-13-2015 11:32 AM

Quote:

Originally Posted by MistViper (Post 2540347)
send out: 80% cleaned out oldest first

inbox: 50% cleaned out oldest first

custom made folders only cleared out if full - < 90% for 50% like inbox oldest first.


could that work?

Sure. I can make each of those percentages configurable.


All times are GMT. The time now is 06:13 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.01852 seconds
  • Memory Usage 1,748KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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