The Arcive of vBulletin Modifications Site. |
|
PM Quota by Usergroup Hack... Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
It s useful hack for me so....
/me install! Good job! :tup: |
|
#4
|
||||
|
||||
|
This will give you a truer percentage reading on larger message quotas.
Code:
$pmperc = round(($allpm[messages] / $pmboxlimit) * 100,2); |
|
#5
|
||||
|
||||
|
I don't set a limit on the quota but if I did this would be great ^^
|
|
#6
|
|||
|
|||
|
yeah Boofo more accurate
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 |
|
#7
|
||||
|
||||
|
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:
|
|
#8
|
||||
|
||||
|
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. |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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 |
![]() |
|
|