ContributionsMost RecentMost LikesSolutionsRe: Show Rank icon VarunGrazitti the answer you shared was preety close to my request but when I compiled it then it was just fetching same icon for all users. After some edition I corrected it and marked mine solution because I don't want some one else will see the error in code. As I appreciated your help already. big thanks to you :) Re: Show Rank icon VarunGrazittithanks for your assitence over this discussion also your suggestion helped me as well. Following is the snippet which works perfectly as per my requirement. <#assign messages = rest("2.0","/search?q=" + "SELECT * FROM messages WHERE author.id='${user.id}' ORDER BY post_time DESC LIMIT 5"?url) /> <#list messages.data.items as recent > <#assign ranking= restadmin("/users/id/${recent.author.id}/ranking/display/left_image/url").value > <#if recent?has_content> <p><a href="${recent.view_href}">${recent.subject}</a></p> <p><img src="${ranking}" /> ${recent.author.login}</p> </#if> </#list> Note: Iam just putting it here for other help. Re: Show Rank icon VarunGrazittiI think there is some confusion with it. as I passed the user.id for the user that should work fine. If i am hitting the following rest: restapi/vc/users/id/149/ranking its working fine at browser so it should work. See the last snapshot its the result after hiting above rest call also this is the same user who is author of the post. If you think there should be some other change please suggest me Thanks Re: Show Rank icon VarunGrazittiits not showing error but its displaying wrong rank icon. using this code its showing following But Correct rank icon for the user is following: . Please see the following xml where actual icon is coming. Its coming under left_image >url. iam not sure whether it will come in right_image or url... Re: Show Rank icon VarunGrazittiI want rank icon should be display as per rank. But at the moment iam only able to fetch left_image at all posts. although I have setup the code for right image as well but somehow its not getting right_image. following is the code, can you suggest me whats wrong iam doing in it. I have called both images and also called both images: <#assign messages = rest("2.0","/search?q=" + "SELECT subject, view_href, post_time_friendly,author.login, board.id, author.id FROM messages WHERE author.id IN (${whereclause}) ORDER BY post_time DESC LIMIT 5"?url) /> <#assign ranking= restadmin("/users/id/${user.id}/ranking/display/left_image/url").value > <#assign rank_right = restadmin("/users/id/${user.id}/ranking/display/right_image/url").value> <#if messages.data.size > 0> <#list messages.data.items as recent > <#if recent?has_content> <p class="fav_user_sub"><a href="${recent.view_href}">${recent.subject}</a></p> <span class="fav_user_login"> <#if ranking?has_content > <img width="40" height="40" src="${ranking}" /> </#if> <#if rank_right?has_content > <img width="22" height="22" src="${rank_right}" /> </#if> ${recent.author.login} </span> </#if> </#list> </#if> Note:highlighted code is for rank Re: Show Rank icon VarunGrazittiI found some issue with that. Actually its only taking left_image for rank. I see threre is some other image for some user so they are using right_image as well. following is the xml after hitting the rest call.: <response status="success"> <ranking type="ranking" href="/rankings/id/61"> <display> <bold type="boolean">false</bold> <color type="string" null="true"/> <left_image type="image" href="/rankings/id/61image"> <width type="integer" null="true"/> <height type="integer" null="true"/> <url type="string"> /html/rank_icons/EXPLORER3.png </url> </left_image> <right_image type="image" null="true"/> <thread_image type="image" null="true"/> </display> <name type="string">I Only Post Everything</name> <id type="int">61</id> </ranking> </response> Is there any way we can call correct rank image for users? Re: Show Rank icon VarunGrazittithanks for this. But its giving me null pointer exception. Following is the exception: If iam putting check for null pointer{author.id} records stopped showing up. Show Rank icon Hi All, I made a custom call for latest post but now I need to show rank icon infront of author name. Following is the snippet I have used for post: <#assign messages = rest("2.0","/search?q=" + "SELECT * FROM messages WHERE author.id='${user.id}' ORDER BY post_time DESC LIMIT 5"?url) /> <#assign ranking= restadmin("/users/id/${author.id}/ranking")> /* rest call for rank*/ <#list messages.data.items as recent > <#if recent?has_content> <p><a href="${recent.view_href}">${recent.subject}</a></p> <p>${ranking.left_image}</p> </#if> </#list> Following is the example for rank icon: Above code is working fine for post, only rank icon need to display. SolvedRe: Error on notification when increasing 1000+ got solution: Solution Re: Notification executing twice. Hi guys, I found fix for this. Sharing it with you, in case you will face such kind issue. There was a default navigaton called on header navigation. I was just checking on community header instead of header section. Now I removed it and used custom notification I made. <component id="common.widget.user-navigation"/> Silly Mistake :)