HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Banking system other than Karma Bank?

Im trying to implement a monetary system on my forum. Karma Bank just keeps crashing my site, I cant even upload it into my plugins folder. When its installed I cant access anything.

Does anyone have suggestions of a good one or maybe can help me fix the crashing issue?

Comments

  • R_JR_J Ex-Fanboy Munich Admin

    There is nothing similar/better than the Karma Bank plugin. It can easily be fixed.
    Open class.karmabankmodel.php and replace lines 11 - 18 with that:

            /* 
            if(!self::$FC){
                if(Gdn::Cache()->Type()==Gdn_Cache::CACHE_TYPE_NULL){
                    self::$FC = new Gdn_FileCache();
                }else{
                    self::$FC = Gdn::Cache();
                }
    
            }
            */
            if(!self::$FC){
                self::$FC = Gdn::Cache();
            }
    
  • R_JR_J Ex-Fanboy Munich Admin

    Nope, forget that. Use (at the same place)

            if(!self::$FC){
                if(Gdn::Cache()->Type()==Gdn_Cache::CACHE_TYPE_NULL){
                    require PATH_LIBRARY_CORE.'/class.filecache.php';
                    self::$FC = new Gdn_FileCache();
                }else{
                    self::$FC = Gdn::Cache();
                }
    
            }
    
  • So just copy and paste the stuff from the second pic

  • I still get an error page

  • NVM I got it
    I needed to make a space after the last line

  • Thank you so much

Sign In or Register to comment.