how to show maximum number of pm a group has to group members

Started by Joker™, June 13, 2010, 04:02:28 PM

Previous topic - Next topic

Joker™

i've placed restriction on each group regarding the maximum number of private messages they can have , but how will they come to know this limit.


I want to know is there any method by which they can come to know how many messages they have used , how many are left to them constantly in there message box ?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

~DS~

Announcement?

"We limit new registered members below 50 from using PM.
This helps to eliminate spammers from taking advantage"
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Joker™

i want some strong system , as people are casual and they won't even count there pm left .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Joker™

Found this in PersonalMessage.template.php

is it of any concern ?


// Show the capacity bar, if available.
if (!empty($context['limit_bar']))
{
echo '
<div class="title_bar">
<h3 class="titlebg">
<span class="floatleft">', $txt['pm_capacity'], ':</span>
<span class="floatleft capacity_bar">
<span class="', $context['limit_bar']['percent'] > 85 ? 'full' : ($context['limit_bar']['percent'] > 40 ? 'filled' : 'empty'), '" style="width: ', $context['limit_bar']['percent'] / 10, 'em;"></span>
</span>
<span class="align_right', $context['limit_bar']['percent'] > 90 ? ' alert' : '', '">', $context['limit_bar']['text'], '</span>
</h3>
</div>';
}
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

smp420

That lets them know when they are getting close to their limit.
"Things turn out best for those who make the best of the way things turn out." -Jack Buck

Joker™

ohhh , so when this bar shows up any idea ,and how  can i activate it from 0% , i mean this bar shows from start.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Deaks

simply change the 95 to a 0 should suffice (not tried it though)
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Adish - (F.L.A.M.E.R)

0 Means unlimited PM's. Put anything except 0 and it should work. If you want it to show as 0, clear everyone's PM's from the database and it will show up as 0%.

Joker™

Quote from: (F.L.A.M.E.R) on July 16, 2010, 11:45:23 AM
0 Means unlimited PM's. Put anything except 0 and it should work. If you want it to show as 0, clear everyone's PM's from the database and it will show up as 0%.

i made max PM capacity for a group = 2.

and sent the member in that group 2 messages . Still the bar didn't showed up . Is bar work ?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: