+ Reply to Thread
Results 1 to 4 of 4

Thread: Removing extra tlds

  1. Join Date
    Dec 2004
    Posts
    2

    Removing extra tlds

    Hi

    I have just setup epdev whois, but only want to have com, net and org domains for sale


    I have spent some time deleting the other tld settings from config.pl but each time get different error messages usually from line 138, could you explain which bits
    I actually need to remove and alter

    Thanks

    Zoey

  2. Join Date
    Aug 2004
    Posts
    781

    Removing extra tlds

    You can remove those domains from the whois modifying

    Code:
    $NAMESERVERS['servers'] = array(
       "whois.crsnic.net" => ".com, .net, .edu",
       "whois.publicinterestregistry.net" => ".org",
       "whois.nic.uk" => ".org.uk, .co.uk",
       "whois.nic.us" => ".us",
       "whois.neulevel.biz" => ".biz",
       "whois.afilias.info" => ".info",
       "whois.website.ws" => ".ws",
       "whois.nic.name" => ".name",
       "whois.nic.cc" => ".cc",
       "whois.cira.ca" => ".ca",
       "whois.cnnic.cn" => ".cn, .com.cn, .net.cn, .org.cn",
       "whois.nic.tm" => ".tm",
       "whois.domain-registry.nl" => ".nl"
       );
    or you can remove them from the price table (but not the whois) by adding an entry to:
    Code:
    $CONF['price_table_exclude'] = array(
       ".tm",
       ".kids.us",
       );
    ** DON'T FORGET**
    If you remove the TLDs completely from the whois, then you should also modify:
    Code:
    $CONF['tld_search'] = array(".com", ".net", ".org");

    I have included an example of the modified settings that will remove the .com, .net, and .org :
    Code:
    $NAMESERVERS['servers'] = array(
       "whois.crsnic.net" => ".edu",
       "whois.nic.uk" => ".org.uk, .co.uk",
       "whois.nic.us" => ".us",
       "whois.neulevel.biz" => ".biz",
       "whois.afilias.info" => ".info",
       "whois.website.ws" => ".ws",
       "whois.nic.name" => ".name",
       "whois.nic.cc" => ".cc",
       "whois.cira.ca" => ".ca",
       "whois.cnnic.cn" => ".cn, .com.cn, .net.cn, .org.cn",
       "whois.nic.tm" => ".tm",
       "whois.domain-registry.nl" => ".nl"
       );
    Hope this helps

  3. Join Date
    Dec 2004
    Posts
    2

    Removing extra tlds

    Thanks that did the job, am I able to link that to paypal faily easily

    Regards

    Zoey

  4. Join Date
    Aug 2004
    Posts
    781

    Removing extra tlds

    I am not sure how to link it to paypal. You will have to login to paypal and see what types of order forms / format of order form (as in an html <form>) they offer, then modify the whois script:

    Open templates/template.php, find function show_results_avail($domain_info)

    and then modify the html below it accordingly.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts