I'm using userpoints 4.7, the latest release, 7/11/06, and it does not display the user id, name or points. If you click on the menu tab you'll see what I mean.
jim
I'm using userpoints 4.7, the latest release, 7/11/06, and it does not display the user id, name or points. If you click on the menu tab you'll see what I mean.
jim
Comments
Comment #1
jondoesdrupal commentedIs this the 'users by points' menu entry you're referring to?
If so, I had the same issue in the 2006/08/28 4.7.0 release. The following error when trying to go to /userpoints:
You have an error in your SQL syntax near 'WHERE u.uid = p.uid GROUP BY p.uid ORDER BY p.points DESC LIMIT 0, 30' at line 1 query: SELECT p.uid, u.name, p.points FROM userpoints p INNER JOIN users u WHERE u.uid = p.uid GROUP BY p.uid ORDER BY p.points DESC LIMIT 0, 30 in /includes/database.mysql.inc on line 120.
To resolve I just had to change the sql statement to:
SELECT p.uid, u.name, p.points FROM userpoints p INNER JOIN users u ON u.uid = p.uid GROUP BY p.uid ORDER BY p.points DESC LIMIT 0, 30
Cheers,
Jon
Comment #2
kbahey commentedFixed in 4.7 and HEAD.
Comment #3
(not verified) commented