Hi!
Is it possible to hide sidebar content (e.g. leaderboard and badges) from non-logged in users (guest)? I couldn’t find any “Permissions” option for these.
I’d want that the sidebar content is visible only for logged-in users.
Hi!
Is it possible to hide sidebar content (e.g. leaderboard and badges) from non-logged in users (guest)? I couldn’t find any “Permissions” option for these.
I’d want that the sidebar content is visible only for logged-in users.
Best answer by olimarrio
Hi
There aren’t permissions for the visibility of these widgets. However, it is possible using the inSidedDataObject:
For instance if you applied some styling to the leaderboard widget so that it doesn’t display by default, you could add some code in Control → Customization → Third-Party Scripts such as:
<script>
if (inSidedData.user.role != ''roles.guest'') {
// Make the widget visible
$(''.qa-widget-leaderboard_points'').removeClass().removeAttr(''style'');
}
</script>
This would make the widget visible only if the primary role of a user is not a guest.
If you need any help with this please let support@insided.com know and we’ll be happy to help.
Thanks!
'If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.