Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Date blinks to get attention if viewed message is older than X days Details »»
Date blinks to get attention if viewed message is older than X days
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-21-2002 Last Update: Never Installs: 17
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-22-2002, 11:40 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol, this looks brilliant! Installing now
Reply With Quote
  #3  
Old 05-22-2002, 11:43 AM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed nicely, works a treat - thanks!
Reply With Quote
  #4  
Old 05-23-2002, 04:22 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 05-23-2002, 05:51 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #6  
Old 05-23-2002, 06:05 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doing now. Will be right back with the report.
Reply With Quote
  #7  
Old 05-23-2002, 06:11 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 05-23-2002, 10:38 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Reply With Quote
  #9  
Old 05-23-2002, 04:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 05-23-2002, 06:38 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12881 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete