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
You are here: Home

reepsy

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 21, 2012 at 6:19 pm in reply to: Display Member Count #29531
    reepsy
    Member

    This will work if you are interest in just the one level like I am (Level ID 3 in this example):

    function paid_membership_count() {
    global $wpdb;
    $members_table_name = $wpdb->prefix . "wp_eMember_members_tbl";
    $wp_member_count = $wpdb->get_row("SELECT count(*) as count FROM $members_table_name WHERE membership_level='3'");
    $total_number_of_members = $wp_member_count->count;
    }
    add_shortcode( 'paid_membership_count', 'paid_membership_count' );

    So you use it like any shortcode: [paid_membership_count]

    But you could easily parameritize it to do any specific level passed in as an attribute:

    [paid_membership_count level=’3′]

    February 21, 2012 at 5:14 pm in reply to: Display Member Count #29530
    reepsy
    Member

    Both <?php echo emember_get_total_members(); ?> and [emember_total_memebers] bring back teh total number of all memberships, as the names would imply. I am trying to make a goal meter showing progress towards selling xx memberhips at a specific membership level. So let’s say id=3. Any suggestions?

    February 14, 2012 at 6:32 pm in reply to: Nested Shortcode (Not Resolved by editing wp_eMember1.php) #41912
    reepsy
    Member

    Any follow up here? I really don’t want to install the same version over what I have now.

    February 14, 2012 at 3:10 am in reply to: Nested Shortcode (Not Resolved by editing wp_eMember1.php) #41911
    reepsy
    Member

    I followed that link, and the link sent to me in email resulted in a download with the same version # (7.4.3). At least that’s what it says in wp_eMember.php

    February 14, 2012 at 2:05 am in reply to: Nested Shortcode (Not Resolved by editing wp_eMember1.php) #41909
    reepsy
    Member

    According to wp_eMember.php:

    Plugin Name: WP eMember

    Version: v7.4.3

    February 13, 2012 at 11:06 pm in reply to: Nested Shortcode (Not Resolved by editing wp_eMember1.php) #41907
    reepsy
    Member

    Peter,

    Yes, [sf_become_member_link] is mine, and it is working properly. This one:

    [wp_eMember_user_details user_info=”email”]

    is also nested, from wp-eMember, and is not working. It is simply displaying that text, rather than generating the user’s email address.

    February 13, 2012 at 7:21 pm in reply to: Registration Form Action is Blank #41726
    reepsy
    Member

    Thanks.

    February 8, 2012 at 2:03 pm in reply to: Registration Form Action is Blank #41724
    reepsy
    Member

    Deleting and re-installing the plugin seems to have worked. I had used an FTP program to put the files up last time. This time I sent the .zip up and unzipped it at the command line. So maybe that was the difference. Other than my custom CSS, which I retained, are there any file permissions or anything like that I ought to be on the lookout for? with the newly installed copy?

    Thanks for your help.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

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