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

php fonction for membership

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › php fonction for membership

  • This topic has 3 replies, 2 voices, and was last updated 14 years, 6 months ago by amin007.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 31, 2010 at 6:20 pm #2144
    bomtaw
    Member

    Hi,

    I know how check a current user membership level,

    $auth->getUserInfo(‘membership_level’)

    But i want to do the same thing for an specific user ID :

    Could you tell me if a function with $user id parameter exists.

    Thanks

    November 1, 2010 at 4:22 am #26010
    amin007
    Participant

    Yeah you can get the user ID and all other details easily. This post will explain how to do this:

    http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248

    November 8, 2010 at 2:04 pm #26011
    bomtaw
    Member

    Hi,

    I saw this page, but isn’t really my question. my english is bad :(

    I need to display a membership level, on list of users.

    Your solution allowed me to manage the curent user, but i have $id and i want a membership level.

    Could you help me ?

    November 9, 2010 at 12:32 am #26012
    amin007
    Participant

    I think you want to find the membership level of all members in a loop or something to list it?

    You will have to do a lookup in the members database then loop through the resultset. If you open the “eMember_installater.php” file you will be able to see the structure of the members table. If you already know how to use the database in WordPress to select a resultset of all records from that table you will be able to loop through it.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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