Version: , by Admin (Coder)
Developer Last Online: Nov 2024
Version: 2.2.x
Rating:
Released: 11-09-2001
Last Update: Never
Installs: 281
No support by the author.
This is a very simple hack, yet I kinda like it.
Don't you just hate it when you write a long PM to someone, send it, and he doesn't even notice it?!
NO MORE!
Install this very easy hack and no one will be able to ignore the PM again.
This is almost just a template hack, but since it does involve editing a file and adding 4 lines of PHP code, it qualifies as a hack.
Sue me.
Anyway, what does this hack do?
Whenever you come to the forum main page, and you have any unread messages (even if they aren't new), the category strip that says "Private Messages" will blink.
Simple, but effective.
To see a demo of this, just send yourself a PM and see what happens. I'm sure you'll like it.
Installing this will take you 2 minutes if not less, it's very very simple.
I also don't expect too many support requests.
Anyway, have fun!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This won't really work very well if you are using a background image inside your category header cell, as I am. For example, if you use the method discussed here to have a category background image, the image is shown over the background color. Each time the cell flashes, you will see the background color for an instant, as the background image has to be re-downloaded.
So I guess I'm SOL on using this hack!
same here...
sigh ah well I was looking forward to it....
This is a very simple hack, yet I kinda like it.
Don't you just hate it when you write a long PM to someone, send it, and he doesn't even notice it?!
NO MORE!
Install this very easy hack and no one will be able to ignore the PM again.
This is almost just a template hack, but since it does involve editing a file and adding 4 lines of PHP code, it qualifies as a hack.
Sue me.
Anyway, what does this hack do?
Whenever you come to the forum main page, and you have any unread messages (even if they aren't new), the category strip that says "Private Messages" will blink.
Simple, but effective.
To see a demo of this, just send yourself a PM and see what happens. I'm sure you'll like it.
Installing this will take you 2 minutes if not less, it's very very simple.
I also don't expect too many support requests.
Anyway, have fun!
There is one bug in this... it doesn't work for Firebird, and possibly other DOM compliant browsers that don't have document level access to named elements.
The solution to make this work in Firebird, Mozilla, etc... is this:
Find:
<!-- Begin
Replace with:
<!-- Begin
var pmBox = document.getElementById('pmBox');
Someone else might've already said this... but there are too damn many replies to find out.
Of course... the above will throw an error in really old browsers (non-DOM compliant)... but who uses those? If you care... then you can write object detection first to check for existence of document.all, document.layers and document.getElementById... and then act accordingly... but very few people here will need that.