Search the Community
Showing results for tags 'hostname'.
Found 3 results
-
Hi, guys. I have 2 requirement need to be resolved. I can pay for this via paypal or buymeacoffee.com or your website , not too much . If any one can do this , please send email to me : advvweb@gmail.com , below is the deteals : 1 . I hope to display the dedicated ip or hostname to the admin area /inovices.php page . Means add a column , named hostname or dedicated ip . hope the hook AdminAreaHeaderOutput can be used for this or any other ways can do this. 2. I hope to display the dedicated ip or hostname to the admin area /clientsinvoices.php . Means add a column , named hostname or dedicated ip . hope also can use the hook to do this or any other ways can solve this . I use PS to do a photo show the design like this : For anyone can help me or related , thanks very a lot . And appreciate for your help. the two links maybe help :
- 7 replies
-
1
-
- hostname
- dedicatedip
-
(and 2 more)
Tagged with:
-
Hello WHMCS community, I need to assign values via the url parameters that come from my corporate website's order form to the input fields found in the configureproduct.tpl, in whmcs portal. Currently, all values are carried over from my corporate site to my whmcs portal except for the input fields of hostname, ns1 prefix and ns2 prefix. Now, I can see through the dev tools that the fields of hostname, ns1 and ns2 have their values assigned in the url parameters as the rest of the values that are carried over that refer to configoption ids: From my corporate site: the url parameters sent to WHMCS portal: In addition, I customized the hostname input field to have a value auto-assigned based on $smarty.now|date_format:'%Y%m%d%H%M%S' whenever the input submitted (through the url parameter or not) to the said field is null. My approach on this in regards to configureproduct.tpl can be seen in the following lines for the input field of hostname: <input type="text" name="hostname" class="form-control" id="inputHostname" value="{if empty($smarty.get.hostname)}VL{$smarty.now|date_format:'%Y%m%d%H%M%S'}{else}{$smarty.get.hostname}{/if}"> Unfortunately, Smarty insists on acknowledging the URL parameters of those three input fields as null or empty. And thus, I get the following result in WHMCS portal: Ι have also tried implementing these through $smarty.get.variablename, $smarty.request.variablename as well as by assigning the values via the following script: {assign var="hostname" value="{$smarty.get.hostname}"} {assign var="ns1prefix" value="{$smarty.get.ns1prefix}"} {assign var="ns2prefix" value="{$smarty.get.ns2prefix}"} Any aid you can provide on this will be much appreciated. Kind regards, Ioshf.a
- 1 reply
-
1
-
- url parameters
- configureproduct.tpl
-
(and 3 more)
Tagged with:
-
Hi Guys, When a client uses a none standard hostname during an order and uses any special character or space in the hostname then is breaking our auto-provisioning module so the VPS is not creating. So we have to manually review the order and change the hostname. I was wondering how we can add a custom code to fix this issue? 1. Code to automatically removes the space and special characters. 2. Not letting the customer pass the page and gives him/her an error to fix it What do you think? Thanks