vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Blink PM bar on new PM if you have a cat background image (https://vborg.vbsupport.ru/showthread.php?t=35113)

FWC 02-15-2002 10:00 PM

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

FWC 02-16-2002 05:27 PM

Quote:

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?

FWC 10-26-2002 04:11 PM

Quote:

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

FWC 10-26-2002 08:53 PM

Quote:

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?

FWC 11-02-2002 03:54 PM

Quote:

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.

Axe 01-08-2003 11:21 AM

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
Code:

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?


All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete