![]() |
Date blinks to get attention if viewed message is older than X days
Hey there,
Are you familiar with "thx for your answer but check my message date, I posted it a year ago!" messages in your board? This simple hack will blink (and make bold) the message date if it is older than X days when the messages are viewed. So readers will hopefully notice that message is old and act/reply accordingly. Blinking effect will work with both Internet Explorer AND Netscape. (Dunno Opera though) Very easy to apply hack with 3 simple steps and will take less than 3 minutes to install. If you want to see a demo (c'mon, do you really need it?), check here. :glasses: As far as I know, the hack will work with all vbulletin versions, so feel free to try.. Click Install button if you install the hack, thank you.. Enjoy! \\=^)) Logician |
Lol, this looks brilliant! Installing now :)
|
Installed nicely, works a treat - thanks!
|
Does it make a difference how we have the date format set on the site? I installed this and set it for 2 days to test it and it is not working. I use the Sep 3, 2002 format. Also, I'm on a Linux server, if that makes a difference.
|
Boofo:
Check something for debugging: Load a page with an old date (where date should blink), choose "view source code" and find the date in the code and see if there are <blink > </blink> tags around it..Tell me if tag is there or not. BTW: No it does not matter what date format you use, hack should work.. Maybe you should reapply the hack from the begining carefully.. |
Doing now. Will be right back with the report. :)
|
It's wierd. Is shows the blink stuff you asked about but it shows it in a different place than where the actual code is. Here is the url to check it out.
Check the time out I have the days set a 2 days to blink for testing purposes. |
Quote:
The reason it does not work for you is: the HTML structure of your page is really messy. There are a lot of unproper/broken HTML tag usage in your page so the java script cant detect the blink tags correctly in this mess. It seems that your modifications in default vbulletin templates (especially for showthread and postbit templates) were not very well designed and have many HTML errors. I tried to load your page's source code in Dreamweaver and it cant display your page properly either. (BTW viewing your page in IE without any problems does not indicate its source code is good!) This hack (or any hacks depending javascripts) will not work for you until you correct your HTML code, sorry! Regards, Logician |
Thank you for checking it out. It seems strange that I can't get the date to blink but I have other javascript codes that work fine on here. You say my structure is a mess. The only thing I have ever done to the original code is add hacks to it. Can you give me some sort of idea what I have that is messed up or how to correct it?
|
Quote:
|
Would it help if you had admin access to the templates to look at them? I have no idea what I am supposed to be looking for. If I revert them back to original, it will really screw things up as I have quite a few hacks installed that rely on those 2 templates. If you'd rather not, I'll undertand, but will accept any help you have to offer. :)
|
hi supi, it's verry Nice *click install*
greetz subu1 |
All times are GMT. The time now is 07:43 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:
|