In WHMCS when you suspend a cyberpanel hosting account, it suspends the whmcs package and it also suspends the website in cyberpanel.
Is it possible you can make it so it also suspends the user as well as the website through WHMCS?
> @hennaboy I hope someone would update the module, its very useful especially when you're using Enterprise
I will look into it this week. Probably will do a whole module revamp as it was writting some time ago. If there are other feature requests regarding module, let me know here.
I haven't used it in sometime so I thought it was default behavior.
What do you think about:
- check if user has no other site, if true then terminate user
- or check if user's acl is 'user', if true then terminate all sites and user
This would need to be added on cyberpanel side though.
Comments
I will look into it this week. Probably will do a whole module revamp as it was writting some time ago. If there are other feature requests regarding module, let me know here.
I checked the available api but this function is not available:
https://github.com/usmannasir/cyberpanel/blob/stable/api/urls.py
https://cyberpanel.docs.apiary.io/#
I can't add any new feature which api doesn't support, it's upto cyberpanel what it want to do with the provided inputs.
> Is it possible you can make it so it also suspends the user as well as the website through WHMCS?
suspension/unsuspension calls submitWebsiteStatus, I don't remember it's exact function.
> Is it possible you can make it so it also suspends the user as well as the website through WHMCS?
Website is suspended when user is suspended through api. Are you asking something different?
kasperirelan is pointing when the account is suspended/terminated in whmcs -> they shouldn't be able to to login in cyberpanel
and when their account has been terminated --> their user account in cyberpanel should also be deleted
What do you think about:
- check if user has no other site, if true then terminate user
- or check if user's acl is 'user', if true then terminate all sites and user
This would need to be added on cyberpanel side though.