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-19-2002 04:08 AM

Boofo: I'm afraid I don't know why it wouldn't be working. I would suggest removing the hack and then re-installing it, and then see if that works!

Boofo 05-19-2002 04:42 AM

It works, it just doesn't show the "at" or work with the last time on thing. It shows today and yestereday every where else it is supposed to. I tried un-installing and re-installing, and it still does the same thing. There must be another hack messing with it, but I can't figure out what it would be or where it would be at. If you want to look at any files or anything, let me know. :)

ZiRu$ 05-22-2002 03:07 AM

I changed this

PHP Code:

<td nowrap align="right"><smallfont>$thread[lastreplydate] <font color="{timecolor}">$thread[lastreplytime]</font><br>by <a href="member.php?action=getinfo&find=lastposter&threadid=$thread[threadid]"><b>$thread[lastposter]</b></a></smallfont></td

to

PHP Code:

<td nowrap align="right" width="100%"><smallfont>$thread[lastreplydate] <font color="{timecolor}">$thread[lastreplytime]</font><br>by <a href="member.php?action=getinfo&find=lastposter&threadid=$thread[threadid]"><b>$thread[lastposter]</b></a></smallfont></td

and it never worked

bigmattyh 05-22-2002 03:20 AM

If your dates are not aligning correctly in forumhome.php, change the first line of the forumhome_lastpostby template to this:
Code:

        <table cellpadding="0" cellspacing="0" border="0" id="ltlink" align="right"><tr align="right">

ZiRu$ 05-25-2002 04:37 AM

Quote:

Originally posted by bigmattyh
Try changing the first line of the forumhome_lastpostby template to this:

worked perfect! Thanks alot :)

inetd 05-25-2002 07:45 PM

bigmattyh, please help with align in forumdisplay. How template need changed?

bigmattyh 05-25-2002 08:01 PM

I just looked at your forums, and it looks like the dates are aligning correctly.... If there still is a problem, try the template change I listed here, or show me what you mean with a screen shot.

inetd 05-25-2002 10:29 PM

bigmattyh, yes, i changed forumhome and all right on vb Main Page. But i need correct align in forumdisplay.
You understand me?

bigmattyh 05-25-2002 11:11 PM

If your dates are not aligning correctly in forumdisplay.php, follow these instructions to fix them:

In the template forumdisplaybit, right after
Code:

    $threadrating
find:
Code:

    <td bgcolor="$backcolor">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" id="ltlink"><tr align="right">

Replace that code with this:
Code:

    <td bgcolor="$backcolor">
        <table cellpadding="0" cellspacing="0" border="0" id="ltlink" align="right"><tr align="right">


inetd 05-25-2002 11:27 PM

Yahoo!
Work's great! bigmattyh - the best hacker!
[high]* inetd clap one's hands :D
[/high]

bigmattyh, please update hack with this changes


All times are GMT. The time now is 02:57 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.01362 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (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