Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

emember – Any shortcodes that can be used by an admin to fetch a user's info

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › emember – Any shortcodes that can be used by an admin to fetch a user's info

Tagged: shortcode, status

  • This topic has 7 replies, 4 voices, and was last updated 4 years, 4 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 15, 2019 at 5:20 pm #15516
    Roger
    Participant

    I’m aware of the eMember shortcodes which access the current user’s info. But, is there a way for an admin to access a particular user’s info?

    I would like to be logged in as an admin, but be able to set some parm that could let me access the shortcodes for user X. Any way to do that?

    Thanks,

    roger

    August 16, 2019 at 12:48 am #79815
    admin
    Keymaster

    The admin can view all the details of a member from the admin dashboard. Go to the members menu then edit a member’s profile. It will show you all the details of the profile in question.

    August 16, 2019 at 8:29 pm #79816
    Roger
    Participant

    Let me more specific. I’m adding php code for preprocessing a form. So, I don;t have access to the admin dashboard.

    For my normal user processing, I’m pulling in user details using your shortcodes (e.g. [wp_eMember_user_details user_info=”email”] )

    But, since I’m an admin trying to do updates to users, I need a way to pull in their info (programatically). Any way to use the existing shortcodes or set up a parameter to make it look like I’m the user?

    Thanks,

    R

    August 17, 2019 at 7:52 am #79817
    admin
    Keymaster

    There is no option to set parameter like the way you are describing.

    Since you are developing, I wanted to mention that we have the following API options to query member details and then update.

    https://www.tipsandtricks-hq.com/wordpress-membership/api-querying-a-member-profile-using-http-get-or-post-1378

    https://www.tipsandtricks-hq.com/wordpress-membership/api-updating-a-member-account-using-http-get-or-post-933

    https://www.tipsandtricks-hq.com/wordpress-membership/api-creating-a-member-account-using-http-get-or-post-447

    January 5, 2021 at 1:15 pm #82231
    Jay Meredith
    Participant

    I am particularly interested in a shortcode which displays a members status in a form

    January 5, 2021 at 6:31 pm #82232
    wzp
    Moderator

    I am particularly interested in a shortcode which displays a members status in a form

    As a logged in member? Please be more specific about what you are trying to do.

    January 5, 2021 at 11:00 pm #82242
    Jay Meredith
    Participant

    I would like to have my membership confirmation/renewal page display the logged on member’s Name, membership level, expiration date, and current status – much like the WP eMember logon widget does. This will help members who are close to or at their expiration date know where they stand in regards to renewal.

    Regards, Jay Meredith

    January 6, 2021 at 5:13 pm #82245
    admin
    Keymaster

    You can try the shortcode explained in the following page to show some of those details:

    How to Retrieve and Show Specific Details of the Logged-in Member

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ