PM Inbox Full Notification

Started by Mike Bobbitt, September 28, 2004, 02:54:17 PM

Previous topic - Next topic

Mike Bobbitt

I've had a few users with full inboxes, and it got me thinking. Maybe replace

QuoteHey, Mike Bobbitt, you have 228 messages, 0 are new.

with

QuoteHey, Mike Bobbitt, you have 228 messages, 0 are new. Your Inbox is full!

When a user's PM inbox is full...


Thanks
Mike

[Unknown]

I think I can talk Compuart into this for 1.0.

-[Unknown]

Mike Bobbitt


Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Tristan Perry

#4
Finally! I was waiting for something like this.  :) Also I know there's hardly any space to do so, but would a percentage bar see it's way into 1.0? Or would this be the only thing? Because suddenely having a full inbox would get very annoying and would be un-excepted, but having a percentages bar or even a small piece of text saying how close you are to filling your outbox might be much better..

Cypher7

Quote from: Tau Online on September 28, 2004, 03:59:13 PM
Finally! I was waiting for something like this.  :) Also I know there's hardly any space to do so, but would a percentage bar see it's way into 1.0? Or would this be the only thing? Because suddenely having a full inbox would get very annoying and would be un-excepted, but having a percentages bar or even a small piece of text saying how close you are to filling your outbox might be much better..

Or rather than a percentage bar, you could display the limit somewhere on the page of the inbox.

eg, "Total amount of received messages allowed XXX". ??

Tom

However it's done, this is a feature I have been waiting for for a long time.  :)

Tristan Perry

Quote from: Cypher7 on September 28, 2004, 06:34:13 PM
Or rather than a percentage bar, you could display the limit somewhere on the page of the inbox.

eg, "Total amount of received messages allowed XXX". ??
Yeah that may be cool.  :) Some kind of way to tell if your close to the limit or not would be much better. I'd actually give my members a PM quota then!

Cypher7

Quote from: Tau Online on September 29, 2004, 01:03:54 PM
Quote from: Cypher7 on September 28, 2004, 06:34:13 PM
Or rather than a percentage bar, you could display the limit somewhere on the page of the inbox.

eg, "Total amount of received messages allowed XXX". ??
Yeah that may be cool.  :) Some kind of way to tell if your close to the limit or not would be much better. I'd actually give my members a PM quota then!

"Inbox capacity: XXX messages. You have XXX messages in your inbox"  Maybe!?!?

Tristan Perry

Quote from: Cypher7 on September 29, 2004, 01:23:51 PM

"Inbox capacity: XXX messages. You have XXX messages in your inbox"  Maybe!?!?
That'd be cool  :) I'd really like a bar like this, otherwise the feature is kind of useless IMO..

FaSan

The Moderators may send IM if the user is full ?

Mike Bobbitt

I believe mods (or at least admins) can already send PMs even if the PM box is full...

Tom

For each member group you can have a different PM limit (or no limit at all).

FaSan

This feature has not been more made ?

mytreo

Hi SMF,

I agree here that an Inbox full notification is definately needed, and a graphical indication of how much storage is remaining would be even better. A storage folder in the private messages would also be useful.

Did I read somewhere that there is plans for major enhancements to the Personal Message system? I'm sure I read that somewhere... :)

Best
Chris
Treo forum - Powered by SMF, of course
Treo news - powered by MovableType and integrated with SMF
Treo downloads - hacked from phpNuke and integrated with SMF
Treo knowledge base - powered by Wikka and integrated with SMF
Treo 650 | Treo 700w | Treo 700p

FaSan

#15
Ok ... i've made a little changes for notification :

Sources/Load.php :


Search

SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH


Replace

SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, mg.maxMessages


Search

LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = $ID_MEMBER)


Add After

LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_GROUP OR (mem.ID_GROUP = 0 AND mg.ID_GROUP = mem.ID_POST_GROUP))


Search

'total_time_logged_in' => empty($user_settings['totalTimeLoggedIn']) ? 0 : $user_settings['totalTimeLoggedIn'],


Add After

'maxMessages' => empty($user_settings['maxMessages']) ? 0 : $user_settings['maxMessages'],



In Themes/default/index.template.php


Search

global $context, $settings, $options, $scripturl, $txt, $modSettings;


Add After

global $user_info;


Search

// Is the forum in maintenance mode?


Add Before

if ($user_info['maxMessages'] !=0 && ($user_info['maxMessages'] - $context['user']['messages']) == 0)
echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000"><b><i>' . $txt['IM_Full'] . '</i></b></font>';



In Theme/default/languages/Modifications.english.php :

Search

?>


Add Before

$txt['IM_Full'] = 'Your IM Inbox is Full !!';






FaSan

Owdy

Quote from: mytreo on January 02, 2005, 12:44:09 PM
I agree here that an Inbox full notification is definately needed, and a graphical indication of how much storage is remaining would be even better. A storage folder in the private messages would also be useful.
SMF 1.1 is going to have this i 'v been told. In 1.0 user never know if his/her pm box is full.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

FaSan

Quote from: Owdy on January 02, 2005, 02:06:31 PM
Quote from: mytreo on January 02, 2005, 12:44:09 PM
I agree here that an Inbox full notification is definately needed, and a graphical indication of how much storage is remaining would be even better. A storage folder in the private messages would also be useful.
SMF 1.1 is going to have this i 'v been told. In 1.0 user never know if his/her pm box is full.


Good ;)

Anguz

I believe that determining how full an inbox is by number of messages is wrong. It should be measured in bytes.
Cristián Lávaque http://cristianlavaque.com

FaSan

 :-\

On MemberGroup's Setting is set for number...  ;)

torkil

I would also appreciate an option where users could choose one of the following option in their profile:

Inbox management:
(  ) Manual: Don't manage my personal messages, just give me a notice when my inbox is full. [  ] PM notice    [  ] Email notice
(  ) Automatic: When my inbox is full, automatically delete the oldest message to make room for new incoming messages. (FIFO)

In that way, users can choose the automatic option, meaning that they will never have to worry about PMs not reaching their inbox because it is full.

bluesyrio

I think Torkil's suggestions are really good.

I hope that 1.1 comes soon and with a great MP system. :)

geezmo

Can somebody confirm if the code below works for 1.1 RC2? Thanks.

Quote from: FaSan on January 02, 2005, 02:02:39 PM
Ok ... i've made a little changes for notification :

Sources/Load.php :


Search

SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH


Replace

SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, mg.maxMessages


Search

LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = $ID_MEMBER)


Add After

LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_GROUP OR (mem.ID_GROUP = 0 AND mg.ID_GROUP = mem.ID_POST_GROUP))


Search

'total_time_logged_in' => empty($user_settings['totalTimeLoggedIn']) ? 0 : $user_settings['totalTimeLoggedIn'],


Add After

'maxMessages' => empty($user_settings['maxMessages']) ? 0 : $user_settings['maxMessages'],



In Themes/default/index.template.php


Search

global $context, $settings, $options, $scripturl, $txt, $modSettings;


Add After

global $user_info;


Search

// Is the forum in maintenance mode?


Add Before

if ($user_info['maxMessages'] !=0 && ($user_info['maxMessages'] - $context['user']['messages']) == 0)
echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000"><b><i>' . $txt['IM_Full'] . '</i></b></font>';



In Theme/default/languages/Modifications.english.php :

Search

?>


Add Before

$txt['IM_Full'] = 'Your IM Inbox is Full !!';






FaSan

Owdy

This is built in feature in 1.1. You dont need this mod.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

geezmo

I can't upgrade to 1.1 beta yet that's why I need this mod for 1.1 rc2

Owdy

Its built in feature in SMF 1.1 RC2
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

geezmo

Huh? I'm using 1.1RC2 Default Theme but this does not appear in my forum. My members are complaining that their inbox is full but they get no notification about it or a warning that their inbox is full. Any link to a screenshot of this in 1.1RC2 or link to SMF FAQ that mentions this. I searched FAQ and Online Manual but didn't see anything that mentions about Full PM Inbox notifications.

Owdy

Quote from: geezmo on August 03, 2006, 04:10:00 AM
Any link to a screenshot of this in 1.1RC2
Sure. Users who has limitations, should see that bar like in attacment.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

geezmo

Wow, cool. I don't have that, and I'm using 1.1RC2. What a surprise! How can I add this? Should I edit/add the codes? Or download the latest 1.1RC2 version, if ever there is one?

Owdy

Quote from: geezmo on August 03, 2006, 04:17:36 AM
Wow, cool. I don't have that, and I'm using 1.1RC2.
You have it if you have SMF 1.1 RC2. Just set the limits and users should see them. If you dont have limits, you dont see it.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

geezmo

Ok I think I know what the problem is. Several of my members complain that they can't see that inbox warning so that means they don't have inbox limits right? But at the same time they confirmed that some members can't send them PMs because they supposedly have exceeded quota. Is this possible?

I'm thinking it's because of usergroups. As member of Usegroup 1, they have PM quotas. But if they are members of Usergroup 2 which doesn't have quotas, they can't see the PM warning. So they actually have PM quotas because they still belong to Usergroup 1 but can't see the warning because they are also in Usergroup 2. Does this make sense? ???

Assistance

was this taken out in 1.1RC3 ? as I do not see it
even with a member of 1 group with only allowed 25
~playing poker~

FinsandFur


Oldiesmann

Administrators are immune to PM limits, even if you have a limit set for that group. It is still there and will show up as long as the PM limit applies to you (ie you're not an administrator and all of the groups you're in have a PM limit).
Michael Eshom
Christian Metal Fans

Assistance

#34
my bad

had my test account as a mod :(
~playing poker~

bebe

Quote from: Assistance on November 06, 2006, 05:42:36 AM
was this taken out in 1.1RC3 ? as I do not see it
even with a member of 1 group with only allowed 25

Please refer to this. Please remember you need to set the PM limits for the "Post count based groups" too even if you don't use any of them, or the PM bar things won't work.

Assistance

lol please refer to my post above yours

ty anyways ;)
~playing poker~

Advertisement: