malfunction Posted November 7, 2011 Share Posted November 7, 2011 Reading around here a bit it seems the "recommended way" to add an IP address to a hosting account is to use a custom field for it, and not the Dedicated IP field which is where I have them at the moment. http://forum.whmcs.com/showthread.php?t=6618 for example Have I overlooked something important putting them there, seems simpler and more logical to me, or do I instead need to create new custom IP fields for every single product and try and move all the IPs to there? Any advice from long time users would be very welcome, thanks. Once that's clarified I have to try and get that IP value into my server provisioning module, but I want to be sure I'm chasing the right variable first... 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted November 9, 2011 Share Posted November 9, 2011 No. Use the dedicated IP field. 0 Quote Link to comment Share on other sites More sharing options...
malfunction Posted November 9, 2011 Author Share Posted November 9, 2011 Thanks Rob, just needed a word from the wise to make sure I wasn't overlooking anything. Now I just have to figure out how to fetch the value of $dedicatedip and I'll be in good shape 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 9, 2011 WHMCS Support Manager Share Posted November 9, 2011 Where do you want to display it? It's listed on the product details page by default. 0 Quote Link to comment Share on other sites More sharing options...
malfunction Posted November 9, 2011 Author Share Posted November 9, 2011 Thanks, it's for an account provisioning module, where strangely the value of 'dedicatedip' isn't available and you're using 'configoption2' instead. That's why I asked if I was on the wrong track somehow as serverip, configoption2 and custom fields are all right there, but the obvious choice (the actual IP the site will be hosted on) isn't. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 10, 2011 WHMCS Support Manager Share Posted November 10, 2011 Add {debug} to your template file and then visit the page, you'll see a popup listing the available variables (the configoption2 option should be amongst them). You can then use that variable to display the value on the page. 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.