Jump to content

New Enom Name Spinner


Recommended Posts

Thanks for that confirm.

Damn shame, would probably be a good idea to find a better spinner!

 

Feel free to write one up, I've heard of other registrars providing APIs for name suggestions. I went with ENOM because that is what I use.

Link to comment
Share on other sites

  • Replies 174
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Maybe we should bug Enom en-masse ;):-P

 

Or take their results, strip off the tld, thin out to unique only suggesting, build an array of all your tlds+each suggestion, check them for availability, and list those available with an order link, sorted by relevance/length/tld/todays-weather

 

:D

Link to comment
Share on other sites

Here is the error i have

 

User not permitted from this IP address - 4

 

<?xml version="1.0"?>

<interface-response>

<Command>NAMESPINNER</Command>

<Language>eng</Language>

<ErrCount>1</ErrCount>

<errors>

<Err1>User not permitted from this IP address - 4</Err1>

</errors>

<ResponseCount>1</ResponseCount>

<responses>

<response>

<ResponseNumber>713254</ResponseNumber>

<ResponseString>Policy error; unauthorized; user(s)</ResponseString>

</response>

</responses>

<MinPeriod>0</MinPeriod>

<MaxPeriod>0</MaxPeriod>

<Server>sjl01wresell15</Server>

<Site>eNom</Site>

<IsLockable>False</IsLockable>

<IsRealTimeTLD>False</IsRealTimeTLD>

<TimeDifference>+0.00</TimeDifference>

<ExecTime>0.016</ExecTime>

<Done>true</Done>

<debug></debug>

<TrackingKey>c80f4857-664a-4608-8e11-73dcfb646a4d</TrackingKey>

</interface-response>

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Simply create a second file called enomlogin.php and put these three lines in there between the php tags:

<?php
//Edit these to your actual enom username and password
$enomid = "enomuser";
$enompw = "enompass";
?>

 

Then replace those three lines from the template with:

include('/path/to/enomlogin.php');

 

More efficient way instead of just doing a simple php file with static variables, do this:

 

	$query = "SELECT setting,value FROM `tblregistrars` WHERE registrar='enom' AND (setting='Username' OR setting='Password')";
$result = mysql_query($query) or die(mysql_error());  

while($row = mysql_fetch_array( $result )) {
	$setting = $row['setting'];
	$enom[$setting] = $row['value'];
}

$enomid = decrypt($enom['Username']);
$enompw = decrypt($enom['Password']);

Link to comment
Share on other sites

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

Hi Ive just added your script and am using ttp as my registerar with some domains and enom for a few other and am getting this error.

 

Warning: Invalid argument supplied for foreach() in /home/dream/public_html/hosting/templates_c/%%4C^4CC^4CC6F3F0%%namespinner.tpl.php on line 140

 

Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/dream/public_html/hosting/templates_c/%%4C^4CC^4CC6F3F0%%namespinner.tpl.php on line 146

 

Any seggestions would be great in fixing this.

Link to comment
Share on other sites

@inline3

The script has been updated to version 1.5 which should fix these warnings you were seeing. Please get the new version at http://ideamesh.com/file/15/WHMCS-ENOM-NameSpinner-v15.html

 

Which registrar you ultimately use to register the domains does not affect the functionality of this add on. You just need an Enom API account.

 

@DataViking

I would need more info to figure out why it doesn't work for you. Have you tried turning on debugging in the add on and seeing what is being returned by Enom's API?

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I tried to use it but nothing happen no erros o result at all.

I placed the namespinner.tpl at my template folder (portal) and modified the domainchecker.tpl file at the same folder.

And modified the files namespinner.tpl, configureproductdomain.tpl at web20cart folder (those where the tempaltes I set at WHMCS).

 

Could you please let me know where to start to troubleshooting?

 

Thx in advance

Link to comment
Share on other sites

Make sure to place the namespinner.tpl file in your /whmcs/templates directory, NOT your customized templates directory or any other template directory. I assumed, wrongly, that namespinner.tpl should be in with the rest of the template files but I was incorrect.

Link to comment
Share on other sites

  • 2 weeks later...
Make sure to place the namespinner.tpl file in your /whmcs/templates directory, NOT your customized templates directory or any other template directory. I assumed, wrongly, that namespinner.tpl should be in with the rest of the template files but I was incorrect.

 

I did that but still the same error

Link to comment
Share on other sites

  • 4 weeks later...

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