Requests

 

Use Requests module to link a request form on your web to ISPadmin. If a customer fills in your request form the data is sent to ISPadmin where you can process it.

Request form activation

Activate request form in Settings Syst. settings General, by setting ID service_request_form to 1 and ID ispadmin_server as per your settings (e.g. https://ispadmin.yourcompany.com).

Request form creation

Then you have to create a request form for your web page. Create INPUTBOX fields for every item. Add the code below to your request form while sending it. It will send data into ISPadmin.

In the code, change $ISPadminDomain variable to a correct url address of ISPadmin.

Every item in the form must be named according to sending code, e.g. web_form_input_name-name, web_form_input_name-city ...) as in <input type="edit" name="web_form_input_name-name" > ......

You have to have a request form for new clients on your web in order to be able to use this module, and build the following code into it:

----- Code for your web page -----

$ISPadminDomain = "server.ispadmin.eu:80"; /* Domain of the administration interface of ISPadmin, e.g.: admin.ispadmin.eu or demo.ispadmin.eu:81. If the server uses SSL, then the value of the $ISPadminDomain variable must contain https:// . */

/* $_POST[] params fill of your web */

$name = $_POST['web_form_input_name-name'];

$surname = $_POST['web_form_input_name-surname'];

$street = $_POST['web_form_input_name-street'];

$city = $_POST['web_form_input_name-city'];

$zip = $_POST['web_form_input_name-zip'];

$email = $_POST['web_form_input_name-email'];

$phone = $_POST['web_form_input_name-phone'];

$download = $_POST['web_form_input_name-download'];

$description = $_POST['web_form_input_name-description'];

$vars = array( "name"=>$name, "surname" => $surname, "street" => $street, "city" => $city, "zip" => $zip, "email" => $email,
"phone" => $phone, "download" => $download, "description" => $description );

$ch = curl_init( $ISPadminDomain . "/service_request_add.php" );

curl_setopt( $ch, CURLOPT_POSTFIELDS, $vars );

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

$output = curl_exec( $ch );

curl_close( $ch );

----- END of code for your web page -----

How to work with requests in ISPadmin

Create a contact - opens a window for adding a new contact where available data from the request form are pre-filled.
It is possible to send an email directly to the person that made the request in question. These emails are then saved to the history of the given request.
You can now add as many notes to each request as you want - click on the icon and save the note. Green icon means that at least 1 note exists.
icon edit Edit request
icon delete btsp Delete request

 

icon info2 You can the system to send you an information e-mail upon creation of a new request.

  • The settings needed:
    • Settings Syst. settings General, ID send_email_after_new_client_request = 1
    • a due record in Settings Syst. settings General, ID system_mail and system_mail_name
  • You can define the email layout in Settings Other E-mail templates. To activate the template, click on icon check ko in New request column.

CONTACT

NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic