Jump to content

Auto enable DNS Management in WHMCS for Domains


Danse

Recommended Posts

Hi, does anyone has a Hook which auto enables the DNS of new Domains in WHMCS? 

Customers always complaining that DNS Management is missing and i have to switch that on, all the Time. 

And i wont take this as upselling position. So activate DNS Management in Frontend for "0$" is aswell not suitable for me. 

It just be there and done 🙂

Any Suggestions, or Code Templates? 

Edited by Danse
Link to comment
Share on other sites

But this just sets it active for WHMCS, no DNS created at registrar level, i guess. Right?

Use the PreRegistrarRegistration hook to manipulate $params["dns management"] (by changing $vars accordingly) to always be 1 and to toggle dns management using the mentioned Domain Class to 1.

Just my 2 cents. HTH

Edited by PapaKai
Link to comment
Share on other sites

Thanks. I just need the DNS "Customer can Edit" Option to be enabled always per default. 

I also took same code and made that for aftertransferevent. 

So if register or transfer, die DNS Management in Frontend is activated per default. 

Anyways, thank you!! 

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.

×
×
  • 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