vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Yesterday/Today Datestamp Hack (https://vborg.vbsupport.ru/showthread.php?t=34527)

bigmattyh 05-26-2002 12:14 AM

Thanks, inetd. The instructions have been edited in the first post, to reflect all the little add-ons here and there.

Velocd 05-26-2002 12:21 AM

Just wanted to say excellent hack, makes things much more user-friendly ^_^

mjames 05-28-2002 03:55 PM

Awesome hack, worked like a charm. :)

bigmattyh 05-30-2002 02:39 AM

Thanks!

:bunny:

John F 05-30-2002 04:57 PM

Excellent hack. I love it...but, there's a problem with posts containing polls.

The date displayed on the main forums page is showing "today" or "yesterday" when the last post could have been weeks ago.

Has anybody else spotted this and if so, is there a solution (even if i could stop the hack working for polls i'd be happy)?

Boofo 05-30-2002 05:05 PM

I don't see that happening on my site. It works as it should in the poll areas as well and the other areas. Sorry. :)

John F 05-30-2002 05:14 PM

I'm using version 2.2.5 - the problem is viewable at http://www.radiowavesforum.com/rw/index.php

bigmattyh 05-30-2002 05:16 PM

I don't believe this is a problem with this hack. :) It looks like the issue on your board has to do with the dates for polls being stored incorrectly. This hack only formats the existing dates in the system so that they turn into "Today" or "Yesterday".

I have no idea what could be causing your particular problem, but I'd suggest that you take a look at any hacks you have that have anything to do with polls or new threads.

Also, another tip: Since you haven't yet upgraded to 2.2.6, when you do, install your hacks one at a time, and see if the problem persists. Of course, your dates will still be messed up (because they've been stored incorrectly), but you can test it out on a fresh test board, or in a private testing forum that you can set up.

Hope that helps.

Boofo 05-30-2002 05:20 PM

I'm also using version 2.2.5. Have you tried to un-install and re-install the hack? Sometimes that straightens things out. It really shouldn't matter whether the area is a poll area or not. I would say check any hack that you installed that affects the poll area (if you have any that do). I know that's not what you want to hear, but I am at a loss on this one. Maybe the author of the hack has an idea. Sorry I couldn't be of more help. :)

Boofo 05-30-2002 05:22 PM

I guess I didn't get my message typed as fast as you, bigmattyh. You beat me to the draw. :)


All times are GMT. The time now is 04:42 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
  • Page Generation 0.01164 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete