Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 610 Vote(s) - 3.65 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WHMCS server's screen - adding custom fields

#1
I'm developing a WHMCS provisioning module for a client. Its mostly standard stuff but they have a requirement to have some custom fields in the server's config screen.

I know how to add custom fields in the products config screen, but I can't find any details on how to do that in the server's screen...

Anyone done anything like that?

Thanks,

[![enter image description here][1]][1]

John


[1]:
Reply

#2
The server modules were not really designed to do this. I have seen your goal accomplished two ways:

1) You can overload the AccessHash field to store json or some other kind of structured data. This is easiest for the module implementor but is going to be a challenge for users of the module if they are not comfortable with the format you use.

2) You can write an addon module with an interface to allow you to store extra metadata for the server module. This allows you to present an interface to the end user and do much more input validation, however it requires they copy files to two locations and activate two modules to fully use the service.

Unless this is a quick / dirty hack that will only be maintained in a single installation, I would go with the second options.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through