View Full Version : Blink PM bar on new PM if you have a cat background image
I added a category background image to my site this week (courtesy of Michell69). Everything looks great, but it broke the blinking PM bar. This hack of FireFly's hack will let you get the blinking PM bar back. It will not alternate between the flashing color and the image. But, it will allow you to have the flashing color and any other color you choose. I added the cat background image using the replacement variable trick where you enter:
#color" "background="{imagesfolder}/catbgimage.gif
as the replacement variable. I used the first color to alternate with the flashing color. My users are very happy now. :)
TheComputerGuy
02-16-2002, 12:28 PM
Sweet, I always wanted something like that
Lesane
02-16-2002, 12:35 PM
Nice hack, thanks. :up:
dimava
02-16-2002, 04:57 PM
I followed the direction in the txt file, but it doesn't work for my forum
Originally posted by dimava
I followed the direction in the txt file, but it doesn't work for my forum If you added the code to index.php and made the modifications to the new template, I'm not sury why it wouldn't work. It's just a modification of FireFly's hack.
Michelle69
02-16-2002, 05:41 PM
Nice job FWC! :)
SgtSling
02-16-2002, 08:28 PM
hey fwc. i am using a nt machine and i cannot download the txt file because of the security setings that the sys admin has imposed.
Can you email this to sgtsling@hotmail.com ?
yes I am a member and the staff around here can verify that
[if he weren't licensed he wouldn't be able to post here anyway... -ff]
Littlebit
10-24-2002, 06:20 PM
FWC- I added your modified version after adding a graphic to my category bg and I'm still not having luck with it working for me. I'm using 2.2.8 this shouldn't effect it though, right?
Originally posted by Littlebit
FWC- I added your modified version after adding a graphic to my category bg and I'm still not having luck with it working for me. I'm using 2.2.8 this shouldn't effect it though, right? It should work on 2.2.8. It's very simple and does for me. Make sure you don't have the bg image in the added template. You have to use colors.
Littlebit
10-26-2002, 08:25 PM
FWC...it was the browser I was checking it in...Netscape finds a javascript error...it works in IE
Originally posted by Littlebit
FWC...it was the browser I was checking it in...Netscape finds a javascript error...it works in IE Ahhh, good Ol' 'Scrape. That explains it.
ESCO BM
11-01-2002, 10:56 AM
can i do this hack with no background?
liek just a plain grey background.. and black text?
Originally posted by ESCO BM
can i do this hack with no background?
liek just a plain grey background.. and black text? If you don't have a cat background image just use Firefly's original blinking PM bar hack.
Why not simply create a "highlight" version if your background image...
Then use pmBox.background='/images/whatever.gif'; instead of pmBox.bgcolor='#whatever';?
Then you would have alternate flashing images, and the flashy box won't look odd being the only one in the page with flat colours :)
cYbercOsmOnauT
06-26-2003, 11:43 PM
Nice Idea. But I solved it without any hacking, just with template-changing and two shading backgrounds. Coz my "Code" needs no php-hack I won't attach it here, but will post it on vBtemplates.
All you have to do is to check the variable $lightbulb
if ("$lightbulb" == "on") {
setInterval("Timer()", 500);
x=1;
}
I hope it's okay for you. :)
DaQuixlet
08-08-2003, 04:22 PM
Do you have to have Fireflys pm bar installed already for this to work?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.