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.

Members with Profile pages

August 09, 2010 10:27am

Subscribe [3]
  • #1 / Aug 09, 2010 10:27am

    foordie

    3 posts

    I want to be able to create a site that allows three different user types to register (all with a differing sign up form). Once registered I want them to be able to create a publicly viewable profile page which all users are able to view. But also have their own private profile details. 

    I can’t quite get my head around the exact method for doing this.

    I have purchased the EE full license and the User module but dont seem to know how the site should be approached.

    Should each user be able to create a weblog and have that as their profile?

    Any advice or help would be greatly appreciated. Might end up going to Wordpress/Buddypress if it cant be done.

    Thanks in advance for any help.

  • #2 / Aug 09, 2010 1:31pm

    Rob Allen

    3114 posts

    Welcome to EE foordie!

    All that is easily doable with the User module, there are a few key stages to it…

    1. Create all custom member fields that you need in the Control panel, including the private ones. Members won’t have access to the CP.

    2. Create a set of templates with User module tags so your users can edit their profiles.

    3. For your three user types you could create separate templates which only contain necessary fields for the member type, but a better option would be to use some conditionals in templates that only show certain fields if they are applicable to that member type (less templates needed, easier to manage)

    4. Create front end template for displaying profiles, again the best approach would be to to create one template and use conditionals to show or not show specific field data.

    5. Create your registration forms as required.

  • #3 / Aug 09, 2010 7:43pm

    foordie

    3 posts

    Hey Bluedreamer


    Thanks very much for your advice.


    I have had an issue with the user module and the form for users to register. I get the message ‘You’re currently logged in, and must be logged out to view this form.’ which seems to be referenced a couple of times on the ee and solspace forums. But there doesn’t seem to be a definite answer why it’s happening. I have logged out of the CP.


    This is the link to my register page: http://www.fitnessfilter.com/ee/public/register


    The expression engine is installed in the ee sub directory.  Public is a template group and register is a template.  The form is one taken from the solspace docs. I have tried adding these fields to the member fields as you suggested before.


    Would you have any suggestions on a top level as to why this maybe? (not knowing how well you know the user module)


    I haven’t heard from anyone on Solspace.


    Thanks
    Ben

  • #4 / Aug 10, 2010 7:28am

    Rob Allen

    3114 posts

    Try adding a standard EE logout link and click to logout properly…

    <a href="http://{path=logout}">Log Out</a>
  • #5 / Aug 10, 2010 9:16am

    foordie

    3 posts

    I had tried that, but just thought of including it inside the form, and it seems to be working. Thanks very much.

  • #6 / Aug 10, 2010 11:11am

    Rob Allen

    3114 posts

    No problem.

    An extra tip: When doing member related stuff use two different web browsers at the same time. Use one browser for your EE control panel, and the second browser to preview the live site as if you were a site member. This way you can log in/out as a site user and still tweak things in the control panel as you go.

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

ExpressionEngine News!

#eecms, #events, #releases