Skip to:
Content
Pages
Categories
Search
Top
Bottom

mapping custom user fields to environment variables


  • meatloaf
    Member

    @meatloaf

    We’re using WP 3.3.1 w/ BP 1.5.4. The site admin has created custom user fields such as email, extension, department, etc.

    After login (using Shibboleth plugin for WP), all the user information (i.e email, extension, department) is available to WP as environment variables. How do I map these environment variables to the users custom profile fields? Which php code do I need to look at?

Viewing 4 replies - 1 through 4 (of 4 total)

  • Paul Wong-Gibbs
    Keymaster

    @djpaul

    Tricky. Depends on what you want to do with it. If you just want to display the values, you could just print those in your template.


    meatloaf
    Member

    @meatloaf

    Thanks Paul. Which template are you referring to?


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    Totally depends on where you want the values to appear! Are you using a custom theme you built, or something you purchased online? Can we get a sample of the URL that you want the data to appear on (change the domain if you want) and/or screenshots? Otherwise it’s hard to help blind.


    meatloaf
    Member

    @meatloaf

    Sorry, as you can tell I’m trying to troubleshoot an already configured WP/BP that I’m not familiar with. A sample URL would be:

    http://bp.mydomain.org/members/first-last/profile

    Not sure how to tell if it’s a custom theme, or something purchased…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘mapping custom user fields to environment variables’ is closed to new replies.
Skip to toolbar