Forum Discussion
VarunGrazitti
Boss
bhupen - you need to add following script to your header:
<@liaAddScript> (function( $ ) { $(document).ready(function(){ $(".thread-list .lia-list-row .messageAuthorColumn").each(function(){ var getRole = $(this).find('.lia-user-rank-icon-left').attr('title'); if(getRole == "PlayStation MVP" || getRole =="Administrator"){ $(this).find('.lia-user-rank-icon-left').show(); }else { $(this).find('.lia-user-rank-icon-left').hide(); } }); }); })(LITHIUM.jQuery); </@liaAddScript>
bhupen
11 years agoAdvisor
VarunGrazitti thanks mate for help. I Can see now no icon are visible in front end but the issue is now I can't see the icon on "Administrator" and "Digital platform" role as well. Can you please suggest me the exact steps to put the code on right area to make it working. Please see the above trail I followed to put the code. Some how icon are not showing in front end but I can't see in desired role as well.
Please suggest me the right steps to accomplish it.
Really help is appreciated.
Thnaks
Related Content
- 10 months ago
- 11 months ago
- 2 years ago