Add-on Credits Per Referral

This is not difficult, you need to create a action in credits add-on via ACP, and add 3 line in
class Ragtek_Invite_ControllerPublic_Register

was:
Code:
 if ($referrerId) {
  $this->getModelFromCache('Ragtek_Invite_Model_Invite')->setReferrer($user['user_id'], $referrerId);
  }

A becomes:

Code:
                if ($referrerId) {
                    $this->getModelFromCache('Ragtek_Invite_Model_Invite')->setReferrer($user['user_id'], $referrerId);

                    $credits = $this->getModelFromCache('*******_Credits_Model_Credit');
                    $action = 'type here name of action, which You create in ACP';
                    $credits->updateUserCredit($action, $referrerId);
                }
 
Thank you!
But where can I create new actions? At "list actions" there is only "Import Action" / "Export Action", but no "create new action".
 
I believe this is supposed to be added to his Credits Premium Mod he was supposed to launch last week
 
Top Bottom