![]() |
PM Quota by Usergroup Hack...
As requested by stu... and thanks to my man GoldKnight for the usual help of getting things squared away :)
What does this hack do? // +++++++++++++++++++++ Simply as the title states... it allows you to create seperate PM Quotas based upon usergroup. It's configurable in the Admin CP under the usergroup options -> private message options. Hope its useful and someone can Enjoy it ;) What to Do? // +++++++++++++++++++++ Queries to Run (1) File Modifications (11) Templates to Edit (1) As always hopefully this comes useful to some ppl ;) Enjoy... if you like this hack i'd be greatful if you clicked install... regards... g-force2k2 |
You are on a roll with this small but extremely useful hacks, my friend. :) Let me be the first to click install, and I will install it when I get home from work. Good job.
|
It s useful hack for me so....
/me install! Good job! :tup: |
This will give you a truer percentage reading on larger message quotas.
Code:
$pmperc = round(($allpm[messages] / $pmboxlimit) * 100,2); |
I don't set a limit on the quota but if I did this would be great ^^
|
yeah Boofo more accurate :p but for larger amounts the floor should do fine ;) round to two decimal places is good for smallter pm quotas... all in all i guess its a matter of preference ;) regards...
g-force2k2 |
The nice thing about round is that it will show whole percentages when the percentages are calculated that way. Also, there are Admins out there that will have smaller pm quotas for some of their usergroups. This just gives them an option, that's all. Accuracy will come into account on larger pm quotas, too, especially when you have some off numbers.
Quote:
|
Thanks g-force,
The hack was easy to install and seems to work great. This hack means I can offer additional benefits to contributing members. Not so important, But could this be altered to increase the message length allowed per user group? Thanks Again. |
im sure something could be worked out Stu... i'll take a look and add it to my large list of things to do ;) regards... and thanks... notice it could be trickier... but i haven't taken a look at the coding requirements yet...
g-force2k2 |
I absolutley love this hack! One question I am using the Improved PM folkder view and the guage in there is not working correctly. Normal members have 20 POM's and admins get 200 but the guage still says 50% when I have 10 pm's?
Does anyone know what I have to change? https://vborg.vbsupport.ru/showthrea...threadid=36764 |
Hi, ive tryed to get this Improved PM folder view, but i cant get it to show the true % either, anyone know how?
|
Have installed that hack.
But one thing. How to set the limit in the vbulletin Options? In the usergroups i have set different limits but in my vboptions are only one limit?? Should i set this to '0'? Thanks in advance :) [high]* Kars10 installed[/high] |
Thanks ppl, got it working now..
Kars10, yeah just set the vb options limit to 0. |
goooood hack :D
|
I also have the Improved PM Folderview - Can anyone post the code required to integrate this into that?
|
Nevermind... got it working. =)
|
g-force2k2, how would I incorporate this hack into this code out of the root/global.php for the "full pm popup" hack?
PHP Code:
|
g-force2k2, are you supporting this hack at all?
|
All times are GMT. The time now is 11:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|