Jump to content

[RESOLVED] 3.6.1 Domain Checker


Recommended Posts

When looking for a domain name with Domain Availability Checker I have found de following:

 

Simple Domain Search:

 

- If I enter a name but don't check any tld and don't put captcha code, I have the error:

Please enter the security code shown in the image - this is required to prevent automated submissions

Nothing about the tld.

- If I enter a name but don't check any tld and put captcha code, I have no error. But the search of course has not any result.

 

Bulk Domain Search:

 

- If I enter a name without his tld and don't put captcha code, I have no error. But the search of course has not any result.

- If I enter a name without his tld and put captcha code, I have no error. But the search of course has not any result.

- If I enter a name with his tld and don't put captcha code, I have no error. The search has a result.

 

Thank you.

Link to comment
Share on other sites

  • WHMCS CEO
- If I enter a name but don't check any tld and don't put captcha code, I have the error: Please enter the security code shown in the image - this is required to prevent automated submissions. Nothing about the tld.

- If I enter a name but don't check any tld and put captcha code, I have no error. But the search of course has not any result.

- If I enter a name without his tld and don't put captcha code, I have no error. But the search of course has not any result.

- If I enter a name without his tld and put captcha code, I have no error. But the search of course has not any result.

- If I enter a name with his tld and don't put captcha code, I have no error. The search has a result.

These seem logical? No domains entered = no search. No valid domains entered = no search. No TLDs selected = no search.

 

Only thing which should be there is the error message on the bulk checker for when the captcha code isn't entered. Will check that.

 

Matt

Link to comment
Share on other sites

  • 2 weeks later...
i encountered this "problem" after the upgrade, but i didn't change the domainchecker.tpl

For both checkers, can't you have it strip off .xxx so if someone mistakingly types mydomain.com it just strips the .com and processes the search? I know it is very easy to do in php and I would make the change myself but we are obviously locked out of the code.

 

Also, my domainchecker and bullkchecker do not make suggestions. I thought they did before. If mydomain.com is taken, it should suggest any available domains based on the tlds I sell.

Link to comment
Share on other sites

this is what my domainchecker.php looks like:

http://www.usmhosting.com/billing/whmcs/domainchecker.php

no option for simple or bulk, not able to search. the domainchecker.php looks like the same as in the upgrade.zip. I just looked over the upgrade instructions again and it did not say I needed to manually copy over templates. It does say "It is important to always remember to update your templates" Ok, so I checked and it looks like the templates that you listed have the same timestamps in the install distro that is in my live site.

Now what?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

I just had to overwrite the domainchecker.tpl file in the template folder and it now works.

 

I have another question now, though... How do I change the domain checker page so that some tlds are checked automatically?

Link to comment
Share on other sites

  • 4 weeks later...

you would have to override the for loop and spell them out manually as such...

 

<form id="register-domain-form" action="domainchecker.php?systemtemplate=ss-domain" method="post">
<fieldset id="step1" class="STRUCTURE-incognito">
	<legend>Step 1: Enter desired domain name</legend>
	<label class="hide" for="desired-domain">Domain Name</label>
	<input id="desired-domain" class="domain-input" type="text" name="domain" value="{$domain}" tabindex="1" />
</fieldset>

<fieldset id="step2" class="STRUCTURE-incognito">
	<legend>Step 2: Select desired extensions</legend>
	<div class="tld-group">
		<label for="org"><input id="org" type="checkbox" name="tlds[]" value=".org" tabindex="4" /> .org</label>
		<label for="name"><input id="name" type="checkbox" name="tlds[]" value=".name" tabindex="7" /> .name</label>
		<label for="org.uk"><input id="org.uk" type="checkbox" name="tlds[]" value=".org.uk" tabindex="10" /> .org.uk</label>
	</div>
	<div class="tld-group">
		<label for="net"><input id="net" type="checkbox" name="tlds[]" value=".net" tabindex="3" /> .net</label>
		<label for="biz"><input id="biz" type="checkbox" name="tlds[]" value=".biz" tabindex="6" /> .biz</label>
		<label for="co.uk"><input id="co.uk" type="checkbox" name="tlds[]" value=".co.uk" tabindex="9" /> .co.uk</label>				
	</div>
	<div class="tld-group">
		<label for="com"><input id="com" type="checkbox" name="tlds[]" value=".com" tabindex="2" /> .com</label>
		<label for="info"><input id="info" type="checkbox" name="tlds[]" value=".info" tabindex="5" /> .info</label>
		<label for="us"><input id="us" type="checkbox" name="tlds[]" value=".us" tabindex="8" /> .us</label>
		<div id="more-exts" class="light-links"><a href="domainchecker.php?search=bulk&systemtemplate=ss-domain">...all exts</a></div>
	</div>

</fieldset>

{if $capatacha}
<div>
	{if $inccode}{$LANG.imagecheck}{/if}
	<img src="includes/verifyimage.php" alt="">
	<input type="text" name="code" size="11" maxlength="5">
</div>
{/if}


<fieldset id="step3" class="STRUCTURE-incognito">
	<legend>Step 3: Check their availability</legend>
	<input class="domain-go-btn.jpg" type="image" src="{$systemurl}/templates/{$template}/gfx/go-btn.jpg" alt="{$LANG.go}" width="43" height="30" tabindex="12" />
</fieldset>
</form>

 

 

making sure to add checked="checked" to the inputs you want checked by default

 

Taine

Pearance

Link to comment
Share on other sites

Its relative wether or not this is a bug or not, I'll call it a modification request. After doing a search via the domainchecker.php it redirects to cart.php?a=add&domain=register if no domains are selected and the form is submited. My modification request is for the domainchecker.php to return back to itself if the user makes a mistake and clicks the submit button with no domains selected.

 

Taine

Pearance

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