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 01-27-2002 10:33 PM

I'd be interested to see your board, so that I can help you out.

But I'm sure it isn't www.abcnews.com -- which is what you've listed as your www page.

Nemesis77 01-27-2002 11:53 PM

i don't have a board. I just install hacks and do work for Avenger board called Verbal Warfare.

bigmattyh 01-28-2002 12:02 AM

The hack should work anywhere vbdate() is called. Check to see that it's called in the places that it isn't working. Without seeing your files, I can't diagnose the problem!

Good luck,
Matt

Remi 01-28-2002 02:17 AM

Nemesis77

It is working but the threads in your test forum are older than two dayes.

post a new thread and you will see the hack working perfictly :greedy:

Twig Deez 01-28-2002 02:42 AM

this is just superb. simple, but so effective! thanks! :D

Twig Deez 01-28-2002 05:34 AM

well, here's something i've noticed: see the attachment.

there's now a space between the last post info and lastpost.gif,
whereas before they were tucked in real tight together.
this is the case everywhere -except- the lowest forum in each category,
where the small gap has been maintained.

what is the reason for this, and is there a simple fix?

bigmattyh 01-28-2002 06:05 AM

Twig Deez,

I've looked at your board, and I think that's a template problem with forumdisplaybit. Take a look at that nested table that has the date display info -- and do two things:

1) In the <table> tag, set align="right"
2) Remove width="100%"

That ought to do it, I think.

FWC 01-28-2002 06:21 AM

Quote:

Originally posted by Twig Deez
well, here's something i've noticed: see the attachment.

there's now a space between the last post info and lastpost.gif,
whereas before they were tucked in real tight together.
this is the case everywhere -except- the lowest forum in each category,
where the small gap has been maintained.

what is the reason for this, and is there a simple fix?

I fixed this in the forumdisplay by going to the forumdisplaybit template and adding width="100%" to the <td> for the last post time and poster. I think this will work in all the templates with the nested table for the lastpost.gif.

Twig Deez 01-28-2002 06:37 AM

thanks for checking that for me, bigmattyh;
your fix didn't work, but fwc, yours did! on both forumhome and in forumdisplay.

thank you both for your assistance, i'm now 125% satisfied with this hack! :D

bigmattyh 01-28-2002 06:38 AM

Cool.


All times are GMT. The time now is 10:05 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.01298 seconds
  • Memory Usage 1,730KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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