-
Author
-
January 2, 2017 at 19:56 #148548
larandle
ParticipantHello,
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?
January 4, 2017 at 09:09 #148683Laura
ModeratorHi,
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 solutionJanuary 5, 2017 at 14:20 #148886larandle
ParticipantGood 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…?January 6, 2017 at 00:00 #148997Laura
ModeratorHello, 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 solutionJanuary 9, 2017 at 18:13 #149280Radu
ModeratorHi,
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 solutionJanuary 21, 2017 at 01:39 #150376larandle
ParticipantHi,
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.January 23, 2017 at 17:39 #150523Radu
ModeratorHi,
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 solutionJanuary 24, 2017 at 03:39 #150559larandle
ParticipantHi,
sorry about thatlogin url:
mysquadmusic.com/mysquadviplogin-sampadmin
password-123456January 25, 2017 at 17:21 #150772Radu
ModeratorHi,
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 solutionJanuary 25, 2017 at 17:42 #150777larandle
ParticipantHey,
I took off the security so you can just go to https://mysquadmusic.com, go to login and entersampadmin
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
January 25, 2017 at 18:36 #150787larandle
ParticipantHi,
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
January 26, 2017 at 15:53 #150909Radu
ModeratorHi,
Happy if you have figure out
Thank you for providing the solution
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.