Changes between Initial Version and Version 1 of Ticket #4347, comment 5
- Timestamp:
- 07/11/2012 08:26:03 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4347, comment 5
initial v1 4 4 5 5 I can't seem to figure out how to override it short of my hard coded hack @boonebgorges 6 7 This is what I added to my functions.php in my theme: 8 `function ub_core_get_users_sql() { 9 if ( 'online' == $type ) 10 $sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 15 MINUTE ) >= UTC_TIMESTAMP()"; // 2012-05-15 D.Kozar increased value to 15 minutes 11 } 12 add_filter( 'bp_core_get_paged_users_sql', 'ub_core_get_users_sql' ); 13 add_filter( 'bp_core_get_total_users_sql', 'ub_core_get_users_sql' ); 14 ` 15 16 But I got "Sorry, no members were found." in my BuddyPress site
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)