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.

Displaying Custom Member Fields

October 14, 2010 2:41pm

Subscribe [2]
  • #1 / Oct 14, 2010 2:41pm

    Joe Anderson

    25 posts

    I’m trying to use:

    {exp:member:custom_profile_data}
        <h1>{school_id}</h1>
        <h1>{school}</h1>
    {/exp:member:custom_profile_data}

    to display to custom member fields I have set up… but, for some reason they are not showing up.  When looking at the source code of the parsed page the <h1> tags do not even show up… so, I’m wondering if I’m doing something wrong with my member module syntax.

    Also, when I try to display the email of the currently logged in user using {email}, it does not get parsed and just shows up on the page as {emai}.

    Does any of this need to be nested inside of some other tag?  Please help!  Thanks in advance!

    Joe

  • #2 / Oct 14, 2010 5:09pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Are you sure to be logged in? What happens when you hardcode a member_id, like so:

    {exp:member:custom_profile_data member_id="99"}
  • #3 / Oct 14, 2010 5:22pm

    Joe Anderson

    25 posts

    I’m using EE 2.1.0

    I realized that when I was logged in as a Super Admin, the fields show up.  But, when I’m logged in as a “Member” through HTTP Authentication it does not.  If I log in as a Member through the Forums module, then it does show up… is there a difference between loggin in through HTTP Authentication as opposed to other ways?

    Thanks!

  • #4 / Oct 15, 2010 9:39am

    Ingmar

    29245 posts

    There is no HTTP authentication that logs you in as a regular member in EE, you need to go through the control panel or login form. You can use HTTP authentication on top of that in some cases, but it’s no replacement.

  • #5 / Oct 15, 2010 12:46pm

    Joe Anderson

    25 posts

    Ok, Thank you!

  • #6 / Oct 15, 2010 3:54pm

    Ingmar

    29245 posts

    Very good. Please post again in case there’s anything else.

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

ExpressionEngine News!

#eecms, #events, #releases