Results 1 to 2 of 2

Thread: Modify Account / Username Hook

  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    9

    Question Modify Account / Username Hook

    Hi,

    We need a hook to be able to run when an account is modified (via WHM).

    We need it to be able to check if the command is being run by a reseller, and if it is on their own account so we can prevent them from changing their own username. I know this can be done by ensuring they don't own their account, however we want them to own their account, just not change their username (removes the link to our billing system).

    Related thread (2009): Modify Account Hook

    Thanks!

  2. #2
    Registered User
    Join Date
    Jul 2012
    Posts
    1
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Modify Account / Username Hook

    Hello,

    Modify Account Hook is very necessary for us to, because without this hook, we have a big problems, such as when user's main domain is changed.

    For example, we provide for our clients hosting with PHP running in FastCGI mode through FCGIWrapper. We use the domain name for name of the file wrapper. This allows us to set PHP version for a specific domain. This scheme works fine.

    But, when we change the main domain for user through WHM, we do not have a chance to get data about the changes to any our script and make changes automatically. For example: change name of the file wrapper or unique way to it.
    This leads to a web server crashes, because apache can't find new FCGIWrapper file or path for it.

    Yes, we need to first manualy change the name of the file wrapper (or path to it) and only after that do change main domain via WHM.

    It is very inconvenient and requires a lot of manual work, as some of our users have the 50-200 domains on account.

    We would be very grateful if you speed up the development of this feature.

Similar Threads

  1. Any updates on modify acct hook?
    By Svintoo in forum cPanel Developers
    Replies: 4
    Last Post: 02-25-2011, 01:13 PM
  2. modify acct hook
    By blargman in forum cPanel Developers
    Replies: 0
    Last Post: 02-03-2010, 08:54 AM
  3. Modify Account Hook
    By Snipehunter000 in forum cPanel Developers
    Replies: 4
    Last Post: 12-14-2009, 08:44 AM
  4. HTTPd crashes on modify account ( username change )
    By Ferdinant in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 07-14-2006, 09:49 AM
  5. Bug in "Modify An Account" Username change messed up reseller account
    By sexy_guy in forum cPanel & WHM Discussions
    Replies: 17
    Last Post: 08-22-2003, 10:00 PM

Tags for this Thread