q2a-badges
q2a-badges copied to clipboard
Widget UserId lookup code change request
We recently converted our internal Question2Answer site to use a custom SSO implementation and as part of that also implemented a Q2A plugin to switch from displaying the user's handle to displaying the user's name from their profile (if its filled in). This change affects the question list, question page and the user list.
As soon as the user's handle display was replaced for user that had entered a name in their profile, the badge widgets stopped displaying. This is because of how the badges plugin is looking for the user handle on those pages.
We modified your code to look at the URL that's associated with the user display, which still references the user-handle. I thought I would let you know - we think it may be a better way for your badges widgets to work and can provide the code changes we made if you would like to take a look at them.
It would be a tad crass for me to ask you to update your plugin to suit our needs, so I won't do that - I just wanted to provide you with the information to see if you think our code changes might be an improvement.
Let me know if you are interested in seeing them.