Member Search

Member Search 2.2

No permission to download
Andy, are you sanitizing the input text on this? Searching for a member name like D'Addario throws an error because the apostrophe is being passed into the search query as is.
Code:
  ["_POST"] => array(7) {
    ["username"] => string(9) "D'Addario"
    ["location"] => string(0) ""
    ["homepage"] => string(0) ""
    ["field1"] => string(0) ""
    ["field2"] => string(0) ""
    ["field3"] => string(0) ""
    ["_xfToken"] => string(8) "********"
 
Hi @AndyB,
I am trying to add a new column to display a button to contact user.
In template andy_membersearch_result i added :
Code:
<td><a href="{xen:link conversations/add, '', 'to={$user.username}'}" class="callToAction"><span>Contacter</span></a></td>
But the link to the button only returns :
/forums/conversations/add
instead of :
/forums/conversation/add?to=user_name
What am i doing wrong ?
Thanks
 
member search.webp Hi, Andy, I'm really grateful for this Addon! Attached is a search result page of my dreams and it also allows custom display by "grid view" or as a horizontal list. With this kind of results layout, we wouldn't be restricted to a flat horizontal list. Can this be implemented? I'm hoping to add a slight "dating feature" to my search and this would be ideal.

As a simpler request, perhaps you can let us know how to add more custom user fields if we can style the results to get added to the next row? I've tried changing the code, but to no avail since I"m not a programmer.
Thanks!
 
@AndyB thanks for the nice add-on!

Thanks @AndyB for this nice addon.
I have setup a Drop down selection custom field, but when searching members it shows as a text field, any idea how to fix this?

@AndyB

Could you make it possible to search by dropdown fields and such as well? As per @sami simo's suggestion?
I'm also interested in having dropdown fields appear in the search.

Also, when using a custom user field with options, the search results currently display the value, not the text.
45490abc8abb1acc03b8df3ce3a8a374.png
 
Last edited:
Hey Andy, love this!

Was looking for it when trying to find a way to search by location, couldn't believe it wasn't an option in the ACP user search.

One issue, it doesn't seem to be returning the properly labelled values for one of my Multiple-choice drop down selection field types.

Is that a bug? Or is it possible to update it so that works too please? I wouldn't mind donating to add this feature :)

upload_2016-10-14_17-22-58.webp
 
Hi Andy, any chance you could add a "last seen" column? Or have the member card popup instead of going to the profile page when clicking on the username? Reason I ask for the "last seen" column is when members post a thread asking for advice from someone in their local area and the search brings up a list of 100+ members, it's quite a job clicking through to each member just to see when they were last online, as members that have not been online for a year or so would be no help, so it would be nice to see when someone was recently online as they could then be tagged to offer advice/help. Thanks.
 
AndyB updated Member Search with a new update entry:

Member Search v2.1 changes:

Added Last Activity column to results page.

@AndyB Do you think a results sort setting using last active would be possible, e.g. if limiting to 100 results show the 100 last active users? :)

Maybe an admin option with two radio buttons, or if not like your RSVP addon where it has a "Sort Order" text box (name or last active/active time).

I've set the limit to 250 but in one case (with just one search criteria set) this only shows users with names A - D.
 
Back
Top Bottom