finehost
12-11-2004, 07:40 AM
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 ;)
Patrick
12-11-2004, 10:59 AM
You can remove those domains from the whois modifying
$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:
$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:
$CONF['tld_search'] = array(".com", ".net", ".org");
I have included an example of the modified settings that will remove the .com, .net, and .org :
$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 :)
finehost
12-11-2004, 12:50 PM
Thanks that did the job, am I able to link that to paypal faily easily
Regards
Zoey
Patrick
12-11-2004, 04:44 PM
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.
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.