![]() |
Would it be possible to get this working with my admin panel?
Edit: Does it come with a userpanel when you pay? |
wow this is some major stuff here.
good job. |
Quote:
Quote:
|
I don't have cpanel, so it doesn't autmatically create a subdimain/ftp ect.
My hosting provides their own unique admin panel. Would it be possible to edit the hack to make it work on mine? Also: Do you include the cpanel files with the retail version. |
Quote:
Even if you did have cpanel it wouldn't automatically set up the account. My product was coded around WHM and cPanel but you can still give someone hosting. If you were to make a subdomain for me I would have Subdomain: harmor19.gmodcentral.com FTP: harmor19@gmodcentral.com (Used as username) Is that correct, Jesus05uk? (That was a choppy paragraph) I do not include the cpanel files with the retail version. |
Wow, very cool indeed.
|
Quote:
|
Quote:
|
Quote:
To clear things up most hosting web site use a "Web Hosting Manager" to create accounts, not cPanel. I don't plan on coding it but if I come across a way to do it I might consider it. |
With the paid version, is all this automated? I dont want to manually add every new account on my WHM.
And does the pay version offer a brand free download? Thank you again |
If you were looking for the basic way in php here is something you may be able to work with
Code:
require ?/usr/local/cpanel/Cpanel/Accounting.php.inc?; |
Quote:
Quote:
What would the "access hash" be? |
In order to create an account via the api you have to have the access key. You find this by logging into whm and go to the section Cluster/Remote Access and click setup Remote Access Key. You will be presented with the current key to allow your script to create the accounts.
In your vHosting script that would need to be in a settings section for users to edit as well as the $user variable which is the whm user they are using to create the account with. Feel free to contact me via msn which is in my profile here or on my gaming community site which is in my sig. I do have other messengers as well if needed. |
I would also suggest to have your script have the option for the admins to restrict users appling for a package to use only a subdomain which could be turned on or off. I personally would restrict users to only a subdomain basically like advertising and such. If that is already an option sorry for posting as I have not installed this yet until the automation is coded but will click install for ya and myself to keep and eye on this.
|
New install I get: Database error
|
Well my guess is because I have installed VB image hosting, and I get the following error:
MySQL Error : Table 'hosting_plans' already exists |
I get a error when trying to add a package:
Quote:
|
It appears this part has a typo
Open admincp/admin_hosting.php and search for Code:
INSERT INTO " . TABLE_PREFIX . "`hosting_plans` Code:
INSERT INTO " . TABLE_PREFIX . "hosting_plans |
a big thumbs up to you TCooper...
|
a new problem now:
Quote:
I also get a similar one if I click decline. Quote:
|
I take it that fixed the problem. Sure harmor19 will update the zip for everyone else until then that I guess fixed it.
|
Ok think I found that problem as well.
Open hosting.php Search For: Code:
$db->query_write("DELETE FROM temp_host_request WHERE userid = '".$db->escape_string($vbulletin->GPC['postuserid'])."' "); Code:
$db->query_write("DELETE FROM " . TABLE_PREFIX . "temp_host_request WHERE userid = '".$db->escape_string($vbulletin->GPC['postuserid'])."' "); |
I will try them now
that worked a treat. thanks again. |
Make sure you got it twice as it appears twice in that file.
|
yeah I got the 2 of them.
|
Thank you TCooper for helping. I'll contact you about the automated account creator script later today.
DigitalDesktops is the only person that got an error which I think is weird. I'll fix the typos and re-upload. |
woot I am special :D
|
I have fixed the errors reported and uploaded a new package.
|
Quote:
|
Quote:
You can uninstall the product and reimport it again. directions on uninstalling are in instructions.html, on the last row. Edit: 'vB Image Hosting' does not use "hosting_plans" as a table name. |
Now I'm getting the following:
PHP Code:
|
Another Error:
PHP Code:
|
Quote:
First run the "uninstall_hosting.xml" again. Download the attachment in this post and import it as a product. |
Quote:
|
Quote:
Please click the "Install" button. It's located below the page navigation. |
Well new problem, I click on Hosting Options:
Them I get the following: Quote:
I go to the Administrator Permissions section and select Can Administer Hosting to yes but it will not do anything Yes, I will click install as soon is installed. :D |
Quote:
Make sure you have updated the bitfields. It explains how in the instructions. |
I had done all that:
here is another error: Quote:
|
Let's try this again shall we.
Uninstall vHosting from your product manager and import the attached version. You'll need to update the bitfields again. |
Did not work either!
Maybe attaching some pictures for you will help! Pictures attached: Attachment 52640 Attachment 52641 Attachment 52642 |
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|