![]() |
Do this hack work with 2.2.6? I followed the directions correctly, I went over the steps 10 times or more, and it still won't Blink. I even tried FWC's modified version of the PM Blink hack. It still didn't Blink. What could be the problem?
|
I installed this and I don't see anything either, has the original been updated with the background color that needs to be changed? Where do I need to include that?
|
great hack man.
|
Ahh nice firefly!!
This is a beautiful hack!! I am currently running vBPortal v3.0b with my site. Is there any way to make the Private Message side box blink the same way that the Private Message bar does on the forum index page? Cheers! :) Heineken |
this is what i have and when i get an private message the box changes color but it does not blink
<script language="JavaScript"> <!-- Begin $pmblink pmBox.bgColor='Alternate Flashing Color'; $pmblink setInterval("Timer()", 500); $pmblink x=1; function Timer() { set=1; if(x==0 && set==1) { pmBox.bgColor='Normal Category Background Color'; x=1; set=0; } if(x==1 && set==1) { pmBox.bgColor='Alternate Flashing Color'; x=0; set=0; } } // End --> </script> |
Ryan,
Try this EXACT code and let me know if it works. Also, if you have any pop-up killers running, shut them down to test this. They can cause problems too. :) Code:
[disable]<!-- Begin |
Note: Strange.... if you put { tableheadbgcolor } (without space) in this message... it will be change to #1D6AA0... :ogre:
|
Can anyone please tell me how to have the blinking continue after moving the mouse off of mouseover? It blinks fine until you mouseover it and then it stops blinking and will not start back up until you refresh the page.
PHP Code:
|
I don't think I've ever seen so many people have so many problems with such a small hack. ;) I just read the entire thread and am very disappointed to find that nobody else has the same problem as I do.
The hack works fine with my 2.2.6, but for some strange reason the off.gif next to the words "Personal Messages" does not show up. Instead I get that red X that I.E. puts when an image is missing. I right click to get the properties and it says the file is ".gif" no name in front of the period, just .gif - and of course there is no .gif so I'm getting the red X. Any advice would be greatly appreciated... |
I would love to get this hack going but unfortunately, php is far from my forte. I started by looking in index.php for the code you said to look for, nothing remotely close to it is in there. I am using v2.2.6
======================================/ if ($newpm['messages']==0) { $lightbulb='off'; } else { $lightbulb='on'; } /======================================\ | After that, add this code: | and the newpm, messages or even lightbulb is nowhere to be found anywhere in index.php. can you give me some kind of idea as to why none of these words are even in that file? is this based on some other hack that was supposed to be already added or something? excuse my ignorance, my learning curve is pretty huge right now .....mauisun |
You are wrong. On line 27 of an unhacked index.php from version 2.2.6 is the following:
PHP Code:
Quote:
|
could just smack myself in the head because I searched that whole friggin document and did not see any of those words. sorry to waste your time, haven't a cluse as to why I missed it, will be more cautious int he future. will let you know once it is working good, thank you for the help
....mauisun |
/======================================\ | By Chen 'FireFly' Avinadav | | chen.avinadav@vbulletin.com | \======================================/ /======================================\ | Open index.php, and find this: | \======================================/ if ($newpm['messages']==0) { $lightbulb='off'; } else { $lightbulb='on'; } /======================================\ | After that, add this code: | \======================================/ if ($unreadpm['messages']==0) { $pmblink='//'; } else { $pmblink=''; } /======================================\ | Save index.php and upload. | \======================================/ /======================================\ | In the template forumhome_pmloggedin | | find this: | \======================================/ bgcolor="{categorybackcolor}" /======================================\ | Before that, add this code: | \======================================/ id="pmBox" /======================================\ | In the same template find this: | \======================================/ /======================================\ | And after that, add this script: | \======================================/ /======================================\ | By Chen 'FireFly' Avinadav | | chen.avinadav@vbulletin.com | \======================================/
this is an exact copy and paste of the readme text file. after you add the id="pmBox" part of the code it says to add this next and there is nothing there to add, it says after that to add this script, nothing there to add, does anyone else know what the missing code is here? ....mauisun |
After this:
PHP Code:
PHP Code:
|
worked like a charm, my thanks Boofo I appreciate it, wonder why that string of java is not in the original text file at the beginning of this thread? well, anyways, thanks I appreciate it
.....mauisun |
Wrong again. :) It is in the file in the first post of this thread. Right at the bottom. :) You might want to re-download it. ;)
Quote:
|
I upgraded from 2.0.3 to 2.2.7 and i am having a problem. I double checked the hack and it is still intact, but the flashing wont stop! even when i dont have any messages in my box! i even deleted them all! does anyone know how to get it to stop blinking when there are no messages??? ACCCK!!! heh
|
I got it fixed me thinks...call off the search dogs!! I just reinstalled it again and left out the wheel over stuff....and then re-added wheel over! thanks!
|
i've install on 2.2.7 and work prefect :)
|
That hax rox0rs
|
BTW, this hack is also working on Version 2.2.7. I will report any bugs that I find.
|
meh. It wont work for me, i'm using 2.2.6 :ogre: I even un and re installed it 2 times! IT WONT BLINK! I DID CHANGE THE COLORS! *mad* Maybe this just isn't the hack for me..
|
This doesn't work for me. It only half works. When someone recieves a new private message, the bar turns red, but it doesn't proceed to blink.
|
Works great for me.
Great hack. Thanks, Craig |
Is there anyway to make the same thing happen on other pages. Not just the main page.
Mark |
does this work properly for anyone on 2.2.8? I get blank pages when this is installed!
|
Quote:
I've also integrated it into my "vbHome (Lite)" page successfully. |
Works like charm on 2.28
|
This is working fine for me on 2.2.8.
BUT It's using the correct Table Heading Background Color, but is NOT using the correct Category Strip Background Color. I'm not sure what is causing this... or how I can fix it. Any ideas? |
Ok.. it appears my Category Strip Background Color uses a .gif as part of it's path. So, in the forumhome_pmloggedin template, I just added the color code minus the .gif and it works fine. :)
|
Bah... I noticed now my mouse pointer arrow "hour glasses" every time it blinks. I know it's kind of running a script, but (a) being on a cable modem, and (b) being on a site with VERY low traffic... should this be happening?
|
Nice hack :)
Is there anyway to MOVE the whole PM bit to the top of the main page? If so....can someone tell me how? I don't wanna bugger up my forums. |
Has anyone got this working properly with background images?
|
Quote:
I did have to increase the timing factor, though. It was way too fast for me otherwise. |
I have it working great with 2.2.8 on IE, but I'm getting a javascript error (pmBox is not defined) on Netscape. Any quick fixes for this?
|
OK, I'm gonna show you how fresh I really am.......My mind is going blank and I don't know where to start to add this hack. I found "the template forumhome_pmloggedin" and can change taht but where do I start to find the "index.php"? to add the changes there.
Don't laugh too loudly...... |
it rocks! :) took me 3 minutes, thanks
|
I installed this hack and even when I dont have any unread PM's it still blinks.
Quote:
|
Works great on 2.2.7 ;)
thanks :D |
Just installed on 2.2.8, works great, took about 3 minutes total.
Excellent hack, as usual, FireFly! |
All times are GMT. The time now is 05:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|