Jump to content

help with whmcs and tcadmin module setting


tangogc
 Share

Recommended Posts

***SORRY FOR CROSS POSTING***

i haven't written on this forum for a long time and it is a great pleasure to come back

I need a fast help how to configure multiple game ID in the module and not One for game (like players slots or Location)

An user select the Game Server from a drop down menu and I want pass the tcadmin game id as variable in the Game ID field

could some one help me to configure ?

 

thanks

GAMEID.png

Link to comment
Share on other sites

This should be helpful: https://help.tcadmin.com/TCAdmin2_advanced_module_for_WHMCS#Examples

<?php
include('default_values.php');
switch ($params["customfields"]["Location"])
{
case "1":
  $billing_api_values["game_id"] = 11;
  break;
case "2":
  $billing_api_values["game_id"] = 12;
  break;
}
?>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use