Support » Plugin: Simple Membership » a count of all members who belong to a certain membership level

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, you can use the search option to search for a membership level. This will give you a count value.

    Let me know if you need more information or help.

    Thank you

    That actually did not work.. searched specific membership level(the name of the level) no results..

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you give me an example of a few membership levels names you have? I carried out a test in my dev site and it worked for me. Also where did you search for your membership levels and how did you carry out your search?

    Regards

    On the members page. And an example of a membership level name would be NFL Challenge. Searching with top right search box. Tried NFL no luck, tried Challenge no luck, tried NFL Challenge no luck

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, try a plugin conflict test. Deactivate all of your other plugins except ours. Then carry out another search. Let me know what happens.

    Thank you

    I tried this,
    I can query user names but not membership level… is there a wat to export the user list to say excel??

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, yes you can use the following addon.

    Kind regards

    mikecrf121

    (@mikecrf121)

    i really need a way to cap number of memberships, can i capture the total count of a particular membership level?? is that number exposed anywhere??

    mikecrf121

    (@mikecrf121)

    like i need a particular membership to stop allowing people to join after say like 50 people have joined the group.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I have submitted a message to the plugin developers to investigate further your issue/request.

    Thank you

    Plugin Author wp.insider

    (@wpinsider-1)

    We will add another option in the next version that will let you filter all members from a specific membership level. So you can easily see how many members are in a level.

    At the moment, you can try the sort option. Click on the column heading of “Membership Level”. That should group all the users by the different membership levels one by one. Then you can count the membership group you are interested in.

    Plugin Author wp.insider

    (@wpinsider-1)

    The new version has been released that has this feature.

    mikecrf121

    (@mikecrf121)

    Thank you,
    works good! Also found a way , through custom coding a way to cap number of members from joining, involved querying the db, counting those who belong to certain member id, and then hiding the buy in button through js once that number was met.

    Appreciate your added feature as well!

    makes the plugin 100% more useful….

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi @mikecrf121,

    If you don’t mind, can you share your solution to help others who might be looking for a solution similar or the same as yours.

    Kind regards

    mikecrf121

    (@mikecrf121)

    Sure,

    So I’m displaying the count on my page of a particular membership group utilizing another plugin and my short code looks like this
    [gdoc key=”wordpress” query=”SELECT COUNT(membership_level) AS ‘Registered’ FROM ******swpm_members_tbl WHERE membership_level=4″]

    *** blurring out my main table name

    get that number and its being loaded in a data table on front end with above short code.

    I am then using js to get that value in that data table like this and replacing the buy button with a custom message, essentially caping my membership for that level .

    <script type=”text/javascript”>
    var Row = document.getElementById(“igsv-1-wordpress”);
    var Cells = Row.getElementsByTagName(“td”);
    var num =(Cells[0].innerText);
    console.log(num);
    var numf = parseInt(num);

    if (numf >= 50) {
    alert( “Closed Challenge”);
    var x = document.getElementsByClassName(“swpm-payment-button”);
    x[0].innerHTML = “Maximum Number Of members”;
    }
    </script>

    Its my quick solution, sure I probably could’ve done it with php or whatever, but this works for me.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘a count of all members who belong to a certain membership level’ is closed to new replies.