centralnicgroup-opensource/rtldev-middleware-whmcs-ispapi-domainchecker

TLD Result Order

Closed this issue · 21 comments

Unfortunately the module doesn't seem to respect the order as set against each TLD in the WHMCS database, this results in the search results returning Adult domains by default at the top of the list - not necessarily the best thing.

It would be preferable for the module to respect the display order set in WHMCS (to avoid duplicate configuration).

Dear @domainregistrar

Thanks for creating this issue, we will follow-up tomorrow as our lead developer is in holiday today.
In the meanwhile, please be so kind and provide us further details:

  • PHP Version in use
  • WHMCS Version in use
  • ISPAPI HP Domainchecker Module Version in use

If possible, some screenshots showing this issue (and if possible also your configuration) would also help us to reproduce things much faster.

Thanks so much

Kai

Dear @domainregistrar

I've been in talk with our lead developer. The reason of the described behavior is the domain name suggestion feature, that you can activate or deactivate in the whois provider configuration by the appropriate checkbox. In case that feature is active, we just display that generated list unchanged and thus it does not match the configured tld order. We get that generated list from our backend system API which already applies a default sorting based on internal criteria. This is the main reason why we have not thought about rewriting it again.
If you deactivate that feature, it follows the configured tld order, but without having domain name suggestions.

We will discuss this behavior internally to follow-up next year.

Thanks for bringing this up! We leave this issue open as reminder.

Kai

Hi @Papakai

I'm not sure that's the case as I have suggestions disabled - unfortunately the suggestions were simply too off-the-wall to add value based on our tests.

It appears the results are roughly in line with the categories lists - as Adult domains are always first in the list, but there is a little movement in the order (when search for string with no extension to be clear) and a quick look at the code seems to show it's not actually doing any ordering, just pulling the TLDs from the DB and running checks (which would appear to explain the rough ordering from MySQL).

I think this may be more of a feature request than a bug to be honest, but if there is something there which is supposed to be managing the order - it could definitely be improved.

Thanks for the follow-up, we will have an eye on this.

Hey @domainregistrar

You can check the incoming new release (we have the domain name suggestions activated) at https://try-whmcs.hexonet.net (auth -> user: demo, password: demo)

We will switch domain name suggestions off there on friday.

In future we plan to also provide admin area access to customers so that they can also play around with settings and the latest changes there. In the upcoming domainchecker release, the admin area has improved a lot.

Hey @domainregistrar

You can check the incoming new release (we have the domain name suggestions activated) at https://try-whmcs.hexonet.net (auth -> user: demo, password: demo)

We will switch domain name suggestions off there on friday.

In future we plan to also provide admin area access to customers so that they can also play around with settings and the latest changes there. In the upcoming domainchecker release, the admin area has improved a lot.

The results there seem to be significantly better! - Although doesn't work over https:// had to drop the s as timeout with https...

Hm, looks like that's my fault and that instance only runs on HTTP. One reason more to review that setup.

Hey Kai!

Great work, Sir! Gotta love your new design and elements especially the "show available only" option. Here's our feedback:

  1. the domain suggestions take the user away from his desired keyword which may be available in other extensions. We think User is better off seeing his keyword in all extensions first and foremost. There should be a button for the user to enable/disable suggestions.

  2. "Use my IP" option does not appear to do anything. What is its function please?

  3. We didn't notice any speed improvements. Is this new interface superior to the older one in terms of speed?

Warm regards,
Frazer

@rocketdomains / Frazer,

Thanks a lot for that feedback. Especially point 1 leads me back to some thoughts that I already had months ago: Why don't we combine the default search (keyword with just the different TLDs) and the domain name suggestions somehow.
Currently this can be toggled in the admin area by configuring the lookup registrar, if you want to get domain name suggestions or just the keyword with different tlds as list.

There should be a button for the user to enable/disable suggestions.

Yes, or this as possibility. It's just a question, as we have this currently as reseller configuration in admin area, if every reseller would like that their customers could override that setting in browser. Maybe the idea is to move away from that reseller setting completely in direction of more flexibility in the domain search. A good point at least.

Point 2: "Use my IP" will use customers remote ip address to improve localization of the domain name suggestions. So if the IP belongs to a region in / or country CA, it gives domain name results near that region higher priority. The same applies to the language setting. I also recognized that using language results in better results compared to the ip address one. I can forward this to the devs.

Point 3: the availability checks might be a bit faster, as they just check the availbility using the hexonet api, just for premium domains (when activated), also price calculations are made on php-side.
The main point is of course the code review/cleanup and architecural review in direction of javascript.
I mean, if we already have availability check results for a certain domain name on that side, we can reuse it when switching the category for example (this is a lot faster! of course with TTL mechanism for these results) and in future we can apply there further ideas like sorting by domain name, by price, by ... Or different default views that can be configured by the reseller for his customer. etc.
JavaScript makes us a lot more flexible in direction of customer demands. That's the main point.

In general: if you have ideas, please address them to us. We have a list of ideas around our modules, we could add them. We are quite busy atm, but especially our WHMCS modules, I am pretty sure will improve a lot step by step.

fyi: I've deactivated the domain name suggestions. Now, you'll get the regular domain search mode.

So far so good.

As for ideas, the following will be useful:

  1. Icons for Categories
  2. Ajax Search Results as you type keyword
  3. Sorting & Price range
  4. Step by step, help find domain option like you have on your website
  5. Bulk search
  6. Additional Tags on Domains like "Hot", "Promo", etc.

As for admin side, it's currently very cumbersome to check/uncheck hundreds of checkboxes to apply settings. Not sure if it's a whmcs issue or one related to the module. If it's module, the admin side should have a "check all boxes" option to apply settings to all domains with one click.

Looking forward to seeing the admin side too.

Warm regards,
RD team

@rocketdomains thanks for the input, I've added them to our list - Let us see if / when this will get realised. Some of your points are already on our list. No ETA or further details on this for now.

As for admin side, it's currently very cumbersome to check/uncheck hundreds of checkboxes to apply settings. Not sure if it's a whmcs issue or one related to the module. If it's module, the admin side should have a "check all boxes" option to apply settings to all domains with one click.

I expect you're talking about the domain pricing configuration page? That's part of WHMCS by default, not our module.
We just have planned to analyze how we can align the WHMCS Domain Extension configurations (Grace period, etc.) to the HEXONET system configurations. This might lead to a further new module that combines configuration data import and pricing import, maybe more. That's at least what we have planned to check. Also no ETA.
For importing prices, we already have a module, but with missing auto-synchronization.
https://github.com/hexonet/whmcs-ispapi-pricingimporter

WHMCS in the 7.7.1 already provides some bulk management there (no idea when this got introduced):
image

HTH
... and sorry for the late reply, I was out of office.

🎉 This issue has been resolved in version 10.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Just a note: tomorrow we have a public holiday in germany. I am available on friday in case of unexpected issues.

Hey @domainregistrar / Dan,

thanks for letting us know. I forgot to mention that when upgrading, one has to follow the updated Usage Guide.
Let me know if that helped.
Otherwise, be so kind to create a new github issue and to provide screenshots + logs as far as possible.

TIA!
Kai

@domainregistrar / Dan
I published a bugfix release 10.0.2 today that includes fixes of path names to support different setups that are based on subfolders in url. Let me know if that helps. At least the issue you described I remember to be fixed by it.

just for your notice guys, as this might be confusing: the order of the tlds you can apply by drag'n'drop in domainchecker's backend is not considered as order of the search results. It is just thought for assigning TLDs to categories, nothing else.

The order of the TLDs configured on the "Domain Pricing" section matters. There you can reorder the TLDs as desired.

Thanks for clarifying. :-)