On my website I print some extra information on the users profile that is only visible to administrators. I would like to print the number of invites that a user has sent as well as the number of successful referals. Is this possible using some php code in a template override file?

I tried searching and I actually came up with an issue that I posted 2 years ago asking the same question. I also found a snippet that uses invite_get_counts which throws an error as it no longer exists.

Comments

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.