Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Lookup Member ID by name?

Simple Membership Plugin › Forums › Simple Membership Plugin › Lookup Member ID by name?

  • This topic has 5 replies, 3 voices, and was last updated 10 years, 3 months ago by rwdrummond.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 4, 2016 at 8:41 pm #4749
    rwdrummond
    Participant

    I’m looking at using the profile form builder to add a few fields to the member profile, and then use that to build a member directory. After looking at the php tweaks you provided, it should be easy to build a page that displays a given user’s profile by using get_member_field_by_id to retrieve the information. But how do I get the member ID? I need something like get_member_id_by_name(lname, fname) – does that exist? So far I’ve not found it. Simple enough to pull it from the database, but I’d rather not re-invent the wheel if you’ve already provided it.

    Thanks for a fantastic plugin!

    January 4, 2016 at 11:36 pm #4754
    mbrsolution
    Moderator

    Hi, in the php tweaks documentation there is a code to get members First name and last name. Have you tried that code?

    January 5, 2016 at 12:28 am #4758
    rwdrummond
    Participant

    Thanks for the suggestion, mbrsolution – that is a great example of what I want to do, but it requires knowing the member’s ID. What I’m looking for is a way for a member to look up another member’s ID (preferably by first & last name) in order to retrieve the other member’s profile info.

    January 5, 2016 at 2:05 am #4759
    mbrsolution
    Moderator

    Hi, thank you for the information. The plugin developers will investigate further your request.

    Thank you

    January 5, 2016 at 7:29 am #4770
    admin
    Keymaster

    No, that can’t be done at the moment. The ID is kind of the key to lookup. You can’t lookup the key with a name. I wouldn’t mind adding an option to find the ID by email address (since the email address is also unique).

    January 5, 2016 at 4:15 pm #4772
    rwdrummond
    Participant

    Thanks for the quick response. Good point about the name not being unique! Again, thanks for a great plugin!

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy