Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,991
- How-to & Troubleshooting
- 129,408
- Creating & Extending
- 25,786
- Requests & Feedback
- 9,486
- Third Party Plugins
- 9,786
- Showcase
- 3,318
- Ideas
- 1,393
- Miscellaneous
- 9,169
-
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