PDA

View Full Version : PM Space Warning


sinaluna
03-19-2006, 10:00 PM
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]

sinaluna
03-20-2006, 06:28 AM
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.

hiiped
03-20-2006, 07:39 AM
very nice

hotwheels
03-20-2006, 11:47 AM
I will test it too...........great idea.

bada_bing
03-20-2006, 02:06 PM
Will this work for vb 3.5.3 ?

Oddjob
03-20-2006, 02:29 PM
Nice work.

Id like to see this work with vbpager as well.

projectego
03-20-2006, 02:56 PM
very nice
* projectego agrees :)

Snake
03-21-2006, 10:35 AM
Nice work! ;)

Vitz
03-21-2006, 10:42 AM
Very nice. So simple and so usefull. Great idea:)

ZombieAndy
03-21-2006, 02:42 PM
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

sinaluna
03-21-2006, 11:33 PM
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 :pHehe, very cool! I kept this one pretty simple to work for everyone, but it should be pretty simple to change to do custom stuff. If there are any suggestions of options I can add to the message, let me know here.

Id like to see this work with vbpager as well.Id rather not get into modding a mod. But the vBpager guys are free to snag this mod and add it to their deal if they want.

Will this work for vb 3.5.3 ?It should, but I have not installed it on anything but 3.5.4. I think it will work with 3.5.x, since the hook I used is the same as far as I can tell. Please let me know how a 3.5.3 install works, Ill spread the word (or fix it if there is a problem)

TwinsForMe
03-22-2006, 09:39 PM
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
How would this be done?

arcadian_girl
05-08-2006, 03:35 PM
yes, could someone tell us how to do that please? or fix this mod so that it does that? :)

Chicago_VLNU_4s
08-06-2006, 09:33 PM
nice, clean install