![]() |
Jitter PM Alert Hack
Okay, this is nothing special -
I quickly made it for my board, where the flashing PM bar wouldn't have looked very good. This is a more subtle, but effective way of letting your users know when they have a PM. When someone gets a PM, the "Private Messages" link on the front page jitters slightly, letting the user know that they have a PM. I hope this hasn't been done before! John Addon: Number of unread PMs |
Screenshot:
|
Just updated the code, although I think one person downloaded it first - please redownload the install file!
|
Off Topic:
Ultimate User Profiles - Including "ID Images", Desktop screenshot, Mini Bio, Journal, and Mini Gallery! - When is a release date for this? It sounds very good. On Topic: That's a cool hack but maybe the jitter text might get annoying :p |
Quote:
Off Topic: I've been working on vBay more recently, but I'll be continuing with this shortly... |
Hehe, looks fun
/me installs |
/me licks install
the ultimate user profiles is just what i need, so i hope you get the time to work on it. Thanks for this hack aswell, the flashing pm bar just looked ugly on my new design. |
Quote:
|
Very neat! but i guess it only works with IE!
Anyway, you got my click /me installs. |
Drk: ive done it twice now i think ;)
|
Installed
/me licks install as well |
nice one :)
|
This looks nice John :) Good work
- miSt |
[high]* Chris M licks install:p
[/high] Cool hack:) Satan |
lol, thanks everyone - this hack only took me 20 minutes, it's nothing compared to the beast of a hack I'm working on at the moment. (vBmail - with Chen's permission, of course)
|
What I would like to see, is a hack that adds, in brackets () next to Private Messages, the number of PM's you have, when you get them, then goes away or clears after you reply to them. This would be very effective.
|
Quote:
FIND: Code:
$privtext = "<span id=\"jiggle0\" class=\"jc\">Private Messages</span>"; Code:
$privtext = "<span id=\"jiggle0\" class=\"jc\">Private Messages</span> ($unreadpm[messages])"; To make the number of PMs jiggle along with "Private Messages": FIND: Code:
$privtext = "<span id=\"jiggle0\" class=\"jc\">Private Messages</span>"; Code:
$privtext = "<span id=\"jiggle0\" class=\"jc\">Private Messages ($unreadpm[messages])</span>"; |
thanks for this hack but dont work for me !!
i think i have already this hack install ! (play a sound ) but i'm not sure ! in index .php i have this //new PM sound hack if ($unreadpm['messages']==0) { $sound=''; } else { $sound='<embed src="message.wav" autostart="true" hidden="true">'; } //end new PM sound hack can you help me !? i'm install the hack but not trembling thank you ! |
Yes, but I was just hoping to show Private Messages (X) at the top, without the giggle. I tried your code, editing the CSS span line out, but that didn't work. I guess I will leave it.
Thanks anyways :) |
All times are GMT. The time now is 04:43 PM. |
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:
|