News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

PM Inbox Full Notification

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

Previous topic - Next topic

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: