Well 1st hello. Sorry for not being very active in this forum, I kind of forgot I was registered here. I will be more active from now on.
Anyways this hack is for the "Most Wanted Hack Contest". Okay as I have seen many, and I mean many forums that provide free hosting for their users in exchange of posts in their forum. (1 time and montly.) An example of this forum is :
http://www.dx-t.net/forums/ (i am not trying to advertise, just giving an example as i am not the owner of that hosting)
At the post for free hosting forums. You have to say post 20 posts to get a free hosting account + have like 3 posts weekly or monthly to keep the hosting active (depends on the hosting company).
How this should be done. It has to be like te uShop hack. There must be like a "Host Request Panel" that you will be able to see only if you have the minimum of post needed for the basic plan.
From there you can instantly activate your hosting account. i.e : You choose the plan you are eligible to, enter the username, password, email and subdomain you want and click on "Create". This will automatically connect to cPanel's Web Hosting Manager (used to give cPanel account) and create the account requested by the member. It will then e-mail or PrivateMessage the account information to the user that requested it. It will also e-mail or PrivateMessage the administrator that a user has created a hosting account (with his subdomain & username).
Now there also has to be a Host Request Section on the administrator panel here the administrator will provide the login details for the WebHostingManager(WHM) of cPanel so that the hack can access to the WHM automatically.
The fields you need on the administrator panel is:
1st the path to the WHM (as this may change from hosting to hosting)
2nd the username to login into WHM
3rd the password to login into WHM
4th the subdomains available to free hosters.
5th the plans. This I suppose will be pretty hard as there alot of fields for hosting plans in cPanel.
- Amount of WebSpace (in megabytes)
- Amount of Bandwidth (in megabytes)
- Amount of mySQL DB
- Amount of postgreSQL DB (depends if the host support it)
For number 5 above, there is a possibility to have preset hosting plans on WHM. So I'd guess that if we wrote the same exact name of the plans that we already have preconfigured on WHM, it'll be alot easier.
6th requirements for the plans. i.e. How many posts do you need to order the hosting plan then how many posts weekly (or monthly at administrator's discretion) do we need to keep the hosting plan.
For number 6 above, as there is a function to suspend account on WHM, the Hack should do it automatically if the post quota per week isn't reached. And should unsuspend the account automatically after the quota is reached. This should be done at the end of the week if the quota for the week hasn't been reached (not the beginning of the week). The should also be a cumulation of post. As if someone has posted 10 posts the 1st week and he only needs 5 posts per week, then he shouldn't have to post the next week. (I hope you get what I mean)
There should however be exceptions on this as some staff member (like super moderators or support staff or whatever) should not have to post weekly. This should be at the administrators discretion as to which staff member is exempted from posting weekly, and which staff member is not.
7th. There should be an option in the Admin control panel when editing a user's information that he is on vacation. This will be determined with 2 dates, "vacation's start date" and "vacation's end date". When the user is in vacation, his hosting account will not be suspended and no posting requirements are needed. The dates of the vacation should only be edited by the administrator or the users will abuse of it.
And that's about it. Hope I haven't forgotten anything. And i guess it is detailed enough . If you want more information on it, don't hesitate to reply on this thread or to PrivateMessage me.
If my hack is chosen, I can provide a cPanel and WHM account to the coders so they can test out their hack.
Thank You.
- CrystaLizeD