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)

Gutspiller 03-22-2003 08:12 PM

Bug found, When you edit a post it says

"Originally posted by Gutspiller on Today 03:03 PM"

That don't really make sense now do it. Anyway to fix that small thing so it sounds good when it shows today/yesterday or the numberic date?

Dean C 03-22-2003 08:21 PM

bigmattyh gave the fix - i believe it is functions.php :)

Gutspiller 03-22-2003 10:31 PM

Quote:

Today at 03:21 PM Mist said this in Post #252
bigmattyh gave the fix - i believe it is functions.php :)

Don't find those lines in my function.php :(

Boofo 03-22-2003 10:36 PM

Quote:

Yesterday at 08:50 AM Gutspiller said this in Post #250


What file is that in? I can't seem to find that code in my function.php
:(


forum/index.php

Gutspiller 03-22-2003 11:23 PM

Quote:

Today at 05:36 PM Boofo said this in Post #254



forum/index.php


That seems to only fix where it says

"You last visited: Today , at 12:48 PM"

There still needs to be a "at" in the last date post on forum index and forum display AND where I stated before, when you edit a post it displays

"Originally posted by Gutspiller on Today 05:55 PM"

Which isn't even proper engrish.

This is more like a beta hack if these small things can't be fix isn't it?

Thanks for the help so far, any more left in ya? ;)

Boofo 03-23-2003 12:41 AM

editpost template

Gutspiller 03-23-2003 02:51 AM

Quote:

Today at 07:41 PM Boofo said this in Post #256
editpost template
and how do I edit it so when it's "today" or "yesterday" it says one thing in the template, and when it's past today or yesterday it changes it?

Because "Today at 12:30 PM" sounds fine, but 3/22/03 at 12:30 PM sounds lame. maybe 12:30 on 3/22/03 could work. But how do I get it to say one thing if today/yesterday and the other if it's a actual date? :ermm:

Boofo 03-23-2003 03:54 AM

Install Logician's Dynamic templates hack and you can do what you want very easily inside the template itself. I just did it and it works fine. ;)

AlexanderT 03-28-2003 05:06 PM

I noticed that the in forumhome, the "Today" entry in the "Last Post" column is not perfectly aligned (see attached image). Does anyone know the proper html code to fix that?

Smoothie 03-28-2003 06:20 PM

Quote:

Today at 02:06 PM AlexanderT said this in Post #259
I noticed that the in forumhome, the "Today" entry in the "Last Post" column is not perfectly aligned (see attached image). Does anyone know the proper html code to fix that?
https://vborg.vbsupport.ru/showthrea...532#post254532
same for forumhome


All times are GMT. The time now is 09:14 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.01263 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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