![]() |
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! |
I made the necessary changes but for some reason it doesn't work for me:(
|
yep followed instructions to the letter,and it also does not work for me.
|
Nope:(
|
i believe its a javascript error, it worked for me so :p
oh and thanks for another great hack |
Works GREAT man!
Only problem I had is that both my categorybackcolor and my tableheadbgcolor are the same. So at first I thought it wasnt blinking (cuz they were the same) So like before anyone starts to say it doesnt work, try using THIS as your JS to test it: Code:
<script language="JavaScript"> snyx |
synx i don't even need to try,i know thats my problem,thanks for pointing that out.
:stupid: Doh |
Quote:
Great Hack Firefly! Me stupid! Thanks Snyx! |
Works great, FireFly! Thanks. :)
|
see, snyx knew it!
(first and last time you will ever here that sentance) :D |
I have mine set to blink a shocking red color. If they don't see that, they're blind. :D
Thank you Firefly. I like this one. Amy |
Quote:
|
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! |
I sent myself a PM and don't see anything happening:confused:
|
Or I'm just tired as hell and its not a big color difference and I didn't notice it doh :)
|
hi...
(a little add to this hack) i added an onclick to the TR, so i can click on TR to open PM's: (del the space between { and categorybackcolor!) find in forumhome_pmloggedin: PHP Code:
PHP Code:
|
Quote:
|
Dude, nice one
|
Thanks everyone. :)
JJR512, you can do something like this. After this: (in the Javascript) Code:
$pmblink pmBox.bgColor='xxxxxxx'; Code:
$pmblink pmBox.backGround=''; |
Hi hust i looking for but i only want the link "private message" blink. not the whole section and i want it to blink only when the messages are new and to be in a different coulor when there a new pm hum like this :)
new pM : blink unread PM : red no new or unread pm : white is that possible? |
I have a blinking and a nonblinking image. How could I use this hack to have it display the blinking image when their is new PM, and the nonblinking one when there isnt any?
Basically I want it to look like this (and have the image and text link to the PM box): No new PM- [nonblinking image] no new message(s). New PM- [blinking image] (# of new messages (in bold)) new message(s). |
I installed it in my vb2.2.0 and it doesn't work !
My Windows Internet Explorer gives me even an error in the command line "Done, but with errors on page" !! Is this the javascript problem as it is with many other hacks that uses javascript. |
xug, what is the error you are getting?
Joshs, instead of this: Code:
if ($unreadpm['messages']==0) { Code:
if ($unreadpm['messages']==0) { |
The error I wrote in my previous post ! no further details than that !
|
Xug, when IE tells you there is an error on the page, click the little message that tells you there's an error. The little yellow exclamation point that appears in the status bar, lower left hand corner? Next to the message that there's an error on the page? Double click it. Copy the contents of what it then tells you, and paste it here.
|
was very happily installing it, but it ended up not working :( I tried synx's fix but that didnt help . It just doesnt blink ... and yes, I DID send a pm to myself if ur wondering if i have a new pm or not :p
any ideas ? |
Quote:
|
Ok here is the error !
(Sorry, I didn't knew about this option to see the error) line : 958 char : 2 error : 'pmBox' is undefined code : 0 url : http://www.xboxusersgroup.com/forum/index.php?s= |
Code:
/======================================\ |
I had put it on the wrong spot :o
first here : id="pmBox" <td bgcolor="{categorybackcolor}" changed to : <td id="pmBox" bgcolor="{categorybackcolor}" Thanks, it works now ! |
erf nobody answers my question :(
|
Nice little hack.. Works Great! :D
|
Sent myself a PM on this page don't see anything flashing.. help.
|
Are you saying you sent yourself a PM on this forum and it does not blink?
(They most likely do not have it installed)... ;) Or are you having a problem on your site? |
This site, but I read back and Firefly said to do that and I could see it.. :( SS anyone..? lol I mean tell me if it's worth it I'll install it just to see it...
|
I feel it is a great addition, as some people do not have notify on, and sem to forget the have a PM box... This kind of reminds them..
HEY YOU HAVE A PM! :D Its very simple to add/remove.. but its all if you want it or not.. Can't really give you a SS of a blinking category BG without a bit of work.. |
lol no thanks, I'll install it now. I have installed something like 15 hacks on a fresh 2.2 forum with template customs to, now all I need to do is the actual layout/header work lol, thanks though!
|
(FYI) I just sent myself a PM , and I guess they do have it installed here.. You just can not see it very well (the colors are to close to the same)...
But send youself a PM (Do not read it when it redirects you to your inbox) , click the Forum button.. and you will see the category "ยป Private Messages" blinking... |
Quote:
plz can somebody tele me even if it's possible? |
Quote:
Sweet Evil - Thanks again! I saw it and I'm sold! |
All times are GMT. The time now is 04:48 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:
|