Show total user count on website?

Discussion in 'aMember Pro v.4' started by costahobo, Mar 13, 2012.

  1. costahobo

    costahobo New Member

    Joined:
    Sep 8, 2007
    Messages:
    4
    If I go to Reports, and Count user signups, it displays a total number of signups. I would like to display this number on the front end of my website, where anybody could see it.

    I know how it was done in v3, but I'm clueless on how to do it with v4.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Are you able to program MySQL query to aMember database?
  3. costahobo

    costahobo New Member

    Joined:
    Sep 8, 2007
    Messages:
    4
    I know how to have it display my signup's username, email, name, etc., on my website. I'm using this code:

    <?php
    require_once '/path/to/amember/library/Am/Lite.php';
    echo Am_Lite::getInstance()->getUsername();
    ?>">

    What code would I use to display the total number of signups in my database (expired, paid, and free)?
  4. laguitar

    laguitar aMember Pro Customer

    Joined:
    Jun 16, 2009
    Messages:
    12
    I'm wondering about this as well. Was this ever resolved?

    Thanks.

Share This Page