I like this Hack but it could be better written.
The SQL query done by this hack could take into account that most people have a Prefix on thier vb DB. After installing the hack as it comes i got a DB error because it is looking for a table reputation that does not exist in my DB. The use of Table_Prefix is clearly explained in the VBulletin 3 manual.
to fix read this link
http://www.vbulletin.com/docs/html/c...ards_sql_query
or hard code your table names in the XML file so reputation would look like ??_reputation. with ?? being your table prefix.
I made some other minor changes but they where more because or style of writing code is different not because of errors in your code.