SMF Support > SMF 1.1.x Support
Is it possible ... to limit the total number of PMs members save?
(1/1)
crash56:
Greetings,
We have a number of people at our forum who -- despite frequent reminders to do some housecleaning -- never clean out their PM Inboxes/Outboxes. There are groups who tend to spend a lot of time chatting in PM instead of out on the board, and some of them are slack when it comes to pruning back their messages.
Is there some way to set an upper limit on the number of messages allowed in their Inbox/Outbox? I've looked around quite a bit, and if it's here, I managed to not find it.
Or is there an upper limit already set by the software?
We are running SMF 1.1.16.
Thanks!
Crash
nend:
That isn't a bad idea, will kill allot of wasted space in the database. However as far as I know there isn't a mod available to do this.
I get the concept. Say you limit to 50 and have a meter/progress bar at the top showing how full the inbox is. If it goes over the limit then have the PM's rejected being sent to the member. Sort of what most email providers do.
However there may be a simpler way to do this. Say query the database for only the amount of PM's you have set. If they have more PM's then the limit, then those new PM's will not be shown to them until they delete some in their box. Doing it that way may prevent a database edit and only require source code edit. Plus they will not loose any PM's sent to them when they are over the limit, they will just have to delete some stuff to view them.
I might look into this, I sort of want this too. However don't plan on it soon, I am way over my work que at this time, plus I am on a different SMF version and will not back port this so someone else will have to do that. ;)
crash56:
--- Quote from: nend on August 21, 2012, 12:16:40 PM ---That isn't a bad idea, will kill allot of wasted space in the database. However as far as I know there isn't a mod available to do this.
I get the concept. Say you limit to 50 and have a meter/progress bar at the top showing how full the inbox is. If it goes over the limit then have the PM's rejected being sent to the member. Sort of what most email providers do.
However there may be a simpler way to do this. Say query the database for only the amount of PM's you have set. If they have more PM's then the limit, then those new PM's will not be shown to them until they delete some in their box. Doing it that way may prevent a database edit and only require source code edit. Plus they will not loose any PM's sent to them when they are over the limit, they will just have to delete some stuff to view them.
I might look into this, I sort of want this too. However don't plan on it soon, I am way over my work que at this time, plus I am on a different SMF version and will not back port this so someone else will have to do that. ;)
--- End quote ---
Yup. What you're describing is exactly what I was hoping for. We've got something of a behemoth of a database for the size of our forum, and I was hoping to find an more automatic method of cutting down on the amount of PMs being saved. Guess we'll just have to keep nudging the PM-hoarders to clean out their storage.
nend:
I just got a PM from someone who said that the setting is in the settings for the membergroups. However this only works for the inbox at this time.
Navigation
[0] Message Index
Go to full version