New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Create a custom field for the product and populate it using your PHP code in the module create function. You can then reference it in emails with the custom fields variables that are built in. It then gives you the options to edit, resend emails and display in the client area.
That sounds like a lot of extra work and unnecessary complexities.. Since the ports allocated are simply a multiple of the last octet of the private IPv4 address, it would seem to make sense to simply 'explode' the IP at '.', get the last entry, and append a couple of zeros to it.
Easiest solution would be to just build a small PHP page where you can input your private IP, and you get the details there. It has the added benefit of not actually having anything to do with WHMCS, meaning WHCS can't brake it, and IT can't brake WHMCS.
@randvegeta
I'm feeling nice today, and since providers that offer NAT often lose money on their services, here's my gift to them.
https://phpdev.andrew-hong.me/portcheck/
No PHP needed. Download it at https://phpdev.andrew-hong.me/portcheck/portcheck.zip
This is going to be useful, thank you for your contribution!
Can do whmcs or this, you can choose and give me a pmIf you already have logic written to find port, and I don't encounter any problems, I can probably do it for nothing