![]() |
PM Space Warning
Product Name:
PM Space Warning Product Description: This is a very simple product that lets you set a percentage threshhold that, when reached, changes the PM display on the navbar. When the box is full the Total PM display changes to "FULL" and displayed in the warning style. Contents: This package includes: 1 Plugin: "PM Navbar color changer": Checks for a full PMs and for PM totals over the threshold and if reached, applies the template style. 1 Template: pm_navbar_warning: Template that defines the style (CSS <span> in my example) that is applied to the PM total display in the nav box. The example template turns the text to "red" and "bold". 1 Option/Setting: pmwarninglimit: (group "PM Warning"): This is the percentage threshhold setting that determines when the warning template will be applied. This is a percent number WITHOUT the "%" symbol. For instance, to start warning the users at 75% of their PM limit, set this setting to "75". Installation Instructions: Step 1: Import the product .xml file (attached here) Step 2: Change the "pmwarninglimit" option to the threshhold where you want the users to start being warned. The default is "75" which is 75% of their total PMs allowed. Step 3: Enjoy. Version History: version 0.9 - Initial release] |
This is a super simple hack to hilight the users PM totals in the navbar when it reaches a configurable limit. My example sets the total PM text to "red" and "bold" with CSS but you could do just about anything. I included some samples of the display both at the warning threshold and when the pm maximum is reached.
I plan on fleshing this hack out some, but was asked to go ahead and release it now. All comments and suggestions are welcome. |
very nice
|
I will test it too...........great idea.
|
Will this work for vb 3.5.3 ?
|
Nice work.
Id like to see this work with vbpager as well. |
Quote:
|
Nice work! ;)
|
Very nice. So simple and so usefull. Great idea:)
|
nice..
i like it although ive modded it a lil bit so that it links to a custom error message telling the user to delete some PM's :p |
All times are GMT. The time now is 11:16 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:
|