vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - vHosting Lite (https://vborg.vbsupport.ru/showthread.php?t=124604)

harmor19 02-06-2007 01:36 AM

Quote:

Originally Posted by butty (Post 1174233)
i bought the pro version off andrew the other day. it is quite a complex system and he is still working on documentation etc and so a lot of help was needed integrating it into my site

it works great though. andrew is a very patient and nice guy, i reccomend purchasing this product to one and all

Thanks for recommending this hack.

My weak point is my documentation. When I try to write any type of tutorial or directions I try to cut it short which is not good for someone who is new to the subject. Right now I'm changing how something works so I'm focusing my time on that. Hopefully I can get a team to help with the documentation in the future.

eLetHe 02-26-2007 10:27 AM

Hello :)

Thank you for this great hack ;) I have clicked install and using it ... Amazing :D

But i have one question, the automatic part. Where the user account creates itself! Is that feature only in the pro version? Or is it automatic creation in the free version to?

Kindly Regards
Freddy

harmor19 02-26-2007 01:47 PM

Quote:

Originally Posted by eLetHe (Post 1190994)
Hello :)

Thank you for this great hack ;) I have clicked install and using it ... Amazing :D

But i have one question, the automatic part. Where the user account creates itself! Is that feature only in the pro version? Or is it automatic creation in the free version to?

Kindly Regards
Freddy

It's in the free version too.

MrPHD 02-26-2007 03:09 PM

Nice Work, Installed and running. thanks

Deimos 02-28-2007 01:04 AM

Very nice mod, thanks alot for releasing it

Small problem, when I submit a test request for hosting, it goes through ok, I click accept in the thread, which works to, but I don't get a PM with my hosting details?

Any idea why?

It's setting up the hosting account via WHM, but sets the disk quota to "Unlimited", as opposed to the figure I put in
Also, when trying to delete a hosting account via the user search bit, it kept timing out and the error had http://xenweb.net:2086/ in it
I searched the hosting.php file and found the two entries which pointed to another whm (http://xenweb.net:2086/scripts2/dolimitbw?user=".$hp)
Changed it to my own domain and it no longer timed out
But, even though it says it's been deleted, the account remains in whm and doesn't work either, although 'im wondering if that's a WHM issue?

eLetHe 02-28-2007 01:11 PM

Hello!

I have the problem that the accounts doesnt get setup in whm :S

I edited the whm url, and the username and password. Myself i tought it was supose to be a Remoce Access Key, but i cannot see a place to enter it!

What do i do?

Elethe

Triality 03-01-2007 05:22 PM

Quote:

Originally Posted by eLetHe (Post 1192616)
Hello!

I have the problem that the accounts doesnt get setup in whm :S

I edited the whm url, and the username and password. Myself i tought it was supose to be a Remoce Access Key, but i cannot see a place to enter it!

What do i do?

Elethe

i am also having this problem. also, if my board has multiple administrators and I want the private message that is sent to the accepted user from a specific admin. how do i set who the private message is sent by?

harmor19 03-01-2007 06:24 PM

Quote:

Originally Posted by eLetHe (Post 1192616)
Hello!

I have the problem that the accounts doesnt get setup in whm :S

I edited the whm url, and the username and password. Myself i tought it was supose to be a Remoce Access Key, but i cannot see a place to enter it!

What do i do?

Elethe

You don't need a remote access key. I accidentally hard-coded my own domain name into the code to testing purposes. I'll release a fix soon.

harmor19 03-01-2007 06:29 PM

Quote:

Originally Posted by Triality (Post 1193502)
i am also having this problem. also, if my board has multiple administrators and I want the private message that is sent to the accepted user from a specific admin. how do i set who the private message is sent by?

You'll have to edit the PHP file directly. I will add two new fields in the vHosting Options so you don't have to edit the PHP file.

Open hosting.php
Find (You'll have change all instances):
PHP Code:

$fromuserid 1


harmor19 03-01-2007 06:31 PM

Quote:

Originally Posted by Deimos (Post 1192310)
Very nice mod, thanks alot for releasing it

Small problem, when I submit a test request for hosting, it goes through ok, I click accept in the thread, which works to, but I don't get a PM with my hosting details?

Any idea why?

It's setting up the hosting account via WHM, but sets the disk quota to "Unlimited", as opposed to the figure I put in
Also, when trying to delete a hosting account via the user search bit, it kept timing out and the error had http://xenweb.net:2086/ in it
I searched the hosting.php file and found the two entries which pointed to another whm (http://xenweb.net:2086/scripts2/dolimitbw?user=".$hp)
Changed it to my own domain and it no longer timed out
But, even though it says it's been deleted, the account remains in whm and doesn't work either, although 'im wondering if that's a WHM issue?

I hard-coded my own domain name into the code for testing purposes and forgot to change it. I'll release a fix soon.

Deimos 03-01-2007 06:43 PM

Thanks Harmor!
Any idea why it sets up the account, but doesn't set it up with the right settings? (diskspace for example)
I'm wondering if it needs a certain version of WHM?

harmor19 03-01-2007 10:19 PM

Quote:

Originally Posted by Deimos (Post 1193559)
Thanks Harmor!
Any idea why it sets up the account, but doesn't set it up with the right settings? (diskspace for example)
I'm wondering if it needs a certain version of WHM?

I have no idea.

whiteeagle0 03-02-2007 02:11 AM

does this now setup the account automaticlly in whm so i don't have to go in there anymore???

Deimos 03-02-2007 06:57 AM

Quote:

Originally Posted by harmor19 (Post 1193718)
I have no idea.

Ah, hmm...
Is the pro version more ....efficient in this regard?

harmor19 03-02-2007 05:59 PM

Quote:

Originally Posted by whiteeagle0 (Post 1193844)
does this now setup the account automaticlly in whm so i don't have to go in there anymore???

It automatically sets up the account.

harmor19 03-02-2007 06:00 PM

Quote:

Originally Posted by Deimos (Post 1193941)
Ah, hmm...
Is the pro version more ....efficient in this regard?

I think I found what was causing the problem. I'm testing it to see if it works.

harmor19 03-02-2007 06:09 PM

I have fixed a few things in 1.3.1. I replaced the hard-coded URL's and the problem with incorrect data being sent to WHM in the code.

If you are running 1.3.0 the only file you have to upload is "hosting.php".
You can upload the product XML as well to overwrite the version number in the phrases.

powerbook 03-05-2007 12:50 PM

Great Mod, I'll give it a shot :)

harmor19 03-08-2007 06:05 PM

I have a question. You can set the usergroups to move the user into when you either accept or decline their request. Right now this version overwrites the usergroupid which will change the user's primary usergroup. Would you rather have the user be placed into a secondary usergroup?

Deimos 03-12-2007 07:25 AM

Secondary would be best, because if you have a staff member in the lead mod/mod/admin group who requests a hosting plan, won't that boot them from staff?

Also, I still get the same problem with it not setting up the correct disk space allocation.

harmor19 03-12-2007 11:06 PM

Quote:

Originally Posted by Deimos (Post 1201396)
Secondary would be best, because if you have a staff member in the lead mod/mod/admin group who requests a hosting plan, won't that boot them from staff?

Also, I still get the same problem with it not setting up the correct disk space allocation.

Are you creating a new account or upgrading an existing one?

bashy 03-24-2007 11:17 AM

Hi

Just taking a look at this but i cannot see in my usergroups where to set the permissions, it aint there, I have rebuilt the bitfields many times, I have checked the files and there all in the right place on the server, Any ideas please?

EDIT:

Found it by accident, I went to add a new plan and it said to update the admin permissions, it too me to that page and i have now activated the permission..

I was looking in the admin usergroup to change it but that was the wrong place, sorry :o

eLetHe 04-01-2007 03:01 PM

Is there anything new from this mod?

Are you planing a release where everything is automaticly setup and not just the Space and Bandwidth?

Thank You
Freddy

nexialys 04-01-2007 04:07 PM

i think you need to buy the Pro version to have a full featured hosting solution here... check the signature of the guy for more infos!

harmor19 04-19-2007 01:26 PM

I have made a minor update regarding "accepted" and "declined" users.
If you have configured the "Accepted" and "Declined" users within the vHosting Settings all the users who are accepted or declined will be moved into a secondary usergroup as opposed to a primary usergroup.

Net-Bw.de 04-23-2007 04:58 PM

Hello,

Nice Add-On.

Is this working with Confixx?

harmor19 04-23-2007 06:41 PM

This only works with WebHost Manager.

Net-Bw.de 04-24-2007 08:32 AM

Okay Thank you

harmor19 05-02-2007 06:11 AM

I should say that the it only creates and terminates accounts with WebHost Manager.
You can still use this with Plesk, Confixx, or any other control panel but you'll need to manually handle accounts.

Deimos 05-10-2007 12:51 PM

I still have issues with this

I installed it as per your instructions

I setup a basic hosting plan, requested said hosting plan for myself and it went into the pending queue
I goto the thread which shows the pending application, Deny/Accept is listed three times
I click accept, it processes it, but I don't get a PM, nor is the hosting plan itself, setup

Any ideas?

harmor19 05-10-2007 01:53 PM

Quote:

Originally Posted by Deimos (Post 1244938)
I still have issues with this

I installed it as per your instructions

I setup a basic hosting plan, requested said hosting plan for myself and it went into the pending queue
I goto the thread which shows the pending application, Deny/Accept is listed three times
I click accept, it processes it, but I don't get a PM, nor is the hosting plan itself, setup

Any ideas?

You have to create three seperate forums, one for New Requests, another for Upgrades, and one for Change requests.

MrPHD 05-10-2007 04:31 PM

Quote:

Originally Posted by harmor19 (Post 1057683)
If you use another control panel besides cPanel tell me the URL to access it and I'll edit the files and send them to you.

I have Webmin, can you tell me how works? regards

harmor19 05-10-2007 05:14 PM

Quote:

Originally Posted by MrPHD (Post 1245034)
I have Webmin, can you tell me how works? regards

You aren't be able to do automated tasks. You can still use this hack but you'll have to create and terminate accounts manually.

Deimos 05-10-2007 05:40 PM

Quote:

Originally Posted by harmor19 (Post 1244966)
You have to create three seperate forums, one for New Requests, another for Upgrades, and one for Change requests.

Argh! My bad

But, even now that's done, it still doesn't setup the account or send a confirmation pm

Does the script require a certain version of WHM?

harmor19 05-10-2007 06:05 PM

can you upload "hosting.php". A while back I hardcoded my domain and I like to see if you have the fixed version.

Deimos 05-10-2007 06:11 PM

I'm currently using the hosting.php file from the attached zip file in this thread.

harmor19 05-10-2007 06:16 PM

Ok. So there is no need for me to check.

Did you go into the vHosting Settings an enable WebHost Manager - Automated Script?
If so did you open "class_vhosting.php" and change the values to your WHM username and password?

Deimos 05-10-2007 06:21 PM

Hi Harmor

Yes I certainly did
I double checked the settings, domain is correct, username/password are set in the class file
Still no go

harmor19 05-10-2007 06:41 PM

Log into your WHM. In the URL below change "yoursite.com" (twice) with the site you use to log into WHM.

If it gives you an error then we know why it doesn't automatically create the accounts.

Code:

http://www.yoursite.com:2086/scripts/wwwacct?sign=&plan=undefined&domain=aaa.yoursite.com&username=aaaa&password=tester&quota=10&cgi=1&frontpage=1&maxftp=0&maxpop=0&maxlst=0&maxsql=0&maxsub=0&maxpark=0&maxaddon=0&bwlimit=50&cpmod=x2&customip=--Auto+Assign--&contactemail=test@test.com


Edit: BTW I have WHM version 10.8.0

Deimos 05-10-2007 07:10 PM

Account was created AOK

No errors

I'm running

WHM 10.8.0
cPanel 10.9.0-R10737
CentOS 4.4 i686


All times are GMT. The time now is 01:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01724 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete