Remove pagination from Member List

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
LoRoller
Registered User
Posts: 13
Joined: Wed Jun 13, 2018 10:34 pm

Remove pagination from Member List

Post by LoRoller » Wed Jun 20, 2018 11:50 pm

I would like to be able to use a Ctrl-F (browser page search) on the Member List. The list paginates forcing multiple searches. I don't know if pagination is some common routine or is embedded in the Member List html? I'm not an html expert. Any help appreciated.

User avatar
Lumpy Burgertushie
Registered User
Posts: 65174
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Remove pagination from Member List

Post by Lumpy Burgertushie » Thu Jun 21, 2018 12:52 am

the browser's ctrl+f method can only search the actual code of the visible page. it can not search through the pagination.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

LoRoller
Registered User
Posts: 13
Joined: Wed Jun 13, 2018 10:34 pm

Re: Remove pagination from Member List

Post by LoRoller » Thu Jun 21, 2018 12:58 am

That's my point.... I want to remove the pagination so the entire list is a single page, which would then be searchable via Ctrl-F

User avatar
Toxyy
Registered User
Posts: 537
Joined: Mon Oct 24, 2016 3:22 pm
Contact:

Re: Remove pagination from Member List

Post by Toxyy » Thu Jun 21, 2018 1:01 am

You might be able to change the guest_counter int in core.viewonline_modify_sql.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

User avatar
3Di
Registered User
Posts: 12978
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Remove pagination from Member List

Post by 3Di » Thu Jun 21, 2018 1:10 am

Toxyy wrote:
Thu Jun 21, 2018 1:01 am
You might be able to change the guest_counter int in core.viewonline_modify_sql.
Ern..,
the pagination of memberlist.php ( memberlist.php ) and it's limit (sql limit)
$result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);

it's based on the ACP settings, topics per page. Stored in config TABLE.
$config['topics_per_page']

$start = $pagination->validate_start($start, $config['topics_per_page'], $total_users);

The higher is that number the less are the pages of the pagination, or nothing at all. (That's board-wide though).

That's a huge server load, for example here in this very board. ---> 449145 users/19766 pages in pagination.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Toxyy
Registered User
Posts: 537
Joined: Mon Oct 24, 2016 3:22 pm
Contact:

Re: Remove pagination from Member List

Post by Toxyy » Thu Jun 21, 2018 3:00 am

3Di wrote:
Thu Jun 21, 2018 1:10 am
Toxyy wrote:
Thu Jun 21, 2018 1:01 am
You might be able to change the guest_counter int in core.viewonline_modify_sql.
Ern..,
You're right, crap :lol:
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

LoRoller
Registered User
Posts: 13
Joined: Wed Jun 13, 2018 10:34 pm

Re: Remove pagination from Member List

Post by LoRoller » Thu Jun 21, 2018 3:05 am

Certainly wouldn't want to affect the display of forums.

The memberlist is a an oddball report because the number of rows per member can vary by the addition of displayed custom profile fields.

In memberlist.php there are a number of pagination references. I was hoping that I could stop the incrementation of a row counter or fake the number of rows to keep it from doing the pagination. Or perhaps "topics_per_page" could be hard-coded in this one php script to replace where it is brought in from the parameters.

User avatar
Toxyy
Registered User
Posts: 537
Joined: Mon Oct 24, 2016 3:22 pm
Contact:

Re: Remove pagination from Member List

Post by Toxyy » Thu Jun 21, 2018 3:10 am

You could hardcode it in memberlist.php like 3Di showed but editing core files is not recommended.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

User avatar
3Di
Registered User
Posts: 12978
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Remove pagination from Member List

Post by 3Di » Thu Jun 21, 2018 3:13 am

You might try to replace the $config['topics_per_page']'s occurencies with the magic (int) number of the total of your users (using the related query maybe :) ). Not tested.

Also, posting your question in the "custom coding" forum would be your best bet, IMO.
That's support's forum.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
david63
Jr. Extension Validator
Posts: 14893
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Remove pagination from Member List

Post by david63 » Thu Jun 21, 2018 6:09 am

3Di wrote:
Thu Jun 21, 2018 3:13 am
You might try to replace the $config['topics_per_page']'s occurencies with the magic (int) number of the total of your users (using the related query maybe :) ).
Or even easier define $config['topics_per_page'] = 9999; in memberlist.php
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
3Di
Registered User
Posts: 12978
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Remove pagination from Member List

Post by 3Di » Thu Jun 21, 2018 6:13 am

david63 wrote:
Thu Jun 21, 2018 6:09 am
3Di wrote:
Thu Jun 21, 2018 3:13 am
You might try to replace the $config['topics_per_page']'s occurencies with the magic (int) number of the total of your users (using the related query maybe :) ).
Or even easier define $config['topics_per_page'] = 9999; in memberlist.php
Yeah, didn't test it as I said. On the fly.

I'd go for to make it more "dynamic" though, leaving the query find and define how many "current users" are on-board. ;)

Let's say changing the "sql_query_limit" to begin with, maybe?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
david63
Jr. Extension Validator
Posts: 14893
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Remove pagination from Member List

Post by david63 » Thu Jun 21, 2018 6:26 am

OK - then use $config['topics_per_page'] = $config['num_users'];
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
3Di
Registered User
Posts: 12978
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Remove pagination from Member List

Post by 3Di » Thu Jun 21, 2018 6:35 am

david63 wrote:
Thu Jun 21, 2018 6:26 am
OK - then use $config['topics_per_page'] = $config['num_users'];
Good catch. :)

Still a piece of hack(ish) stuff though, I hope you'll agree isn't our fault.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
AmigoJack
Registered User
Posts: 5348
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Remove pagination from Member List

Post by AmigoJack » Thu Jun 21, 2018 7:42 am

Why not using the memberlist's search, which is superior to CTRL+F for administrators when searching for e-mail addresses?
The worst thing about censorship is ███████████

User avatar
3Di
Registered User
Posts: 12978
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Remove pagination from Member List

Post by 3Di » Thu Jun 21, 2018 7:48 am

AmigoJack wrote:
Thu Jun 21, 2018 7:42 am
Why not using the memberlist's search, which is superior to CTRL+F for administrators when searching for e-mail addresses?
Das ist wirklich :lol:

But you know..
I still cannot understand why I have followed this request, which I find in my very personal opinion rather strange.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: Emma121, Google [Bot], Lumpy Burgertushie and 52 guests