WHMCS and New extensions

From NETIM
(Difference between revisions)
Jump to: navigation, search
(Created page with "== Introduction == New extensions will be launched through several periods like the sunrise, the landrush and finaly the general availability. However the sunrise and the lan...")
 
(Introduction)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
New extensions will be launched through several periods like the sunrise, the landrush and finaly the general availability.
+
New extensions will be launched through several periods: Sunrise, Landrush and finally the General Availability.
  
 
However the sunrise and the landrush have additional fee that can't be setup in WHMCS. Then the pricing defined for an extension matches the fee for the registration during general availability.
 
However the sunrise and the landrush have additional fee that can't be setup in WHMCS. Then the pricing defined for an extension matches the fee for the registration during general availability.
Line 8: Line 8:
 
  By using an additional field as a checkbox, it will be possible to tell the customer that his registration will be done during the general availability and to get his explicit approval.
 
  By using an additional field as a checkbox, it will be possible to tell the customer that his registration will be done during the general availability and to get his explicit approval.
  
 +
== Settings ==
  
== Settings==
+
Activate or insert the following code into the file additionaldomainfields.inc.php of the module
 
+
Activate or insert the following code into the file config.inc.php of the module
+
  
 
<source lang="php">
 
<source lang="php">
$additionaldomainfields[".extension"]=array();
 
 
  $additionaldomainfields[".extension"][] = array(
 
  $additionaldomainfields[".extension"][] = array(
 
"Name" => "GA",
 
"Name" => "GA",
Line 32: Line 30:
  
 
<source lang="php">
 
<source lang="php">
$additionaldomainfields[".extension"]=array();
 
 
  $additionaldomainfields[".extension"][] = array(
 
  $additionaldomainfields[".extension"][] = array(
 
"Name" => "GA",
 
"Name" => "GA",
Line 51: Line 48:
 
  Once the extension is launched, just comment or remove this code
 
  Once the extension is launched, just comment or remove this code
 
  Our module will process the registration like any other domain
 
  Our module will process the registration like any other domain
 
 
== Additional fields==
 
 
In addition to above, a new extension can have additional fields.
 
 
[[:Category:Tld | See extensions informations]]
 

Latest revision as of 15:31, 25 November 2015

[edit] Introduction

New extensions will be launched through several periods: Sunrise, Landrush and finally the General Availability.

However the sunrise and the landrush have additional fee that can't be setup in WHMCS. Then the pricing defined for an extension matches the fee for the registration during general availability.

With NETIM, a domain registration is done with the function domainCreate. However this function will be closed until the start of the general availability. In case of pre-order, the function domainCreateLP must be used.

By using an additional field as a checkbox, it will be possible to tell the customer that his registration will be done during the general availability and to get his explicit approval.

[edit] Settings

Activate or insert the following code into the file additionaldomainfields.inc.php of the module

 $additionaldomainfields[".extension"][] = array(
		"Name" => "GA",
		"LangVar" => "generalavailability", 
		"Type" => "tickbox",
		"Description" => "From MM/DD/YYYY HH:MM",
		"Required" => true,
		);

Replace ".extension" by the one you want to resell

Replace "MM/DD/YYYY" by the date of the General Availability and change the text to your liking.


You can also combine several extensions with the same setting if the dates are the same, for example

 $additionaldomainfields[".extension"][] = array(
		"Name" => "GA",
		"LangVar" => "generalavailability", 
		"Type" => "tickbox",
		"Description" => "From MM/DD/YYYY HH:MM",
		"Required" => true,
		);
 $additionaldomainfields[".extension2"]=$additionaldomainfields[".extension"];
 $additionaldomainfields[".extension3"]=$additionaldomainfields[".extension"];
 $additionaldomainfields[".extension4"]=$additionaldomainfields[".extension"];
 $additionaldomainfields[".extension5"]=$additionaldomainfields[".extension"];
 $additionaldomainfields[".extension6"]=$additionaldomainfields[".extension"];
 $additionaldomainfields[".extension7"]=$additionaldomainfields[".extension"];
Once the extension is launched, just comment or remove this code
Our module will process the registration like any other domain
Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Shared Hosting
Old Hosting offers
SSL Certificates
Resellers
Affiliates
Contact Us
Miscellaneous