Support » Plugins » [Plugin: mycred] Get echo $users and echo $balance

  • hello guys,
    I need to get the number of users in another page outside of blog pages and I also need another page that do echo $balance that will show the balance of the logged user 🙂 please help I tried these ones but both are giving errors 🙁

    $users = $wpdb->get_var("SELECT COUNT(ID) FROM $wpdb->users");
    echo $users


     if(function_exists('cp_displayPoints') && is_user_logged_in() ) { cp_displayPoints($user->ID); echo ' Store Credit points!';

    help me please 🙂
    have a nice day.

  • The topic ‘[Plugin: mycred] Get echo $users and echo $balance’ is closed to new replies.