1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Modification zTeam credits (class.common.php)

Discussion in 'Customizations & Modules' started by Lautaro, Oct 22, 2014.

  1. Lautaro

    Lautaro Administrator Developer

    Here's the modified 1.0.7 PL1 class.common.php for clients using zTeam files.

    The only modification that has been made is to the addcredits() and substractCredits() functions. The queries have been changed so the web uses the following table definitions:
    PHP:
    define('_TBL_MC_''MEMB_CREDITS');
        
    define('_CLMN_MC_ID_''memb___id');
        
    define('_CLMN_MC_CREDITS_''Credits');
        
    define('_CLMN_MC_TEMPCREDITS_''TempCredits');
    So that should be changed to:
    PHP:
    define('_TBL_MC_''GameShop_Data');
        
    define('_CLMN_MC_ID_''MemberGuid');
        
    define('_CLMN_MC_CREDITS_''WCoinC');
        
    define('_CLMN_MC_TEMPCREDITS_''none'); //not used
    With that modification plus the attched class.common.php your web's credits system should work with no problem.

    WebEngine 1.0.8 will have full support for zTeam database.
     

    Attached Files:

    Death, Wortex and Netzo like this.
  2. wiraly

    wiraly Customer Customer

    Thank you, works fine.
     
    Lautaro likes this.
  3. Wortex

    Wortex Member

    1.0.8 will have support for which version of the DB? zTeam S6E3 differs quite a lot from S8E2.
     
  4. Netzo

    Netzo Customer Customer

    Official zTeam which is Season 8 Episode 2. zTeam no longer develop Season 6.
     
  5. Death

    Death Customer Customer

    now thats geat news!
     

Share This Page