Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • a7medo778 Friend
    #146411

    hi there
    i am having problem with my jabulletin located in the sanidine ii template
    it keeps showing 30.11.99 as date for all new articles

    does any one have a solution i can try ?

    thanks in advanced
    ahmed

    kryptos Friend
    a7medo778 Friend
    #325448

    cant access that forum 😀

    would you mind posting the solution here ?

    thanks in advanced

    kryptos Friend
    #325450

    In both cases, most read and latest, the date is taken by the code in helper.php:

    [php]if ($showdate) {
    $lists [$i]->date = strtotime ( $row->modified ) ? $row->created : $row->modified;
    }[/php]

    It means that in both cases, the date should be either correct or wrong… In my installation, in both cases the dates are OK.

    Still, as a variant, maybe this code would resolve the issue

    [php]
    if ($showdate) {
    $lists [$i]->date = strtotime ( $row->created );
    }
    [/php]

    a7medo778 Friend
    #325451

    worked like charm

    thanks a million m8

    kryptos Friend
    #325452

    you’re welcome 😉

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  kryptos 14 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum