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)

Dean C 11-28-2002 06:47 AM

Yes it works for me on vb 2.2.8 :)

- miSt

Paul 12-02-2002 05:22 AM

Hi,

When sending a reply to a private message (which automatically quotes the private message), I get the following:

Quote:

User wrote on Today 1:27 AM:
Hi there. This is a test message.
Before I go opening up the code at 2:30 in the morning, is anyone else experiencing this? :)

Thanks,
Paul

Smoothie 12-02-2002 05:44 AM

Get the same ;)

KarateKid 12-02-2002 06:59 AM

Info: it also works with 2.2.9 :)

Xer 12-03-2002 07:33 AM

o...working on my 2.2.9 vbb
thx hack~

Paul 12-03-2002 11:06 AM

Quote:

Originally posted by LoveShack
Hi,

When sending a reply to a private message (which automatically quotes the private message), I get the following:



Before I go opening up the code at 2:30 in the morning, is anyone else experiencing this? :)

Thanks,
Paul

By the way, I did verify that this was in fact a problem with my particular installation. I modified this hack when I installed it so that if vbdate() was passed a third argument, it would behave as it did before the yesterday/today hack was installed.

The argument, in this case doesn't matter--it simply counts--if it's more than 2, the yesterday/today replacement isn't made.

I won't provide the fix here since it doesn't apply to the same code. If you're getting it though, you'll need to make provisions to do the same.

Best wishes,
Paul

*UFA*3M 12-13-2002 01:46 AM

Installed on 2.2.9 works thanks!!

Trabia 12-21-2002 05:09 AM

I am a complete newbie to vB hacking and this was the first one I tried, worked a treat on 2.2.9!

Nice clear instructions and does what it says on the tin, thanks for helping a complete lameass gain some confidence (y)

agfisdn 12-28-2002 05:55 PM

Installed on 2.2.9 in a few secs !

Thanx bigmattyh !

5/5

glas 12-29-2002 05:50 PM

I'm using 2.2.9...tried installing it but doesn't work...now there's problems.

http://www.charming-holly.com/hhg


All times are GMT. The time now is 06:40 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.01268 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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