vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Changing a non-vb date to use today/yesterday hack? (https://vborg.vbsupport.ru/showthread.php?t=69299)

Gutspiller 09-11-2004 12:44 AM

Changing a non-vb date to use today/yesterday hack?
 
I'm using the "Last X Posts v1.0.5" hack and I am trying to get it so that the date it shows uses the today/yesterday hack. I believe this should be a super easy fix, but I am stumped as to what I need to change. The code where the date goes is this:

Code:

// the last post date & time column,
        if ($lastpostdate == "1") {
                echo("<td bgcolor=\"$bc\" style=\"font-family:$f; font-size:$fs; color:$tc;\" align=\"center\">$fd</td>\n");
                ++$cols;
        }

I can see the variable I need to change is the "$fd", but I don't know the var that I am suppose to change it to to get it to work. Can somebody please help me on this, I can't figure it out for the life of me and would greatly appreciate the help.

Thanks!!!!

Gutspiller 09-14-2004 01:47 PM

Bump

Gutspiller 09-16-2004 10:15 AM

Bump

Gutspiller 09-17-2004 01:32 PM

Bump. I can do this for years.

Natch 09-17-2004 01:35 PM

You could also get banned OMG you do need to give people a chance ...

(Or look into how vB does it, and have a play yourself)

Gutspiller 09-18-2004 05:23 AM

I thought the rules say every 24 hours is ok? The stupid thing is, is that I had the hack and overwrote it with an older file uploading it to my server. I did a search with anything with my name and anything that could result in finding the previous thread of finding out how to do this and it was either deleted or placed under something I have no idea what to search for.

Anyhow, I just really want some help and it seemed like something so simple, that if somebody was seeing my message, I didn't think it would take this long to help me. :(

Gutspiller 09-24-2004 01:48 PM

bump

nexialys 09-24-2004 01:56 PM

hum... you want help, just tell once... twice and more is harrasment...
PHP Code:

if(empty($answer))
{
    
$answer 'nobody have a clue!';


but you can also see the situation like this:
PHP Code:

$answer = ++$patience


Gutspiller 09-29-2004 10:54 PM

20 days is patience in my book.

The thing that really gets me is that I had it working and I uploaded an older file over the newer file that had the hack working. sonuvab!!!!tch


All times are GMT. The time now is 10:00 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.01178 seconds
  • Memory Usage 1,723KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete