Lithosphere The Lithium Community

%3CLINGO-SUB%20id%3D%22lingo-sub-485227%22%20slang%3D%22en-US%22%3ETop%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485227%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20wondering%20if%20anyone%20has%20any%20idea%20of%20how%20to%20%22fix%22%20this.%26nbsp%3B%20%26nbsp%3B%20On%20our%20home%20page%20we%20have%20a%20%22Top%20Authors%22%20widget%20that%20shows%20the%20people%20that%20get%20the%20most%20kudos.%26nbsp%3B%20%26nbsp%3BHowever%2C%20since%20we%20enabled%20kudos%20in%20our%20Idea%20Exchanges%2C%20the%20%22Top%20Authors%22%20shown%20are%20mostly%20people%20that%20have%20submited%20an%20idea%20and%20the%20idea%20has%20a%20lot%20of%20kudos.%26nbsp%3B%20%3A-%5C%26nbsp%3B%20%26nbsp%3B%20Our%20%23%201%20%22Top%20Author%22%20has%20only%20posted%201%20topic%2C%200%20replies%2C%20and%20has%20only%20logged%20in%20to%20our%20system%206%20times.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20have%20any%20suggestions%20on%20how%20to%20block%20Idea%20Exchange%20kudos%20from%20being%20recognized%20in%20the%20Top%20Poster%20widget%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485280%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485280%22%20slang%3D%22en-US%22%3E%3CP%3EI%20wish%20I%20were%20a%20developer.%20......%26nbsp%3B%20%26nbsp%3BThanks%20for%20the%20responses%20guys.%26nbsp%3B%20Now%20to%20see%20what's%20the%20best%20way%20to%20deal%20with%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485256%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485256%22%20slang%3D%22en-US%22%3E%3CP%3EOne%20hacky%20option%20could%20be%20to%20increase%20the%20number%20of%20users%20you%20fetch%20from%20the%20API%20(%22msgCount%22)%2C%20then%20as%20you're%20looping%20through%20the%20users%2C%20check%20some%20metric%20(i.e.%20number%20of%20posts)%20and%20decide%20if%20you%20want%20to%20include%20them%20on%20the%20leaderboard.%3C%2FP%3E%0A%3CP%3EAnother%20possible%20option%20is%20in%20admin%20you%20can%20exclude%20certain%20roles%20from%20the%20leaderboards.%20You%20could%20play%20with%20that%20and%20possibly%20exclude%20new%20users%20(depending%20on%20your%20current%20role%2Frank%20structure).%3C%2FP%3E%0A%3CP%3EOtherwise%2C%20there%20is%20no%20way%20to%20determine%20where%20the%20kudos%20came%20from.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485252%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485252%22%20slang%3D%22en-US%22%3E%3CP%3EArgh.%26nbsp%3B%20%26nbsp%3BWe're%20using%20a%20custom%20component%20for%20this%2C%20written%20before%20anyone%20here%20became%20involved.%26nbsp%3B%20In%20looking%20at%20this%20code%2C%20is%20there%20an%20obvious%20way%20to%20limit%20the%20widget%20to%20forums%3F%26nbsp%3B%20%26nbsp%3B%20If%20not%2C%20I'll%20have%20to%20rethink%20this%20widget%3A%3C%2FP%3E%3CPRE%3E%26lt%3B%23include%20%22message-macros%22%20%2F%26gt%3B%0A%26lt%3B%23include%20%22user-macros%22%20%2F%26gt%3B%0A%26lt%3B%23include%20%22pillar-macros%22%20%2F%26gt%3B%0A%0A%26lt%3B%23assign%20isPillar%20%3D%20isPagePillar()%20%2F%26gt%3B%0A%0A%26lt%3B%23assign%20msgCount%20%3D%203%20%2F%26gt%3B%0A%0A%26lt%3B%23if%20coreNode.nodeType%20%3D%3D%20%22category%22%20%26amp%3B%26amp%3B%20!isPillar%26gt%3B%0A%20%26lt%3B%23assign%20call_path%20%3D%20%22%2Fcategories%2Fid%2F%24%7BcoreNode.id%7D%22%20%2F%26gt%3B%0A%20%26lt%3B%23assign%20category_path%20%3D%20%22%2Fcategory-id%2F%24%7BcoreNode.id%7D%22%20%2F%26gt%3B%0A%26lt%3B%23else%26gt%3B%0A%20%26lt%3B%23assign%20call_path%20%3D%20%22%22%20%2F%26gt%3B%0A%20%26lt%3B%23assign%20category_path%20%3D%20%22%22%20%2F%26gt%3B%0A%26lt%3B%2F%23if%26gt%3B%0A%0A%26lt%3B%23assign%20timerange%20%3D%20settings.name.get(%22profile.kudos_user_leaderboard_time%22%2C%20%22all%22)%20%2F%26gt%3B%0A%26lt%3B%23assign%20author_list%20%3D%20rest(call_path%20%2B%20%22%2Fkudos%2Fauthors%2Fleaderboard%3Fmax_age%3D%24%7Btimerange%7D%26amp%3Bpage_size%3D%24%7BmsgCount%7D%26amp%3Bpage%3D1%22).users.user%20%2F%26gt%3B%0A%0A%26lt%3B%40displayComponentTop%20titleKey%3D%22label.top-authors%22%20%2F%26gt%3B%0A%26lt%3B%23if%20author_list%3Fsize%20gt%200%26gt%3B%0A%20%26lt%3Bdiv%20class%3D%22top-authors%22%26gt%3B%0A%20%20%26lt%3B%23list%20author_list%20as%20author_id%26gt%3B%0A%20%20%20%26lt%3B%23assign%20qry%20%3D%20%22SELECT%20id%2C%20login%2C%20view_href%2C%20rank.name%2C%20kudos_received.sum(weight)%20FROM%20users%20WHERE%20id%20%3D%20'%24%7Bauthor_id.id%7D'%22%20%2F%26gt%3B%0A%20%20%20%26lt%3B%23assign%20authors%20%3D%20executeLiQLQuery(qry)%20%2F%26gt%3B%0A%20%20%20%26lt%3B%23if%20authors%3F%3F%20%26amp%3B%26amp%3B%20authors%3Fsize%20gt%200%26gt%3B%0A%20%20%20%20%26lt%3Bdiv%20class%3D%22top-author%22%26gt%3B%0A%20%20%20%20%20%26lt%3Bdiv%20class%3D%22avatar-wrapper%22%26gt%3B%0A%20%20%20%20%20%20%26lt%3B%23assign%20avatarUrl%20%3D%20getAvatarUrl(authors%5B0%5D.id%2C%20%22message%22)%20%2F%26gt%3B%0A%20%20%20%20%20%20%26lt%3Bimg%20src%3D%22%24%7BavatarUrl%7D%22%20alt%3D%22%22%20class%3D%22avatar%22%2F%26gt%3B%0A%20%20%20%20%20%26lt%3B%2Fdiv%26gt%3B%0A%20%20%20%20%20%26lt%3Bdiv%20class%3D%22detail%22%26gt%3B%0A%20%20%20%20%20%20%26lt%3Bdiv%20class%3D%22username%22%26gt%3B%26lt%3Ba%20href%3D%22%24%7Bauthors%5B0%5D.view_href%7D%22%20class%3D%22profile-link%22%26gt%3B%24%7Bauthors%5B0%5D.login%7D%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fdiv%26gt%3B%0A%20%20%20%20%20%20%26lt%3Bdiv%20class%3D%22rankname%22%26gt%3B%24%7Bauthors%5B0%5D.rank.name%7D%26lt%3B%2Fdiv%26gt%3B%0A%20%20%20%20%20%26lt%3B%2Fdiv%26gt%3B%0A%20%20%20%20%20%26lt%3Bdiv%20class%3D%22kudos-received%22%26gt%3B%24%7Bauthors%5B0%5D.kudos_received.sum.weight%7D%26lt%3B%2Fdiv%26gt%3B%0A%20%20%20%20%26lt%3B%2Fdiv%26gt%3B%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%26lt%3B%2F%23if%26gt%3B%0A%20%20%26lt%3B%2F%23list%26gt%3B%0A%20%20%26lt%3B%23--%26lt%3Bdiv%20class%3D%22lia-view-all%22%26gt%3B%26lt%3Ba%20href%3D%22%23%22%20class%3D%22lia-link-navigation%20view-all-link%22%26gt%3B%24%7Btext.format(%22label.view-all%22)%7D%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fdiv%26gt%3B--%26gt%3B%0A%20%26lt%3B%2Fdiv%26gt%3B%0A%20%26lt%3Ba%20href%3D%22%2Ft5%2Fforums%2Fkudosleaderboardpage%24%7Bcategory_path%7D%2Ftimerange%2F%24%7Btimerange%7D%2Fpage%2F1%2Ftab%2Fauthors%22%20class%3D%22lia-link-navigation%20view-all-link%22%26gt%3B%24%7Btext.format(%22label.view-all%22)%7D%26lt%3B%2Fa%26gt%3B%0A%26lt%3B%2F%23if%26gt%3B%0A%26lt%3B%40displayComponentBottom%20%2F%26gt%3B%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485251%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485251%22%20slang%3D%22en-US%22%3E%3CP%3EUnfortunately%2C%20it%20is%20not%20possible.%26nbsp%3B%20It%26nbsp%3Bcan%20only%20scope%20to%20one%20specific%20interaction%20style.%26nbsp%3B%20%26nbsp%3BIt%20is%20useful%20for%20filtering%20out%20ideas%20but%20that%20is%20the%20downside%20currently.%3C%2FP%3E%0A%3CP%3EI%20would%20love%20to%20see%20that%20in%20the%20platform%20and%20I%20don't%20see%20a%20current%20idea%20for%20that%20in%20our%20idea%20exchange.%26nbsp%3B%20I%20highly%20recommend%20submitting%20an%20idea%20for%20that%20in%20our%20Idea%20Exchange!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485250%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485250%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%26nbsp%3B%20%26nbsp%3BGood%20info.%26nbsp%3B%20Can%20you%20scope%20it%20to%20more%20than%20one%20node%20type%3F%26nbsp%3B%20For%20example%20forums%20and%20blogs%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-485248%22%20slang%3D%22en-US%22%3ERe%3A%20Top%20Authors%20being%20overwhelmed%20by%20Idea%20Exchange%20kudos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485248%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20kgroneman%2C%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20admin%20setting%20to%20restrict%20Kudos%20from%20a%20specific%20node%20(such%20as%20an%20idea%20node)%20to%20appear%20in%20the%20top%20level%20Kudos%20Leaderboards.%26nbsp%3B%20What%20you%20can%20do%20is%20take%20a%20look%20at%20the%20XML%20for%20the%20Community%20Page%20and%20scope%20that%20Top%20Kudoed%20Authors%20component%20to%20a%20specific%20interaction%20style.%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20can%20use%20either%20a%20%22slim%22%20or%20%22wide%22%20mode%20and%20you%20can%20set%20the%20interaction%20style%20variable%20to%20any%20discussion%20style.%26nbsp%3B%20%3CSTRONG%3EThe%20possible%20values%3A%3C%2FSTRONG%3E%20forum%2C%20blog%2C%20tkb%2C%20idea%2C%20qanda%2C%20review%2C%20contest%2C%20and%20group.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Valued Contributor
Valued Contributor

Top Authors being overwhelmed by Idea Exchange kudos

I'm wondering if anyone has any idea of how to "fix" this.    On our home page we have a "Top Authors" widget that shows the people that get the most kudos.   However, since we enabled kudos in our Idea Exchanges, the "Top Authors" shown are mostly people that have submited an idea and the idea has a lot of kudos.  :-\    Our # 1 "Top Author" has only posted 1 topic, 0 replies, and has only logged in to our system 6 times.   

Do you have any suggestions on how to block Idea Exchange kudos from being recognized in the Top Poster widget?

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing. ......and I refuse to beg for kudos.
0 Kudos
6 Replies
Lithium Technologies LarryI
Lithium Technologies

Re: Top Authors being overwhelmed by Idea Exchange kudos

Hi kgroneman,

There is no admin setting to restrict Kudos from a specific node (such as an idea node) to appear in the top level Kudos Leaderboards.  What you can do is take a look at the XML for the Community Page and scope that Top Kudoed Authors component to a specific interaction style.

<component id="kudos.widget.authors-leaderboard" mode="wide" interactionStyle="forum" />

You can use either a "slim" or "wide" mode and you can set the interaction style variable to any discussion style.  The possible values: forum, blog, tkb, idea, qanda, review, contest, and group.

Larry Imgrund
Senior Social Solutions Consultant
Lithium Technologies, Inc.
Reply
Loading...
Valued Contributor
Valued Contributor

Re: Top Authors being overwhelmed by Idea Exchange kudos

Thanks.   Good info.  Can you scope it to more than one node type?  For example forums and blogs?

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...
Lithium Technologies LarryI
Lithium Technologies

Re: Top Authors being overwhelmed by Idea Exchange kudos

Unfortunately, it is not possible.  It can only scope to one specific interaction style.   It is useful for filtering out ideas but that is the downside currently.

I would love to see that in the platform and I don't see a current idea for that in our idea exchange.  I highly recommend submitting an idea for that in our Idea Exchange!

Larry Imgrund
Senior Social Solutions Consultant
Lithium Technologies, Inc.
0 Kudos
Reply
Loading...
Valued Contributor
Valued Contributor

Re: Top Authors being overwhelmed by Idea Exchange kudos

Argh.   We're using a custom component for this, written before anyone here became involved.  In looking at this code, is there an obvious way to limit the widget to forums?    If not, I'll have to rethink this widget:

<#include "message-macros" />
<#include "user-macros" />
<#include "pillar-macros" />

<#assign isPillar = isPagePillar() />

<#assign msgCount = 3 />

<#if coreNode.nodeType == "category" && !isPillar>
	<#assign call_path = "/categories/id/${coreNode.id}" />
	<#assign category_path = "/category-id/${coreNode.id}" />
<#else>
	<#assign call_path = "" />
	<#assign category_path = "" />
</#if>

<#assign timerange = settings.name.get("profile.kudos_user_leaderboard_time", "all") />
<#assign author_list = rest(call_path + "/kudos/authors/leaderboard?max_age=${timerange}&page_size=${msgCount}&page=1").users.user />

<@displayComponentTop titleKey="label.top-authors" />
<#if author_list?size gt 0>
	<div class="top-authors">
		<#list author_list as author_id>
			<#assign qry = "SELECT id, login, view_href, rank.name, kudos_received.sum(weight) FROM users WHERE id = '${author_id.id}'" />
			<#assign authors = executeLiQLQuery(qry) />
			<#if authors?? && authors?size gt 0>
				<div class="top-author">
					<div class="avatar-wrapper">
						<#assign avatarUrl = getAvatarUrl(authors[0].id, "message") />
						<img src="${avatarUrl}" alt="" class="avatar"/>
					</div>
					<div class="detail">
						<div class="username"><a href="${authors[0].view_href}" class="profile-link">${authors[0].login}</a></div>
						<div class="rankname">${authors[0].rank.name}</div>
					</div>
					<div class="kudos-received">${authors[0].kudos_received.sum.weight}</div>
				</div>										
			</#if>
		</#list>
		<#--<div class="lia-view-all"><a href="#" class="lia-link-navigation view-all-link">${text.format("label.view-all")}</a></div>-->
	</div>
	<a href="/t5/forums/kudosleaderboardpage${category_path}/timerange/${timerange}/page/1/tab/authors" class="lia-link-navigation view-all-link">${text.format("label.view-all")}</a>
</#if>
<@displayComponentBottom />
--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...
Lithium Technologies MattV
Lithium Technologies

Re: Top Authors being overwhelmed by Idea Exchange kudos

One hacky option could be to increase the number of users you fetch from the API ("msgCount"), then as you're looping through the users, check some metric (i.e. number of posts) and decide if you want to include them on the leaderboard.

Another possible option is in admin you can exclude certain roles from the leaderboards. You could play with that and possibly exclude new users (depending on your current role/rank structure).

Otherwise, there is no way to determine where the kudos came from.

-

Web Engineer

Reply
Loading...
Valued Contributor
Valued Contributor

Re: Top Authors being overwhelmed by Idea Exchange kudos

I wish I were a developer. ......   Thanks for the responses guys.  Now to see what's the best way to deal with it.

--
Community manager in the Micro Focus Community. My computer always used to beat me at chess, but it is no match for me now I changed the competition to kick boxing. ......and I refuse to beg for kudos.
0 Kudos
Reply
Loading...