Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
MSUKForum Posted December 7, 2018 Posted December 7, 2018 How can I see more than 4 members here? https://invisioncommunity.com/leaderboard/ or see a full list of people in a certain period? For example if I see everyone in the month of November: https://invisioncommunity.com/leaderboard/?custom_date_start=1541030400&custom_date_end=1543622399 It's still only limited to 4? I'm wanting to run a competition so a bigger leaderboard would make it more competitive and see your standing.
opentype Posted December 7, 2018 Posted December 7, 2018 You can use the Popular Contributors widget. There you are free to set the amount of users shown.
MSUKForum Posted December 10, 2018 Author Posted December 10, 2018 Thank-you but when I increase it above 4, it lets me but doesn't actually show any more? It would be nice to have its own page for this, not just the widget.
Adriano Faria Posted December 10, 2018 Posted December 10, 2018 On 12/7/2018 at 6:43 AM, jpointer2_merged said: How can I see more than 4 members here? https://invisioncommunity.com/leaderboard/ You have to edit a file. Open applications/core/modules/front/discover.php and find: foreach( \IPS\Db::i()->select( 'member, rep', array( $innerQuery, 'in' ), NULL, 'rep DESC', 4 )->setKeyField('member')->setValueField('rep') as $member => $rep ) { $topContributors[ $member ] = $rep; } Change the 4 for the number you want. Totally untested!
opentype Posted December 11, 2018 Posted December 11, 2018 7 hours ago, jpointer2_merged said: Thank-you but when I increase it above 4, it lets me but doesn't actually show any more? Do you have enough activity for more entries? I tested it and I can easily show more than 4 entries. 7 hours ago, jpointer2_merged said: It would be nice to have its own page for this, not just the widget. If you have Pages, you can put that widget full screen on a blank page.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.