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.

Member list help

June 10, 2011 4:04pm

Subscribe [1]
  • #1 / Jun 10, 2011 4:04pm

    Nicolas Landry

    6 posts

    Hello people,

    I need a bit of help with my member list.

    I was provided with a list of 300+ members that needs to be imported into EE. Every member has a bunch of info, so i’ll create custom fields.

    That’s where the fun starts. The Excel file I was given lists every member with multiple addresses as separate rows, so I’ve got duplicate members, and emails, which messes up the import process.

    So plan B would be to reformat the Excel file, so that each row has address1, zipcode1, address2, zipcode2…

    It sure makes a lot of sense from a database design point of view, but when I call my custom fields in the search dropdown included with the member list template, I end up with Zip Code 1 and Zip Code 2 as search options, which is obvisouly confusing.

    I need to be able to search multiple database fields for zip codes at the same time.

    So… i’m stuck. Any suggestion would be greatly appreciated.

    Cheers - Nicolas.

  • #2 / Jun 10, 2011 7:40pm

    Nicolas Landry

    6 posts

    Still trying to figure this out… what if I use the query module inside a regular template to build my own search function?

    I have no SQL experience whatsoever… can anyone direct me to a resource that could guide me towards coding a simple search field?

    This here below returns results, but I would need a way to input a search term.

    Thanks in advance.

    ————

    {exp:query sql="SELECT screen_name FROM exp_members WHERE screen_name = 'Search Term' "}
    {screen_name}
    {/exp:query}

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

ExpressionEngine News!

#eecms, #events, #releases