Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Apfelstrudel Posted December 7, 2016 Posted December 7, 2016 Hi, how can I restrict the access to the leaderboard? I don't want guests to access it. How can I enable the leaderboard only for specific user groups? I didn't find any setting in user groups.
Daniel F Posted December 7, 2016 Posted December 7, 2016 You can set access permissions via the modules permissions https://invisionpower.com/4guides/how-to-use-ips-community-suite/member-preferences-and-features/module-level-permissions-r280/
Apfelstrudel Posted December 7, 2016 Author Posted December 7, 2016 Really? I didn't find a setting regarding the leaderboard.
Daniel F Posted December 7, 2016 Posted December 7, 2016 1 minute ago, Apfelstrudel said: Really? I didn't find a setting regarding the leaderboard. Sorry, I was wrong It is tied to the Content Discovery Module.
Marius Posted December 7, 2016 Posted December 7, 2016 And that means we can not restrict visitor access to leaderboard?
Apfelstrudel Posted December 8, 2016 Author Posted December 8, 2016 It looks like that we can not restrict. Yes Marius. ? I don't know how to optimize and test the leaderboard as an admin without giving guest access. Yes I can hide the menu item. But that's not really a restriction. I have to test the performance first. We have a huge amount of posts starting 15 years ago. That's a long "all time" query. ? ips, please add something to restrict access to this area!
Adriano Faria Posted December 8, 2016 Posted December 8, 2016 Content Discovery is the activity streams and search, right? So you want guests to search but not to use Leaderboard?
Apfelstrudel Posted December 8, 2016 Author Posted December 8, 2016 Yes, it is. So you can only enable/disable both.
Adriano Faria Posted December 8, 2016 Posted December 8, 2016 I'll try a quick plugin within an hour.
Adriano Faria Posted December 8, 2016 Posted December 8, 2016 Haven't tested it well. Please, see if guests can still search, etc.: Leaderboard Access Permisison.xml
Apfelstrudel Posted December 8, 2016 Author Posted December 8, 2016 Thanks but guests still have access to the leaderboard. --- Update: Sorry, didn't see the screenshots before. ... checking it again.
Adriano Faria Posted December 8, 2016 Posted December 8, 2016 Guests use a cache accross the suite so it can take a few seconds to "start" working.
Meddysong Posted December 8, 2016 Posted December 8, 2016 32 minutes ago, Adriano Faria said: I'll try a quick plugin within an hour. You weren't joking! 20 minutes!
Apfelstrudel Posted December 8, 2016 Author Posted December 8, 2016 Works great @Adriano Faria. Thanks!
Adriano Faria Posted December 8, 2016 Posted December 8, 2016 Ok, just submitted it to the marketplace: https://invisionpower.com/files/file/8403-leaderboard-access-permisison/
Apfelstrudel Posted December 12, 2016 Author Posted December 12, 2016 Hello @Adriano Faria, your plugin works perfectly. Thanks again. But could you please change the permission management away from a rewoke system to an allowed system, like the standard ipb permission system? Otherwise it is almost impossible to grant leaderboard access only to specific groups, especially when they are part of secondary usergroups. This would be great!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.