• I have this snippet of code that is pulling when the user registered with my site (going on profile pages), but it’s showing up as a registered date of Jan. 1970. However, on my profiles joined date it shows the correct date when I joined in March 2016.

    This is happening in bbpress, I’m not sure what the issue is and have done some searching on this but can’t seem to find a solid answer. This is what I have done so far:

    • Disabled all plugins (save bbpress)
    • Changed to the default theme

    Doing those things doesn’t resolve the issue. I have read that it may have something to do with my server time or database time? But if that’s true how could my profiles registered date be the correct date, but all the other users not be?

    The code:

    <p class="date"><?php
    echo '<b>Joined:</b> '.date("F, Y", strtotime(get_userdata(bbp_get_reply_author_id())->user_registered));?></p>

    I’m posting this here on the off chance someone knows what may be going on, as no one over on BBP has helped me out.

    Thanks in advance for any help you can provide.

The topic ‘[Plugin: BBPress] 1970 Issue’ is closed to new replies.