View Full Version : Blink PM bar on new PM!
Verity
06-01-2003, 06:14 PM
Has anyone gotten this to work with 2.3.0?
Thanks,
Verity
paratek
06-03-2003, 11:29 AM
Works fine with my vb 2.30
Verity
06-04-2003, 11:52 PM
Hack works perfectly on 2.3.0.
Thank you!!
reismarktq2
06-16-2003, 10:25 PM
nice hack :)
* reismarktq2 clicks install
Splitfyre
06-24-2003, 10:55 PM
I need suggestions on colour alterations for this hack to work:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=54665
Splitfyre
06-25-2003, 03:00 PM
got it. works fine now :)
cYbercOsmOnauT
06-30-2003, 10:39 AM
I solved it without any phphacking needed and posted it as a template mod. I hope that's okay for you. Also I shortened your javascript.
function Timer() {
if(x==0) {
pmBox.bgColor='{ categorybackcolor}";
x=1;
return;
}
pmBox.bgColor='{ tableheadbgcolor}';
x=0;
}
Anyways.. very nice idea. Maybe you take my shorter version of your javascript and put it into your version. :)
works brilliant - thanks :)
only 1 question - the whole PM bar is at the bottom of the page - is there a way to get it at the top? because theres a lot of topics on the forum and i dont want the members to scroll down to the bottom everytime to see if they have a new PM..
thanks :)
works brilliant - thanks :)
only 1 question - the whole PM bar is at the bottom of the page - is there a way to get it at the top? because theres a lot of topics on the forum and i dont want the members to scroll down to the bottom everytime to see if they have a new PM..
thanks :)
works brilliant - thanks :)
only 1 question - the whole PM bar is at the bottom of the page - is there a way to get it at the top? because theres a lot of topics on the forum and i dont want the members to scroll down to the bottom everytime to see if they have a new PM..
thanks :)
works brilliant - thanks :)
only 1 question - the whole PM bar is at the bottom of the page - is there a way to get it at the top? because theres a lot of topics on the forum and i dont want the members to scroll down to the bottom everytime to see if they have a new PM..
thanks :)
Cool hack
/me hits install
cYbercOsmOnauT
07-29-2003, 10:13 AM
07-19-03 at 11:28 AM wez said this in Post #261 (https://vborg.vbsupport.ru/showthread.php?postid=418895#post418895)
only 1 question - the whole PM bar is at the bottom of the page - is there a way to get it at the top? because theres a lot of topics on the forum and i dont want the members to scroll down to the bottom everytime to see if they have a new PM..
That's a template modification. Go into your ACP and open the template forumhome. Search for $ pminfo (Without the space between $ and p) and put it whereever you want the PM-Bar appear in your forumhome.
btw, please don't press on "submit reply" many times when the board here is a bit slow. Just be patient. :)
MaDCaT75
07-30-2003, 05:31 AM
Are you going to re-write this for vBulletin 3 when it goes RC?
Mincer
08-12-2003, 07:51 AM
Do we have any JavaScript gurus in the place? The original JS just gives
Error: pmBox is not defined
When run from Mozilla.
Thanks,
Matt. :)
MaDCaT75
08-12-2003, 09:10 AM
Get a better browser.
MaDCaT75
08-21-2003, 05:11 AM
Great hack! :D
If my users dont see the bright yellow blink then they're blind :p
nnjj.net
08-25-2003, 09:24 AM
I did all the things written here
but with no luck, not working
and actully I'm alittle bit confuzied, can some one summarize for me the last correct steps for this hack?
thanx alot
Annemie Coenen
09-05-2003, 09:06 PM
Hi,
Has anyone got a screen cap i can see of it in action
MaDCaT75
09-05-2003, 09:35 PM
Just send yourself a PM on this forum and then go back to the main forum page and you'll see it blink
legendarysk8er
09-17-2003, 12:52 AM
Great hack, it will get the people's attention.
/me clicks install.
ahbao
09-21-2003, 01:01 PM
how to have the pm catergory up there in the main page at at first place?
I've installed the hack, but the flashing won't stop when I have read all my PM's.. How can I fix this?
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 (http://www.vbulletin.com/forum/showthread.php?s=&threadid=31550) 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!
same here...
sigh ah well I was looking forward to it....
This looks like a great hack - thank you :)
Can anyone tell me how I could make a specific forum blink when a new post has been made to it?
ricker
11-17-2003, 08:24 PM
great hack, installed.
buro9
11-26-2003, 03:31 PM
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!
There is one bug in this... it doesn't work for Firebird, and possibly other DOM compliant browsers that don't have document level access to named elements.
The solution to make this work in Firebird, Mozilla, etc... is this:
Find:
<!-- Begin
Replace with:
<!-- Begin
var pmBox = document.getElementById('pmBox');
Someone else might've already said this... but there are too damn many replies to find out.
Of course... the above will throw an error in really old browsers (non-DOM compliant)... but who uses those? If you care... then you can write object detection first to check for existence of document.all, document.layers and document.getElementById... and then act accordingly... but very few people here will need that.
Onkel_Tom
11-29-2003, 11:09 PM
I've installed the hack, but the flashing won't stop when I have read all my PM's.. How can I fix this?
I think you forgot to do the changes in index.php
I forgot to save the index.php file and have the same problem ;)
LilPimp
12-20-2003, 01:27 AM
/======================================\
| In the template forumhome_pmloggedin |
| find this: |
\======================================/
bgcolor="{categorybackcolor}"
/======================================\
| Before that, add this code: |
\======================================/
id="pmBox"
bgcolor="{categorybackcolor}" -- No where to be found on vb 2.3.3 ... which one do i edit to make it work...
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
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:
<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:
<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
This is a wonderful hack, but is there a way to do this in vB 3?
http://www.vbulletintemplates.com/mods/showthread.php?p=46712#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
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
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
http://www.vbulletintemplates.com/mods/showthread.php?p=46712#post46712
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
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.
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
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
I'm trying to install this hack but...within my index.php I don't see this...
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/showthread.php?s=&threadid=68135
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/showthread.php?s=&threadid=68135
Lucrecia
03-22-2005, 01:08 PM
Ok that's great since I have the new version, been looking for this.
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.
Hi MarcoH64... Is vB2 an old version or a completely different forum?
Paul M
05-09-2005, 04:22 PM
Yes it is - Look here - https://vborg.vbsupport.ru/showthread.php?s=&threadid=68135
That's not actually the same - it doesn't blink the "welcome" box.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.