View Full Version : Date blinks to get attention if viewed message is older than X days
Logician
05-21-2002, 10:00 PM
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 (http://www.turkhukuksitesi.com/hukukforum/showthread.php?s=&threadid=497). :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!
Boofo
05-23-2002, 04:22 AM
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.
Logician
05-23-2002, 05:51 AM
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..
Boofo
05-23-2002, 06:05 AM
Doing now. Will be right back with the report. :)
Boofo
05-23-2002, 06:11 AM
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 (http://www.bearfacts2.com/forum/showthread.php?s=&threadid=22)
I have the days set a 2 days to blink for testing purposes.
Logician
05-23-2002, 10:38 AM
Originally posted by Boofo
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.
nope it's just in the right place as it should be. And I can tell that you applied the hack correctly too but this hack unfortunately will not work for you.
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
Boofo
05-23-2002, 04:22 PM
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?
Logician
05-23-2002, 06:38 PM
Originally posted by Boofo
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?
Although some hacks can do it, if I were you I would be suspicous of template modifications more. I dont want to mess your board since it seems working ok but maybe reverting templates (especially Showthread and Postbit templates) back to original can help. (Be warned: can clash with some hacks you installed) Also check which hacks you applied required modifications in templates, they can be the cause either.. I dont know which HTML editor you use for Web Design but I suggest you inserting that page's source code to your HTML editor and check it. This is how your page is viewed in DreamWeaver: (Should I say not viewed?)
Boofo
05-23-2002, 06:44 PM
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. :)
subu1
02-07-2003, 08:53 AM
hi supi, it's verry Nice *click install*
greetz subu1
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.