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

DenzoForums 04-29-2004 03:19 PM

Quote:

Originally Posted by RichieBoy67
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

I have been looking for this for vb3.0.1.. please point me in the right direction..

Thanks
Dave

DenzoForums 04-30-2004 12:05 AM

Quote:

Originally Posted by DenzoForums
I have been looking for this for vb3.0.1.. please point me in the right direction..

Thanks
Dave

anybody have this hack for vb3.0.1?

DenzoForums 04-30-2004 02:09 PM

anybody have a link they can point me to for this hack for vb 3.0.1?

Thanks
Dave

maximux1 05-18-2004 05:06 PM

bump -
I've been searching for this hack? Could someone please point a link to the 3.0.1 version? I found hack for 2.x

Thanks
Max

OCH-Stan 06-15-2004 01:51 PM

Roger... please do so...

Bounce 06-23-2004 06:18 PM

Quote:

Originally Posted by rms10

Just installed this one


works no problem in Vb 3.0.1

you'll prob know that by now as you posted in Feb :ermm: :rolleyes: :squareeyed:

shadiguy1 08-09-2004 12:11 AM

anyone have this for Vb 3.0.3

Steve St.Lauren 08-09-2004 01:25 AM

Quote:

Originally Posted by shadiguy1
anyone have this for Vb 3.0.3

Here you go for vB3.0.3 - https://vborg.vbsupport.ru/showthread.php?t=68135 . Mine is slightly different than this one in that it puts a full width bar near the top of the screen and leaves the traditional PM bar as well. I based mine off of Chen's hack (thanks Chen) but had modified it to put it up top on vB2 because I have lazy users that wouldn't scroll down. I had rewritten it for vB3 but hadn't thought to release it.

JoyB 10-22-2004 12:17 PM

Hi

One of my members has chosen not to receive private messages from other members but the image flashes saying that their inbox is full - does anyone know of a way round this please?

Thanks inadvance,

Joy :)

CSS59 11-08-2004 04:52 PM

call me blind but i dont see the code i have to change in the index.php. Is it on top, or lower down?

CSS59 11-21-2004 10:29 PM

[QUOTE=JonelZ]call me blind but i dont see the code i have to change in the index.php. Is it on top, or lower down?

Bounce 11-25-2004 04:50 PM

Quote:

Originally Posted by JonelZ
anyone?

If your VB 3.0.3 then there is no code

Go back a few pages here for the link to the vb3 hack
:ermm:

blackpheonix 01-25-2005 06:50 PM

u say go back a few but its a full width bar i would like it bliniing like it does here any ideas

JC 02-14-2005 10:24 PM

I'm trying to install this hack but...within my index.php I don't see this...

Quote:

Originally Posted by script
if ($newpm['messages']==0) {
$lightbulb='off';
} else {
$lightbulb='on';
}

So I'm unable to add the code above it as told to do ? Help ?

eva01_ 02-15-2005 01:49 AM

because you have a VB3 forum this is a hack for VB2

Steve St.Lauren 02-15-2005 01:58 AM

Look here - https://vborg.vbsupport.ru/showthrea...threadid=68135

JC 02-15-2005 04:05 AM

Yeah your right guys, I got it now, thank you!!!

VBUsers 02-26-2005 08:38 AM

is this hack available for 3.0.6?

Steve St.Lauren 02-26-2005 03:02 PM

Yes it is - Look here - https://vborg.vbsupport.ru/showthrea...threadid=68135

Lucrecia 03-22-2005 01:08 PM

Ok that's great since I have the new version, been looking for this.

YLP1 05-09-2005 05:18 AM

I have seen vB versions throughout the site 2.2.XX is this a different VB Forum software?

Marco van Herwaarden 05-09-2005 07:06 AM

If you are asking if vBulletin 2 is different from vBulletin 3, then the answer is yes. It is coded complete different, and vB2 hacks will not work on vB3.

YLP1 05-09-2005 03:40 PM

Hi MarcoH64... Is vB2 an old version or a completely different forum?

Paul M 05-09-2005 04:22 PM

Quote:

Originally Posted by Steve St.Lauren

That's not actually the same - it doesn't blink the "welcome" box.


All times are GMT. The time now is 10:56 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.01941 seconds
  • Memory Usage 1,791KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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