Scriptonite Posted December 2, 2013 Share Posted December 2, 2013 I apologize if this was answered somewhere but I was unable to find any information on the forum or in the documentation. I offer free cPanel accounts with DNS control, forwarding, and an email with any domain purchase. The issue is I have had several sign-ups that are using existing domains registered elsewhere and the checkout process allows it to go through and gives them a cPanel. I don't want spammers setting up accounts on domains that may have had the IP blacklisted on other servers and are then moving to spam from my server. How can I make sure the domain is registered during the checkout process before it provisions an account for them? Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 3, 2013 Share Posted December 3, 2013 if you don't want them to be able to use existing domains with any of your services, you can disable the option in settings. setup -> general settings -> domains -> untick "Allow clients to use their own domain" I guess in your example, you may also need to disable transfers too. 0 Quote Link to comment Share on other sites More sharing options...
Scriptonite Posted December 3, 2013 Author Share Posted December 3, 2013 Thank you for your response, it seems this setting will not allow them to use their own domains at all. I just want to disable the use of their domain for this service/hosting package only. Can it be set per package/plan? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 3, 2013 Share Posted December 3, 2013 not using the admin settings, but you could probably modify the order form template to do this - which orderform template are you using? 0 Quote Link to comment Share on other sites More sharing options...
Scriptonite Posted December 3, 2013 Author Share Posted December 3, 2013 I am currently using the Verticalsteps, I will try to look at it this evening and see if I can add anything to the template to avoid it. I'm not experienced with smarty however so any suggestions would be greatly appreciated. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 3, 2013 Share Posted December 3, 2013 I am currently using the Verticalsteps, I will try to look at it this evening and see if I can add anything to the template to avoid it. I'm not experienced with smarty however so any suggestions would be greatly appreciated. in the Verticalsteps folder, there is a template file called - configureproductdomain.tpl - open it up and edit the following (at line 34 on mine): {if $owndomainenabled} change it to... {if $owndomainenabled and $productinfo.pid neq "20"} so for all products, apart from the one with the product ID of 20, the client can use their own domain - for pid 20, they cannot. now for you the pid won't be 20 (or if it is it's a complete fluke!) - you'll need to go to products/services, find the product you want to disable this option for, click on "Links" and find the direct shopping cart link - it should be something like... cart.php?a=add&pid=20 - you will then need to make a note of whatever the number is after "pid=" and put that in the above code instead of 20. hope that helps. 0 Quote Link to comment Share on other sites More sharing options...
Scriptonite Posted December 6, 2013 Author Share Posted December 6, 2013 That seems to have done the trick, the pid was 30 so it was close. PM your email for paypal, i'll buy you a beer. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.