Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
maybe I found a better solution
If I’m right bp always set last_activity meta in gmt ( bp_core_record_activity() in bp-core.php use gmdate ) so the query should compare with that timezone, I tried using UTC_TIMESTAMP() instead of NOW() in the query and it’s working.
If some expert can confirm that this solution is valide not only for my configuration but for everyone I’ll open a ticket.
Thanks
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS