Start ::
Community ::
Feedback & Suggestions ::
BETTER search user function with filter list in members_list module
Moderated by: Support Team
-
- rank:
-
pnSoftmore
- registered:
- October 2007
- Status:
- offline
- last visit:
- 26.04.08
- Posts:
- 53
Hi, I've already put this in PN feature requests and in another forum but nearly no one respond, so, I try to put here with hope
, that someone responds... what do you think about it? ->
---------
I'm looking for a better search user function, so, as I already put in http://noc.post...d=5&atid=104. For those of us, who wants to create a big community (social networking) sites is this the one of first needed function - not only searching users by URL, name or real name, as it's already in Members List module (who will find someone by his URL?
)
It should be like when admin create new property label called (for example) COUNTRY, then you can find user by COUNTRY or filter this country in Member List module and you should get all the members with this country. Simple and easy.
Something like this is already in Admin->user->search user, but this search function is only for admins and you can search users only by a few defaults property labels, not every new ones which admin create.
I think it should not be so hard to implemented this to Search and Member List module but it's over my skills unfortuately
-----------
thanks,
Martin -
- rank:
-
pnProfessional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 11.05.08
- Posts:
- 745
I think those are great ideas. And I would like to have these features, too. Now we only have to find someone to implent them
-----
best regards from Kiel, sailing city
Steffen Voß
Member of the PostNuke Steering Committee
Visit: Kaffeeringe.de - Internet & Kreativität -
- rank:
-
pnHelper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 12.05.08
- Posts:
- 238
Doesn't seem like that much work if I look in the code.
Just to be sure. You mean that you can search like in Users->Admin->Search Users but then with a dynamic list like it is being set in the Account Panel properties list? So the properties you have available in the Profile.
There is an API function in the Profile module that gets the active properties. This should be used to present you with a dynamic list based on the active properties in the Members list search. You want to search for multiple properties at the same time i guess?
edited by: espaan, Mar 02, 2008 - 05:48 PM -
- rank:
-
pnHelper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 12.05.08
- Posts:
- 238
Hi,
been digging a little deeper in the code. It is not that easy as I initially thought
Currently the userapi of members_list only supports searching for one item at a time. That's ok if you use a radiobutton to select what your searching for, but not for serveral items at once.
It is possible off course, but not all that easy as far as I can see now. -
- rank:
-
pnSoftmore
- registered:
- October 2007
- Status:
- offline
- last visit:
- 26.04.08
- Posts:
- 53
espaan - ok, anyway thanks for your work.
Hope someone will implement this, as I think this is really useful feature for many PN users (if not for all)
edited by: mdee24, Mar 03, 2008 - 05:42 PM -
- rank:
-
pnFreshman
- registered:
- December 2006
- Status:
- offline
- last visit:
- 09.05.08
- Posts:
- 14
Hi all,
I have add new function similar to Members_List_userapi_getall the name is
Members_List_userapi_search.
In templates any field we want show for search look like this:
At the end we have two tables... then we are putting them together and filtering empty ones... after that we are building SQL...
demo
I have left echo $SQL
http://www.mojecoventry.pl/index.php?module=Members_List&func=search
(~1000 users not many have their fields filled because I create them recently)
The biggest plus of that way is that you can in easy way add new search field based on above example...
For now there is only on way to look for value using LIKE '%value%'...
I have no idea how much it will load database
I will post that Members_List to download but first I want to make more changes because more things is loading too long... blocks for example.
Say what you think about it :D
edited by: Kaik, May 10, 2008 - 02:37 PM
-----
rgfdgafgaf
Start ::
Community ::
Feedback & Suggestions ::
BETTER search user function with filter list in members_list module
