This topic has 11 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #148548
     larandle
    Participant

    Hello,

    I have noticed that whenever I post an update on my timeline, it always stats that I posted it 2 hours ago instead of 1 second ago. How do I correct this?

    #148683
     Laura
    Moderator

    Hi,

    Do you have the latest version of WordPress ? If not update those

    Do you have the latest version of the theme ? If not update those

    Do you have the latest version of plugins installed ? If not update those

    If you de-activate all plugins excepting BuddyPress/bbPress it works? if yes enable back plugins one by one to identify what causes this.

    If you de-activate the child theme it works ?

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #148886
     larandle
    Participant

    Good morning,
    Everything is updated, including the plugins.I de activated all plugins except buddypress, as well as the child theme. And the timeline still updates as 2 hours ago…?

    #148997
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #149280
     Radu
    Moderator

    Hi,

    You have selected the correct timezone for the WP ? from wp-admin -> settings -> general -> Timezone ?

    Let me know
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150376
     larandle
    Participant

    Hi,
    Sorry It took so long to respond, I was out of town. My timezone seems to be properly set, so that isn’t the issue.
    I have given you an admin user and password, so that you can check it out. It’s in the attached file below.

    #150523
     Radu
    Moderator

    Hi,

    No problem,

    The file uploaded cannot be viewed: “login info.rtf: Sorry, this file type is not permitted for security reasons.”

    paste here the login in a private reply

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150559
     larandle
    Participant

    Hi,
    sorry about that

    login url:
    mysquadmusic.com/mysquadvip

    login-sampadmin
    password-123456

    #150772
     Radu
    Moderator

    Hi,

    The login url it says 403: Forbidden This page cannot be displayed and the login credentials are not working when i’ve try to login from login page.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150777
     larandle
    Participant

    Hey,
    I took off the security so you can just go to https://mysquadmusic.com, go to login and enter

    sampadmin
    123456
    PLease try to look over this as soon as possible, because my security has been removed from the site, and I need to turn it back on.

    I also wanted to say that I tested out the timeline on my mobile phone, and the time updated properly :/ Whenever I update the timeline on a web browser, I continue to get 2 hours ago.

    Talk to you soon

    #150787
     larandle
    Participant

    Hi,
    I figured out part of the issue. It wasn’t the theme, it was Buddypress.
    I added:
    function format_activity_date() {
    $activityDate=bp_get_activity_date_recorded();
    // Get GMT offset from root blog
    $root_blog_offset = get_blog_option( BP_ROOT_BLOG, ‘gmt_offset’ );
    // Calculate offset time
    $time_offset = $time + ( $root_blog_offset * 3600 );
    // Format the time using the offset and return it; date-i18n retrieves the date in localized format
    return ” . date_i18n(“l, M j, Y, g:ia T”, strtotime($activityDate) + $time_offset) . ”;
    }
    add_filter(‘bp_activity_time_since’, ‘format_activity_date’);

    Theme Functions (functions.php)

    I changed my timezone to UTC-4. Hopefully this will work with every user on my site, because not everyone is from my location.

    Thank you

    #150909
     Radu
    Moderator

    Hi,

    Happy if you have figure out

    Thank you for providing the solution

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?