Needs review
Project:
User Stats
Version:
6.x-1.0-rc1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Apr 2010 at 07:16 UTC
Updated:
28 Feb 2011 at 15:52 UTC
If i want to create views block for show FRIENDs ON LINE (using Relationships module) i have error in this line:
AND ((1271483847 - users.access) < 900)
it`s hapend becouse Relationships module rename "users" table in veiws query like this "users_user_relationships"
for fix this problem I modifide line 15 FROM: $sql = "(". time() ." - users.access) < 900";
TO: $sql = "(". time() ." - users_user_relationships.access) < 900";
Comments
Comment #1
broncomania commentedthx man !! but I still get this message
Comment #2
broncomania commentedUpdate: For all the others outside. Duke is right
you have to change the value in all files
views_handler_field_is_online.inc
views_handler_filter_is_online.inc
views_handler_sort_is_online.inc
Then is everything working fine.
Comment #3
socialnicheguru commentedwill this fix get committed?
Comment #4
YK85 commentedCan someone provide the changes as a patch to be reviewed?