Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Louring

    (@louring)

    sorry you can see it here: https://i.imgur.com/sqr0fY0.jpg

    Plugin Author myCred

    (@designbymerovingi)

    Can you give some more details so I can try and replicate the issue? If you reload the page, does the balance adjust itself?

    Thread Starter Louring

    (@louring)

    Only the history reload, not the balance. I can send you a login to my site if you want?

    Plugin Author myCred

    (@designbymerovingi)

    I think I found the issue.

    Open mycred/modules/mycred-module-hooks.php

    On line 1424 you will find:

    $this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );

    Change this to:

    $this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
    $this->core->update_users_balance( $user_id, $amount );

    same thing 6 rows further down, you will find:

    $this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );

    Change it to:

    $this->update_creds( $users_log->id, $user_id, $users_log->creds+$amount );
    $this->core->update_users_balance( $user_id, $amount );
    Thread Starter Louring

    (@louring)

    Perfect, it’s working ??
    Thanks a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Youtube hook’ is closed to new replies.