Replies
But how to solve that? I am probably not the only person who is using buddypress in different timezones.
I found this very old post about a similiar problem but this is marked as fixed. https://buddypress.trac.wordpress.org/ticket/4310
Is it a buddypress bug within the calculating function by bp_core_time_since() cause the time settings at my client WordPress page is the way WordPress suggests?
I had a look at the function and bp_core_time_since() uses bp_core_current_time() which uses current_time(). But regarding to this post https://developer.wordpress.org/reference/functions/current_time/ its recommended not to use this function anymore since WP 5.3.
On my wordpress settings page it says:
Universal time is 2025-05-13 22:12:25.
Local time is 2025-05-14 00:12:25.So my local time is two hours in front of the UT.
Is this the cause? But again, when a user got registered wordpress saves the correct time (which is my local time) at the users table.I tested it going back with the registration day from now to 4 hours ago hour by hour.
When the current time for today is 23:43:00 and I put in 21:17:02 at the user_registered column then it says “registered 26 minutes ago” at the widget.
But it should be saying registered 2 hours and 26 minutes ago.Could something be wrong at my buddypress time settings? Daylight savings time?
The time saved at the database’s users table when a user got registered is correct, I double checked.Thanks for your quick answer. No, it happens to all users who got registered the current day.
The timestamp buddypress takes for its calculation is the timestamp at the “user_registered” column at the users table, right?
Then timestamp is correct, it is 2025-05-13 17:17:02 which is when the user got registered, today.Is there any possibility I can fix this by myself?
- This reply was modified 4 days, 7 hours ago by
Josh.
- This reply was modified 4 days, 7 hours ago by
I also have a lot of JS errors with this plugin.
Do you have resources to write a better plugin which is free of bugs and well maintained? I am willing to pay for it.
Or do you know a well programmed plugin which offers the opportunity to rate any other user on buddypress?My website is about dancers and I would like to have the option that dancers can rate the skills of any other dancers in case of their experience and then show a rating list in a widget.
Meanwhile the plugin author wrote and said, its a issue of buddypress and not his plugin. Strange.
Anyway, I checked the notification table once again. The review plugin stores its information with the component_action column and the user id as the secondary_it_item column.So I hope if I write some routine which deletes all entries in this table with the related user (after_user-delete hook) I am fine and don’t destroy other things.
What’s your opinion about that? Does any plugin has to take care of deleting data in these tables when a user gets deleted or is it a wordpress thing?