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.

LG SAEF Member stuff disappeared...

August 26, 2008 9:44pm

Subscribe [3]
  • #1 / Aug 26, 2008 9:44pm

    Doy

    38 posts

    I’m using LG SAEF, and have been to the forum where people have experienced similar things.

    But even with the latest version, all of my member pages are gone (such as member/login, member/register, etc.) when I’m logged out of EE. When I’m logged in, I get the message that I’m logged in. I’ve reinstalled the plugin, set the auto update to no (and the maximum check time to 0).

    The forms work, but a visitor won’t be able to register the way it is now…

    Any ideas?

    Here’s some code…

    {exp:member:login_form return="site/list_event"}
            {if logged_out}
            If you're already registered with LiveInRichmondHill.com, login below.
    
            <label>Username</label>
            <input type="text" name="username" value="" maxlength="32" class="input" size="25" /></p>
    
            <label>Password</label>
            <input type="password" name="password" value="" maxlength="32" class="input" size="25" /></p>
    
            {if auto_login}
            <input class='checkbox' type='checkbox' name='auto_login' value='1' /> Auto-login on future visits
            {/if}
    
            <input type="submit" name="submit" value="Submit" /></p>
    
            <a href="http://{path=member/forgot_password}">Forgot your password?</a>
            {/if}
    
            {/exp:member:login_form}
            
    {exp:weblog:entry_form weblog="events" return="/events/index/" preview="/events/detail/" status="Pending" lg_saef_file_upload = "y" lg_saef_file_upload_dir_id = "2" show_fields="not event_photo|event_download"}
    
    {preview}
    <h1>{title}</h1>
    
    {display_custom_fields}
    {/preview}
    
    <label>Title</label>
    <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
    
    <label>URL Title</label>
    <input type="text" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" /></p>
    
    <label>Event Photo (if applicable):</label> 
    <input type="file" name="field_id_34" value="" /></p>
    
    <label>Event File Attachment (a file to let a user download):</label> 
    <input type="file" name="field_id_26" value="" /></p>
    
    {custom_fields}
    
    {if required}* {/if}
    <label>{field_label}</label>
    {field_instructions}
    {if textarea}
    <textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="50" rows="{rows}">{field_data}</textarea></p>
    {/if}
    
    {if textinput}
    <input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50"></p>
    {/if}
    
    {if pulldown}
    <select id="{field_name}" name="{field_name}">
    {options}<option value="{option_value}"{selected}>{option_name}</option>{/options}
    </select>
    {/if}
    
    {if date}
    <input type="text" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50"></p>
    {/if}
    
    {if relationship}
    <select id="{field_name}" name="{field_name}">
    {options}<option value="{option_value}"{selected}>{option_name}</option>{/options}
    </select>
    {/if}
    
    {/custom_fields}
    
    <label>Date</label>
    <input type="text" name="entry_date" value="{entry_date}" maxlength="23" size="25" /></p>
    
    <label>Expiration Date</label>
    <input type="text" name="expiration_date" value="{expiration_date}" maxlength="23" size="25" /></p>
        
    <input type="submit" name="submit" value="Submit" /></p>
    {/exp:weblog:entry_form}
  • #2 / Aug 27, 2008 9:27am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, Doy.

    If you don’t use the LG SAEF plugin, do things work the way you expect them to?

    If that is true, you’ll need to get support from the author, Leevi Graham.

    But let’s make sure that thing work without it first before moving this thread.

    Please let us know!

  • #3 / Aug 27, 2008 12:44pm

    Doy

    38 posts

    I’ve disabled it, but the member pages are still blank.

  • #4 / Aug 27, 2008 12:52pm

    Sue Crocker

    26054 posts

    Doy, let’s simplify things.

    In a brand new template, put in the following code snippet:

    {if logged_in}
    You're Logged in!
    {if:else}
    You're not logged in!
    {/if}

    Visit the page with your browser, and see what results you get.

  • #5 / Aug 27, 2008 1:01pm

    Doy

    38 posts

    That snippet works right.

  • #6 / Aug 27, 2008 1:30pm

    Sue Crocker

    26054 posts

    Then add to by putting into the if logged_in portion, the SAEF form code.

    Does that work?

  • #7 / Aug 27, 2008 1:40pm

    Doy

    38 posts

    It worked like this…is that what you meant?

    {exp:weblog:entry_form weblog="events" lg_saef_file_upload = "y" lg_saef_file_upload_dir_id = "2"}
    {if logged_in}
    You're Logged in!
    {if:else}
    You're not logged in!
    {/if} 
    {/exp:weblog:entry_form}
  • #8 / Aug 27, 2008 1:43pm

    Sue Crocker

    26054 posts

    Not quite.

    {if logged_in}
    You're Logged in!
    {exp:weblog:entry_form weblog="events" lg_saef_file_upload = "y" lg_saef_file_upload_dir_id = "2"}
    
    ....
    
    {/exp:weblog:entry_form} 
    {if:else}
    You're not logged in! You'll need to be a registered and logged in member of our site to post content.
    {/if}
  • #9 / Aug 27, 2008 1:44pm

    Doy

    38 posts

    Oops…when I logged out, the “You’re not logged in” is NOT showing up. Sorry about that.

    That’s with the LGSAEF enabled, etc.

  • #10 / Aug 27, 2008 1:51pm

    Doy

    38 posts

    Yep…that’s working.

  • #11 / Aug 27, 2008 5:02pm

    Sue Crocker

    26054 posts

    OK, so now you need to integrate this code bit into your regular templates.

    Does that make sense?

  • #12 / Aug 27, 2008 5:09pm

    Doy

    38 posts

    My problem isn’t people being able to use the form. My problem is that they can’t register to use the form because the member templates (including member/register) are blank.

    If you go to http://www.liveinrichmondhill.com/list_event you’ll see that there’s a login form there. However, if you don’t have a login, and you click the link to register, you get to a blank page because the member templates are now blank.

  • #13 / Aug 27, 2008 5:23pm

    Ingmar

    29245 posts

    Doy, I am only getting a 404 page.

  • #14 / Aug 27, 2008 5:37pm

    Sue Crocker

    26054 posts

    Did you by any chance change your Profile trigger word?

    CP Home ›  Admin ›  Members and Groups ›  Membership Preferences

  • #15 / Aug 27, 2008 6:57pm

    Doy

    38 posts

    Sorry…the link is liveinrichmondhill.com/site/list_event…

    I never touched my member trigger word…has LG SAEF had any issues of changing it in the past?

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

ExpressionEngine News!

#eecms, #events, #releases