Jump to content

How do I add more TLDs to my search


hostxls

Recommended Posts

Hello,

 

I use to have more search results when searching for a free domain.

 

But now I only receive the (dot) com result where it use to be . org, .net, .bizz etc etc

 

How do I get more search results for a domain?

 

 

Screenshot_43.png

Link to comment
Share on other sites

Hi,

 

I use to have more search results when searching for a free domain.

But now I only receive the (dot) com result where it use to be . org, .net, .bizz etc etc

How do I get more search results for a domain?

that's a WordPress page and (I think) not using any WHMCS functionality.

 

there must be a feature within the easyweb template that allows for that domain lookup functionality on the homepage - but I suspect the errors are happening because the template is over a year old and not compatible with WHMCS v7.2

Link to comment
Share on other sites

Oh, I had this problem before updating to WHMCS v7 but didn't got the change to fix it.

And the theme has been updated but still is not running on PHP 7 unfortunately.

I think you are right, the most errors are due to the upgrade to PHP7. We are running on PHP5.6

It make it hard to solve some issues. I also had an issue with the cron jobs because WHMCS isn't corresponding with other systems due to the upgrade. :(

Link to comment
Share on other sites

Hello Brian,

I thought I'm going around the system and work directly from the WHMCS client website but then this hit me like a truck.

 

What am I doing wrong or do not understand. In my opinion this should not say " Congratulations, hostxls.com is available! "

It should have said " this domain in NOT available.

 

http://prntscr.com/fg6uws

 

Can someone help me out here please!

Link to comment
Share on other sites

You are my hero brian. :)

I wouldn't have think about that. How did you know?

because the results were showing well-known domains, such as google.com, as available... that usually means a bad whoisservers file, or with v7, a missing dist.whois.json...

Link to comment
Share on other sites

quick fix might be to remove type="text" from the query input in the form field... longer fix would be to assign a new css class to the input field to style how you want it to look.

 

another way would be to find out what the code for the old form was before you removed it. :)

Link to comment
Share on other sites

Oh that is a hard one for me. :( I'm not a scripter

you don't really need to be a scripter to remove type="text" from the code! :)

 

Is it possible just to copy and past the script from this url; http://prntscr.com/fgllsn

into the front page?

that would just copy the form components - not the css... and I doubt you want to copy the WHMCS css across to the WordPress page as it might cause all sorts of layout problems.

 

WHW02Yv.png

 

that's what it looks like (above) if you make the two tweaks I made to the css class (below)..

 

gobFAKm.png

 

though as I say, ideally you would need to use a new class based on this as otherwise it might have consequences throughout the site.

Link to comment
Share on other sites

So even if I want to tweak it, it may cost problem on other parts of the website.

I had remove the "text" from the form only and the thing shrink in one small line so I had to place it back. :)

But seriously, what you are saying is that it maybe best to create a new class.

 

Why is it that when I'm coming up with a solution for a problem the next problem is on my doorstep.

That is really weird. :(

Link to comment
Share on other sites

So even if I want to tweak it, it may cost problem on other parts of the website.

only if you make the simple change I suggested - i've no idea how often that code is used elsewhere in the WP site, so that's why I said it may cause issues.

 

I had remove the "text" from the form only and the thing shrink in one small line so I had to place it back. :)

I noticed that too when I tried it in Firefox, but it was the quickest way of getting the alignment correct!

 

But seriously, what you are saying is that it maybe best to create a new class.

i'm saying that for this one form, you don't really want to change the existing class in case it's used elsewhere (though if it isn't, then change it).

 

you'd either have to do create a new class in your WP CSS or just use inline-styling on this one form.

 

Why is it that when I'm coming up with a solution for a problem the next problem is on my doorstep.

That is really weird. :(

it might be a little late now to do this, but if it were me, i'd have just modified the existing form that was there (found from Google cached version)...

<div id='domain-form'>
   <div id='wdc-style' >
       <form method='post' action='./' id='form' class='pure-form'> 
           <input type='hidden' name='item_id' value='https://hostxls.com/clients'>
           <input type='hidden' name='tld' value='com, net, org, info, biz,'>
           <div class='input-group large' style='max-width:900px;'>
                <input type='text' class='form-control' autocomplete='off' id='Search' name='domain' placeholder=''>
                     <span class='input-group-btn'>
                   <button type='submit' id='Submit' class='btn btn-default btn-info'>Search Domain</button>
                     </span>
           </div>
       </form>
   </div>
</div>

change the action URL, remove the two hidden fields, and change the name of the text input and it should have looked the same... but worked.

<div id='domain-form'>
   <div id='wdc-style' >
       <form method='post' action='https://hostxls.com/clients/cart.php?a=add&domain=register' id='form' class='pure-form'> 
           <div class='input-group large' style='max-width:900px;'>
                <input type='text' class='form-control' autocomplete='off' id='Search' name='query' placeholder=''>
                     <span class='input-group-btn'>
                   <button type='submit' id='Submit' class='btn btn-default btn-info'>Search Domain</button>
                     </span>
           </div>
       </form>
   </div>
</div>

 

JSLSRDI.png

 

but if you've made more changes to your WP, then that may no longer work.

 

btw - looking at that original form, it occurred to me why it no longer works (e.g only found .com and not the rest) - it's probably using the Bulk domain searching option of WHMCS, but that feature got removed in v7.

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated