Jump to content

Question

Posted

Hi everyone, I need to integrate the domain sales form on my website's homepage. Is it possible to do this?
I'll explain. On the homepage of my website appears a demo form for domain sales. Can I replace this form with a working form of Blesta on the homepage?

Thanks,
See you soon

15 answers to this question

Recommended Posts

  • 0
Posted

Yes you can but csf token is regenerated very often...you can disable it...

<form action="https://your_order_form_url" method="post">

<input name="_csrf_token" value="your_csfr_token" type="hidden"> this need to be disabled since it will work for short time..till new token is generated

<input name="domain" value="" placeholder="yourdomain.com" type="text"> <select name="tlds[]">

<option name="tlds[]" value=".com" id="t.com">.com</option>

<option name="tlds[]" value=".org" id="t.org">.org</option>

<option name="tlds[]" value=".net" id="t.net">.net</option>

<option name="tlds[]" value=".in" id="t.in">.in</option>

<option name="tlds[]" value=".co" id="t.co">.co</option>

<option name="tlds[]" value=".biz" id="t.biz">.biz</option>

</select>

<input name="lookup" type="submit" value="Go">

 

  • 0
Posted
On 26.5.2017. at 3:18 PM, Andrea said:

Thank you for your response. Do you have a step-by-step guide that allows me to configure the file blesta.php correctly?

Thank you very much,
See you soon

Open file  blesta-instalation/config/blesta.php in file menager at your hosting panel or in text editor at localhost and find line you can see at screen shot,change true to false and save it.Just keep in mind this will disable it for all resources,it is better to change it only for certain resource,I will post how to for that also

2017-05-29_13_48_00-_Edit_the_File_blest

  • 0
Posted

Here is,in same file just in next line you will see line as it is shown on screen shot ,replace empty array with this array('client_login::index'))

2017-05-29_14_04_19-_Edit_the_File_nelsa

After you disable csfr token than you can use form without csfr field .

  • 0
Posted

We are almost finished the universal domains module with the helper plugins

the module, allow to sell any extension with a built in domain checker, but the user cannat manage the domain like changing nameservers, whois info ect ...

the plugins, will have the ability to allow add any domain checker form in outside blesta, and the plugin will return a whois check like ajax json or plain html format .

all our beta tester are happy with the work .

  • 0
Posted

Thank you for all the support.

 

My programmer did the work you suggested. She tells me to ask you something.
When I try the search engine, I see a white page.

The link of this page is this:
https://www.inretesubito.com

Following is the request of my programmer.

 

Hello Andrea,

I've implemented the code as per their example code.

So the form is setup correctly, but I'm not sure which URL to use on the form as on the forums there is no specific example. Can you post on the forum and ask them to confirm which URL to use. Once you know add it to domainchecker.php, if the next page is still blank you will need to communicate on this forum post to see why this is.

  • 0
Posted

Hi, thank you for answering.
I've modified the link in the form but I still see the white page.

My programmer tells me to ask you a tip.

Can you help me solve this problem?

Thanks again,
See you soon

  • 0
Posted
On 31.5.2017. at 7:40 PM, Andrea said:

Thank you for all the support.

 

My programmer did the work you suggested. She tells me to ask you something.
When I try the search engine, I see a white page.

The link of this page is this:
https://www.inretesubito.com

Following is the request of my programmer.

 

Hello Andrea,

I've implemented the code as per their example code.

So the form is setup correctly, but I'm not sure which URL to use on the form as on the forums there is no specific example. Can you post on the forum and ask them to confirm which URL to use. Once you know add it to domainchecker.php, if the next page is still blank you will need to communicate on this forum post to see why this is.


In form action you have to put this url,if that doesnt help than maybe csfr is still enabled somehow.

https://areaclienti.inretesubito.com/order/config/preconfig/registra-il-tuo-dominio

 

 

  • 0
Posted

As Naja7host said and as you can see on screen shot(this is screen shot of your order form) csrf token is still enabled,now for test purpose you can copy complete csrf_token field and add it in form and you'll see domain search will start work.

 

2017-06-02_01_29_19-_Registra_il_tuo_dom

  • 0
Posted

Hi, thank you all for your answers.
I asked the ZOMEX programmer to make the changes you suggested. ZOMEX programmer tells me however that the search engine does not work yet.

Can I ask for your little support? Thank you very much.

  • 0
Posted
5 hours ago, Andrea said:

Hi, thank you all for your answers.
I asked the ZOMEX programmer to make the changes you suggested. ZOMEX programmer tells me however that the search engine does not work yet.

Can I ask for your little support? Thank you very much.

open ticket with us , we will take care of this issue .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...