Hello all,
As phpBB is moving profile fields to custom fields I think it will be nice if we do the user search allow searching/filtering users per custom profile fields.
This will require new option in ACP when defining the custom field (example Searchable - > yes/no), this means new field in DB schema.
Other requirements are changing the user search/filter part of the members.php.
This will allow easier filtering of users, not only by the defined now fields.
Regards.
Refactoring user search to allow search/filter by custom fields
Re: Refactoring user search to allow search/filter by custom fields
Huge +1 for obvious reasons - as far as I remember, dev team already plans to make all profile fields custom, and at least for contact fields search is really a welcome addition.
Re: Refactoring user search to allow search/filter by custom fields
Basic stuff is good - you can filter by custom field data ... now I'm working on the search/filter form ... I think I'll have some working basics to tomorrow.
Just a question for devs - where should I add changes to the DB?
Migration?
Just a question for devs - where should I add changes to the DB?
Migration?
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: Refactoring user search to allow search/filter by custom fields
It would be migrations, however this should not be an option. If the field is displayed, it should be searchable and sortable
Member of the Development-Team — No Support via PM
Re: Refactoring user search to allow search/filter by custom fields
That is even better. Then I will have a PR in a day or two.
For the development purposes I use the display in memberlist.
Is this good?
For the development purposes I use the display in memberlist.
Is this good?
Re: Refactoring user search to allow search/filter by custom fields
Seems right to me.Lucifer4o wrote:That is even better. Then I will have a PR in a day or two.
For the development purposes I use the display in memberlist.
Is this good?
Re: Refactoring user search to allow search/filter by custom fields
I seem to be at an impasse ...
Should I include the boolean fields ... and if yes ... how to stop them from doing logical damage ...
And one more thing - should the URL be searchable?
Should I include the boolean fields ... and if yes ... how to stop them from doing logical damage ...
And one more thing - should the URL be searchable?
Re: Refactoring user search to allow search/filter by custom fields
First PR sent ... it has some more work to be done ...
Just wanted to use TRAVIS because it works locally.
I still have to make it work with dates ...
Just wanted to use TRAVIS because it works locally.
I still have to make it work with dates ...
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: Refactoring user search to allow search/filter by custom fields
This is really good news!
@ Lucifer4o - Thanks for working on it
@ Lucifer4o - Thanks for working on it
Re: Refactoring user search to allow search/filter by custom fields
MEH ... no problem. This is something I need, but I am glad that it will be useful for all of you.