Jump to content

NameSpinner problems with too many name suggestions


techdruid

Recommended Posts

I'm running WHMCS version 6.0.2 and have enabled the new NameSpinner feature for eNom. The absolute minimum number of domains it allows to suggest is 10. I'd prefer to offer as few as 5, but it doesn't let you choose any less sadly. That is the least of my problems though.

 

While the feature works just fine when you start searching for a domain name from the home page, there appears to be a problem when you search for domain name as part of ordering web hosting. I'm using the comparison order form templates.

 

Basically, before it displays the number of configured suggestions (10 for me) from eNom name spinner, it FIRST displays 25 suggestions from some other source, I'm not entirely sure where. Anyway, it results in the display of 35 total alternative suggestions. I'm guessing that first 25 is coming from the old whois search, rather than the eNom name spinner module as the first 25 are simply finding the first 25 TLD's available for your exact/precise name search. There's no change in the second level domain name suggested for the first 25.

 

Has anyone else experienced this problem? Do you have a fix or workaround to disable those 25 suggestions? I also note that it will display all suggested alternatives EVEN IF your primary desired domain name is available.

 

At this point, I'm considering a hard hack of the template file to limit the number of displayed records. I'd much prefer not to use that as the solution. Because any update to the template from WHMCS will break my changes.

 

Thanks in advance for any suggestions.

Link to comment
Share on other sites

Do you have a fix or workaround to disable those 25 suggestions?

I would suspect those 25 suggestions are coming from the standard whois lookup settings.

 

http://docs.whmcs.com/Domain_Namespinning

 

Standard WHOIS - this checks domain availability using WHOIS servers directly, and is the default Domain Lookup provider used by WHMCS installations. When using this method, in addition to the users chosen domain name and TLD, the status of the same domain with other TLD extensions can be provided at the same time.

so go to setup -> general settings -> domains -> Domain Lookup (Standard whois) -> configure

 

deselect some of the TLDs in the "Additional TLDs to Search" selection box... perhaps to about 10 and then do another search and see if the number of results is reduced.

 

At this point, I'm considering a hard hack of the template file to limit the number of displayed records. I'd much prefer not to use that as the solution. Because any update to the template from WHMCS will break my changes.

if you change any client area templates, the general advice is to rename the specific template folder...

 

http://docs.whmcs.com/Client_Area_Template_Files

 

... then when you update WHMCS, you won't overwrite your changes - after each update, you can compare your template to the changelog details for template changes, or do a file comparison between the two to spot the differences and make the appropriate changes.

 

but if it's just a minor change or two, I think most users would simply make a note of those changes and then put them back in after the update. :)

 

I'm running WHMCS version 6.0.2 and have enabled the new NameSpinner feature for eNom. The absolute minimum number of domains it allows to suggest is 10. I'd prefer to offer as few as 5, but it doesn't let you choose any less sadly.

I don't use the Enom NameSpinner, but I suspect the only way you could change this value is by editing one of the files... in this case though, it's not a template file, but a javascript file - six/js/domainchecker.js

 

function showMoreSuggestions() {
   showCount = 0;
   jQuery("#suggestionResults tbody tr").each(function(index) {
       if (jQuery(this).hasClass('hidden')) {
           if (showCount < 10) {
               jQuery(this).hide().removeClass('hidden').fadeIn();
               showCount++;
           }
       }
   });

try changing that '10' value to whatever you wish and see if it makes a difference - you may need to clear the template cache to see the updated results.

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