ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Searchable user profiles

May 12, 2011 11:18am

Subscribe [4]
  • #1 / May 12, 2011 11:18am

    Nicolas Landry

    6 posts

    Hello people,

    I would need a bit of help with my user profiles.

    I want to build a search engine that my members can use to find other members, according to certain criteria (name, city…).

    There’s two things i need:

    a) a simple user profile, with custom fields
    I don’t need all the tabs in the current profile page, it will scare my members away. Just my custom fields, and the ability to change passwords. Styled like the rest of my website.

    b) a search page that allows semi-complex searches, with more than one criteria at the same time. Some things like cities, for example, would need to be in a dropdown.

    Right now I see two ways to do this, maybe you would know which one is the best (or suggest an another one):

    1. Use the built-in member module, re-style the member profile page (from what I gather, quite the challenge for a designer like me), and then use the query module to search the user database (disclaimer: I could not write a query if my life depended on it).

    2. Use Solspace’s User. Since it uses regular templates, I can build a simple SAEF to display/modify profiles. And from what I understand, search capability is built-in.

    So that’s it. Any input would be greatly appreciated.

    Cheers - Nicolas.

  • #2 / May 13, 2011 4:59am

    John Henry Donovan

    12339 posts

    Nicolas,

    Re-styling the native ember profile pages would present no less a challenge that building all the relevant member templates via the User Module IMO. The Agile theme that comes with EE has a nice example of a styled member page. Take a look in themes/profile_themes/agile_records

    I can’t say for sure if User Add-on has search capability or not.
    EE has a memberlist though with search filters at the bottom of it. See our own memberlist here. Was that the lind of search you were after?

  • #3 / May 13, 2011 11:42am

    Nicolas Landry

    6 posts

    Hey John,

    Thanks for your reply. I’ll try to style the native member profile page.

    And you’re right, your member list is similar to what I would like to achieve.

    Is there any documentation that could help me integrate search fields and sorting options?

    Thanks - Nicolas.

  • #4 / May 13, 2011 5:49pm

    Brandon Jones

    5500 posts

    Hi Nicolas,

    The features that you see in our own Member List are built-in; you’ll have them too. Is that what you’re referring to?

  • #5 / May 13, 2011 6:05pm

    Nicolas Landry

    6 posts

    Hi Brandon,

    What i’m going for is a simple page with a form where members can type in a name, and/or select a city from a drop down, and then search the member list.

    I guess that can be accomplished with a bit of tweaking - i’ll give it a try.

    Thanks for your reply.

    Nicolas.

  • #6 / May 15, 2011 10:08am

    Greg Salt

    3988 posts

    Hi Nicolas,

    Excellent. Don’t forget that you can post in the Community Help forum if you want help with specific coding or architecture ideas. Good luck!

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases