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...")
 
(Additional fields)
Line 55: Line 55:
 
== Additional fields==
 
== Additional fields==
  
In addition to above, a new extension can have additional fields.
+
In addition to above, a new extension can have additional fields. Do not forget to add them into your settings
  
 
[[:Category:Tld | See extensions informations]]
 
[[:Category:Tld | See extensions informations]]

Revision as of 14:04, 14 November 2013

Introduction

New extensions will be launched through several periods like the sunrise, the landrush and finaly 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.


Settings

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

 $additionaldomainfields[".extension"]=array();
 $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();
 $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


Additional fields

In addition to above, a new extension can have additional fields. Do not forget to add them into your settings

See extensions informations

Personal tools
Namespaces

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