SG
New Member
Posts: 15
inherit
157504
0
May 18, 2021 11:56:19 GMT -8
SG
15
August 2010
wyrdfayth
|
Post by SG on May 14, 2021 14:09:23 GMT -8
Is there a way to override the 50 member limit per page on the Members page and show the full list at once? I was trying to make a plugin that would read the list to do a thing but since it can only read the current page and AJAX/etc can't be used to view multiple pages at once, it isn't useful right now, but it would work like a dream if I could see all members at once.
I realize it might get unwieldy for some large forums, but I think it's safe to assume most would be okay, especially if also using Peter's Archive Member plugin with a display:none; bit added for archived members, so yeh. ;w;
pb.data("search-query-max", 1000); seems to do something? Reducing the pagination to only show one page, but not increasing the number of entries on the page. (If I then sort entries in any way, pagination returns.)
pb.data("lm_limit", 1000); or pb.data("lm_limit", "1000"); (on different page loads I've seen lm_limit with and without quotes around the number so I tried both ways) seem like they should be what's needed but don't seem to be doing anything so? -squint-
Anyone know how to do this?
Edit: Okay, so loading all members on one page isn't possible. Is there another way to access the group info of all users at once?
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on May 14, 2021 19:14:25 GMT -8
Is there a way to override the 50 member limit per page on the Members page and show the full list at once? Sorry, that's not possible. The 50 member limit on the Member List is hard-coded in the ProBoards software. Information source: support.proboards.com/post/7151667/thread
|
|
SG
New Member
Posts: 15
inherit
157504
0
May 18, 2021 11:56:19 GMT -8
SG
15
August 2010
wyrdfayth
|
Post by SG on May 14, 2021 19:38:54 GMT -8
Ah, that's unfortunate. Now I'm not sure how to try to approach this... Anyone have any idea if it's possible to get the group(s, either all of them or just the primary displayed one) for all members at once?
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 15, 2021 9:29:51 GMT -8
I don't think this is possible; I presume you're wanting to show like, group statistics / membership, and unfortunately there are several limitations to this software-side. This would likely be better off as a feature request.
Plugins at the end of the day still rely on the information being available to them, and the information you're looking for (ie all member group data) is, as far as I know, only available in the admin panel which isn't editable or accessible to plugin manipulation or on the "manage group" pages.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on May 17, 2021 5:02:59 GMT -8
Just to note: plugins can get the group ID's of every group a member is in via pb.data('user').group_ids, but the user must be logged in for the plugin to get that. This would definitely take, at least, 1 super key - and the data would have to populate over time, as each user logged in. There are problems here, though. I can see using 1 super key (forum), but that kind of key is a "global forum" key - meaning all members are writing to the key. This has the potential of having stale and/or corrupted data written to the key, making it inaccurate. For displaying all of that, one would probably need to set up a custom page for it to display on (since plugins can't submit posts).
Just my $0.02
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Jul 1, 2021 1:34:39 GMT -8
Ah, that's unfortunate. Now I'm not sure how to try to approach this... Anyone have any idea if it's possible to get the group(s, either all of them or just the primary displayed one) for all members at once? This is actually possible. Go to the member page. Then cycle through all of the members with the next button. That should load all of the user data on the same page. Including certain key data. Don't remember if that includes all group ids. Either way, I made a plugin: support.proboards.com/thread/550160/That would read user key data off the members page so I could look at everyone. They told me Im not allowed to automate the next button on the members page. But if you do it manually every time or do it occasionally and save that to a forum key you could bring that info to your plugin.
|
|