[buddypress-trac] [BuddyPress] #4347: Consider Adding Admin Option To Control How Long User is Considered Online

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jul 11 15:25:48 UTC 2012


#4347: Consider Adding Admin Option To Control How Long User is Considered Online
--------------------------+-----------------------------
 Reporter:  frank13       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I made a hard coded change to/wp-content/plugins/buddypress/bp-core/bp-
 core-classes.php on line 246

 Out-of-box:
 `$sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE )
 >= UTC_TIMESTAMP()";`

 My Override:
 `$sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 15 MINUTE )
 >= UTC_TIMESTAMP()"; // 2012-05-15 increased value to 15 minutes`

 Thank you for considering.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4347>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list