How does one modify the List used to display userpoints?



I'd like to be able to modify that (table) to display the Entity ID (the source transaction id).

Apparently, it is generated as a form/table in the Userpoints module, right? I think that SQL field is already part of the query. But is there a way to hook into that form and add columns without hacking the module? How is that done?

The form ID is userpoints-list-transactions

I see a hook in userpoints.api.php

function hook_userpoints_list_alter

so I created a function in my own module (which I know is loading and working for other functions)

 function jch_utilities_userpoints_list_alter(&$output) {

...and it never fires. What am I doing wrong?

1 Answer 1


Do you have the Devel module installed? dpm() won't work without that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.