Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+9 votes
839 views
in Plugins by
edited by

In sidebar show top ten user with avatar and points.

This site implement this: http://makeupqa.wiseshe.com

I think this will encourage user to register and ask and answer more.

by
Good idea. You can ask the www owner to make a plugin or ask him for the code - then someone from community will easier wrap it into a nice plugin.
by
I think NoahY can solve it .... I like the look of this plugin.
by
moved by

very nice this plugin. Could you share please?

 

Thank you.

by
+1 for such a plugin

1 Answer

+1 vote
by
selected by
 
Best answer

Top user plugin: http://question2answer.org/qa/1523/showing-popular-contributors-in-sidebar

you can output user avatars with this code:

$avatarImages[$username] = qa_get_user_avatar_html($user['flags'], $user['email'], $user['handle'], $user['avatarblobid'], $user['avatarwidth'], $user['avatarheight'], qa_opt('avatar_users_size'), true);

"<li>".$avatarImages[$key]." ".qa_get_one_user_html($key, false).'</li>';

check full code for image output here: Widget (Plugin): Most Active Users per Week or Month

...