Support » Plugin: myCRED » Mycred_default after update.

  • Resolved pahroblem

    (@pahroblem)


    Not a huge issue and surely all it needs is to remove that line, but im not experienced with php so i dont want to mess things up..

    In forum posts under members avatar, i currently have mycred showing their current balance.. After updating it shows it like this:

    Coins: mycred_default1000

    Do i just remove the mycred_default? once i find it.. lol

    also with the coins after going past 999 it goes 1 000.. dumb question but how do i remove the space between the numbers?..

    Thank you

    https://wordpress.org/plugins/mycred/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabriel

    (@designbymerovingi)

    Hey.

    Yeah I made a mistake in the bbPress hook. If you open the mycred-hook-bbpress.php file located in plugins/mycred/plugins/ and change lines 50 from:

    $balance = $mycred->get_users_cred( $user_id, $this->mycred_type );

    to:

    $balance = $mycred->get_users_cred( $user_id, $mycred->mycred_type );

    It will be sorted. I will push though an update today once I have gone though all the issues that have been reported so far.

    I’ve changed it but it hasnt changed anything.. guess ill just wait for the update. thank you for your assistance anyway mate.

    Plugin Author Gabriel

    (@designbymerovingi)

    Open the mycred-hook-bbpress.php file which is located in plugins/mycred/plugins/ folder.

    On line 377 you should see the following:

    $layout = $this->core->plural() . ': ' . $this->core->format_creds( $balance, $this->mycred_type );

    Change this to:

    $layout = $this->core->plural() . ': ' . $this->core->format_creds( $balance );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mycred_default after update.’ is closed to new replies.