Topic: today & yesterday

I want to disable today & yesterday feature. How can I do this ?

thanks in advance

Re: today & yesterday

Open the file include/functions.php

Go to line 637 and comment out this

    $today = date($pun_config['o_date_format'], $now+$diff);
    $yesterday = date($pun_config['o_date_format'], $now+$diff-86400);

    if ($date == $today)
        $date = $lang_common['Today'];
    else if ($date == $yesterday)
        $date = $lang_common['Yesterday'];

Re: today & yesterday

you mean the date for posts/replies? why not just change the date format in the admin options?

~James
FluxBB - Less is more

Re: today & yesterday

actually I was converting all numeric figures in forum to another Language. all texts are in Bangla language. But only numeric are in English. So, today I made another function to convert all numeric figures in Bangla. but Today & Yesterday was disturbing............

my guess with date is not working  .................trying another method