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.

private area for downloadable files

June 27, 2011 1:10pm

Subscribe [2]
  • #1 / Jun 27, 2011 1:10pm

    Luca Chiesa

    3 posts

    Hi, i’m trying to figure out a way to create a private area containing files for a small number of my members.

    Basically, I want to add an user email via CP, in order to build a database of “allowed email addresses”. Then, clients could login via frontend using those emails (no passwords).

    It’s a very easy task to accomplish a similar task using member module but i need something easier: without members (just a list of emails) and without passwords.

    Any ideas? Thanks in advance 😊

  • #2 / Jun 27, 2011 2:20pm

    lebisol

    2234 posts

    That is not very secure but definitely doable.
    Since you don’t want to use ‘member’ module then just use simple channel and then do an exact search for the custom field or just ‘title’ if you enter their emails in title.
    Make sure that entries are with status ‘closed’ so they don’t get published accidentally.
    eg.

    {exp:search:simple_form status="closed" search_in="entries" where="exact" results="1" no_result_page="search/no-access"}

    http://ellislab.com/expressionengine/user-guide/modules/search/simple.html#field_exact_match

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

ExpressionEngine News!

#eecms, #events, #releases