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! (https://vborg.vbsupport.ru/showthread.php?t=32299)

Amavisca 01-05-2004 06:37 AM

Li i got same problem as u. PPl help plz...

Steve St.Lauren 01-07-2004 05:48 AM

That is inside of a td tag - it's not on a line all by itself. In 2.2.7 (the version we run) it's the 2nd line of that template. Here's the first part of that line:

<td bgcolor="{categorybackcolor}" colspan="6">

you should change it to this:

<td id="pmBox" bgcolor="{categorybackcolor}" colspan="6">

sdp777 01-20-2004 12:54 PM

Honestly, this is such a simple thing...why its not working I cant tell.

I have followed this entire 19 page thread....and no luck.

I am having no problems following the instructions...but no matter what I have done per the instructions on thread I am getting no flashing on 2.3.0 Candidate 2. I do get a color change...and a java error.

See attached. Line 310 doesnt have a 'set'. Not sure...sometimes this error says the same thing but 'x' replaces set. Same line number.

Any insight would be really helpful.

buro9 01-20-2004 05:14 PM

Quote:

Originally Posted by sdp777
Honestly, this is such a simple thing...why its not working I cant tell.

I have followed this entire 19 page thread....and no luck.

I am having no problems following the instructions...but no matter what I have done per the instructions on thread I am getting no flashing on 2.3.0 Candidate 2. I do get a color change...and a java error.

See attached. Line 310 doesnt have a 'set'. Not sure...sometimes this error says the same thing but 'x' replaces set. Same line number.

Any insight would be really helpful.

I registered on your board to sort this one out for you... what I found is that your javascript is indeed broken.

It currently produces this:

Quote:

<script language="JavaScript">
<!-- Begin
pmBox.bgColor='#000080';
setInterval("Timer()", 500);
x=1;
function Timer() { x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.bgColor='#7690DA';
set=1;
if(x==0 && set==1) {
pmBox.bgColor='#000080';

x=0;
set=0;
}
}
// End -->
</script>
And that really wouldn't work... you've moved brackets around for starters!

What you want to end up with is this:
Quote:

<script type="text/javascript" language="JavaScript">
<!-- Begin
pmBox.bgColor='#000080';
setInterval("Timer()", 500);
x=1;
function Timer() {
set=1;
if(x==0 && set==1) {
pmBox.bgColor='#7690DA';
x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.bgColor='#000080';
x=0;
set=0;
}
}
// End -->
</script>
So take the above example code... put in your replacement vars for the colours... and then drop that into the pmloggedin template thingy (you know the one... search your templates for pmBox if you don't... there's only one of them).

Then it will work.

:)

Cheers

David K

PS: Can you delete the account 'testing' from your vBulletin please... I'd rather not leave accounts all over the Internet for things that I forget about ;)

Razor-X 01-24-2004 12:18 AM

This is a wonderful hack, but is there a way to do this in vB 3?

AKAAirborne 01-26-2004 10:09 PM

Anybody have another solution to the pm bar blinking continuously even when the pm's have been deleted.

On a side note I have made the changes to the index.php pages and it still blinks all the time.

rms10 02-18-2004 06:48 PM

Quote:

Originally Posted by Razor-X
This is a wonderful hack, but is there a way to do this in vB 3?

http://www.vbulletintemplates.com/mo...6712#post46712

kr?mel 03-06-2004 03:07 PM

good hack =D

RichieBoy67 04-21-2004 11:09 PM

:disappointed: ok, I am a newbie idiot I guess when it comes to this. I've done a few hacks but I have a hell of a time everytime...

OK...I was supossed to find something in the index.php and it is not there... Where is it?? Am I looking in the right index.php file??

Believe me..I am trying as hard as I can to learn but I still have to keep asking stupid questions like this...

RichieBoy67 04-21-2004 11:19 PM

I am more of an idiot than I thought... I was trying to install this in vb3--

I found the proper hack and it woeks like a charm...Thanks


All times are GMT. The time now is 06:29 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
  • Page Generation 0.01424 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete