Search

bbPress Showcase » bbPress Themes

  1. t_tornado
    t_tornado

    member
    Joined: May '09
    Posts: 10

    offline

    With "The Hybrid" theme, while hovering the mouse over the freshness date of any post, it shows as today's date while using that theme on this site.

    On my bbPress site (v 0.9.0.6) using this theme, a mouse hover on the freshness date of a post always shows "Wed, 31 Dec 1969 16:00:00 -0800". Now, I'm fairly certain I haven't gotten my Wayback machine perfected yet to transport back in time to orange shag carpet and lava lights.

    Any ideas about this problem? Thanks in advance.

    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Try doing a
    <?php global $bb_post; ?>
    at the start of the post.php template.

    Posted 2 years ago #
  3. t_tornado
    t_tornado

    member
    Joined: May '09
    Posts: 10

    offline

    I added, <?php global $bb_post; ?> to the top of post.php, refreshed browser and do not see any change. It still shows "Wed, 31 Dec 1969 16:00:00 -0800" for any post on a post page on my site.

    I note when using The Hybrid theme on this site, hovering on a freshness date for any post on a post page, shows this generic time: "Tue, 04 Aug 2009 00:00:00 -0400". However, hovering mouse over posts on the front page freshness column shows correct time (in u.t.c.).

    Posted 2 years ago #
  4. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Sorry there is a typo in the post.php for hybrid theme.

    change the $post->post_time to $bb_post->post_time

    Posted <span class=timetitle title="<?php echo date("r",strtotime($bb_post->post_time)); ?>"><?php printf( __('%s ago'), bb_get_post_time() ); ?></span>
    Posted 2 years ago #
  5. t_tornado
    t_tornado

    member
    Joined: May '09
    Posts: 10

    offline

    Hey ck, no problem. Thanks for taking a look. I changed the code and posts now show the refreshingly correct time on mouse over. Thanks for your help and will dispatch a donation via http://bbshowcase.org/donate/.

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “Hybrid theme - freshness hover no work”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
34 users online from in the past 30 minutes. 16 bots 18 guests
7,203 views today 8,426 yesterday 16,043 peak. Most at once 50 today 62 yesterday 131 peak. Visited today: Amylawrence, guava, JeffreyCasivant, wigbuy123, gdfddfs, nandao, _ck_, summerfortun
2,288 posts in 394 topics over 66 months by 430 of 2,167 members. Latest: watchessaleus, wigbuy123, JeffreyCasivant