Lately I have been thinking of making a script for WHMCS that uses the Webuzo API to setup hosting accounts and manage database and everything through WHMCS.
There is one thing stopping me from doing this as there is one thing that I need and is not in the API, and that's the ability to change a domains path, I need this function to be able to effectively suspend an account, I can easily lock the user from accessing their FTP account by temporally changing the password and then restoring the password upon un-suspension, but I have not found a realistic way of making the actual website inaccessible like on the leading hosting control panels.
My idea was to temporally change the path to another directory on the server to a suspended page, and once un-suspended it gets reverted back to the proper path.
Can this be achieved or can you come up with another way of doing this, of course I will be using PHP to accomplish this.