hostxls Posted June 5, 2017 Share Posted June 5, 2017 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 5, 2017 Share Posted June 5, 2017 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 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 5, 2017 Author Share Posted June 5, 2017 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. 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 5, 2017 Author Share Posted June 5, 2017 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! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 5, 2017 Share Posted June 5, 2017 I think the problem was you had renamed your "resources" folder to "resource" - i've changed it back to "resources" and it seems ok to me now. 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 5, 2017 Author Share Posted June 5, 2017 You are my hero brian. I wouldn't have think about that. How did you know? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 5, 2017 Share Posted June 5, 2017 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... 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 6, 2017 Author Share Posted June 6, 2017 (edited) Well what i did is, I have use the WHMCS TLD search code instead of the one of the theme. The only problem with this is that the button is on the left and not on the right. How can I make changes to the form script to make look like : http://prntscr.com/fgksnl Edited June 6, 2017 by hostxls 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 6, 2017 Author Share Posted June 6, 2017 Well what i did is, I have use the WHMCS TLD search code instead of the one of the theme. The only problem with this is that the button is on the left and not on the right. How can I make changes to the form script to make look like : http://prntscr.com/fgksnl 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 6, 2017 Share Posted June 6, 2017 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. 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 6, 2017 Author Share Posted June 6, 2017 Oh that is a hard one for me. I'm not a scripter Is it possible just to copy and past the script from this url; http://prntscr.com/fgllsn into the front page? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 6, 2017 Share Posted June 6, 2017 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/fgllsninto 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. that's what it looks like (above) if you make the two tweaks I made to the css class (below).. 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. 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted June 6, 2017 Author Share Posted June 6, 2017 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 7, 2017 Share Posted June 7, 2017 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> 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.