News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

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...  ;)

Advertisement: