
|
View Full Version : signup script at nixt.org
thesmallguyshost 06-01-2001, 03:27 AM This is a semi related question about the signup script that someone pointed out at nixt.org. I emailed the gentleman that provided the script a coupleo of days ago but haven't heard word yet.
I'm wondering if anyone else here has much experience with the script.
I have got it running and operation and it's very nice. Just a couple of things I'm wondering. First, for the payment option of Paypal, I had to change the link in the script that pointed to infoB to infoA so it would look at the different pricing structures correctly and pass the info to paypal. Will this cause any trouble? So basically it looks at the same price plans as the creditcard option. Have you been able to get the paypal link to work without chaning anything in the script?
Second, do you have a list of the options that's setup in plans.txt. I have figured out most of them by trial and error and also looking at ventureonline's plan and matching up the variables in plans.txt, but I still haven't found which adds FP ext or not, and a few others.
Thanks.
thesmallguyshost 06-01-2001, 03:41 AM Oh yeah.. one more question.
In the file that is emailed to the user when an account is setup, it shows all the info about the account and beside [PASSWORD] it says randomly generated!
Now, it's not randomly generated because the script ASKS the user what password they want. But is there a way so that the password will be randomly generated?
cahostnet 06-01-2001, 12:16 PM Anyone, good question. I'm hoping to use the script also.
indiboi 06-03-2001, 03:10 PM same troubles... the paypal link doesn't work, gives you an improperly formatted item amount error...
i've also not been able to create any accounts after the order information has been taken, it always says i have to do it manually.
thesmallguyshost 06-03-2001, 03:23 PM What I did to fix the paypal problem is:
Open signup.php and go to the section that says:
if ($payment == "paypal")
Then look for the following line:
echo " <input type=\"hidden\" name=\"amount\" value=\"$infoA[$i]\">";
The $infoA was originally $infoB. $infoB is supposed to pull the amounts that get sent to paypal but the author apparantly has left out how to format plans.txt to accomodate paypal. By changing infoB to infoA, the script uses the payment amounts setup in plans.txt that are used on credit card transactions. Which I don't understand they there would be a difference. I would assume most would charge the same if paying by CC or paypal.
If you get the other options figured out for plans.txt let me know. What I have figured out so far is:
planname, ? , cgi-bin , space , ? , theme , ftpacc , mysql , pops , maillist , subs , ? , ? , planname
each option is separated by a , matches up to each option in the 3rd line plans.txt. A ? i have listed means I don't know what it is.
I know some of the question marks are dedicated IP option, front page and possibly bandwidth, but can't find the right combination to verify which is which.
As far as creating the accounts using setup.php, it should work great as long as the plans.txt has the correct formatting.
indiboi 06-03-2001, 03:33 PM alrighty that worked, YAY. thanks, you rock! :-D
i managed to get the account creation to work... using localhost instead of the IP/domain of the website.
only other question i have is email notification... (when someone signs up) is it just not an option with this script?
koolguru 06-03-2001, 10:32 PM This Is What I know :-
planname, ip , cgi-bin , space , shell access , theme , ftpacc , mysql , pops , maillist , subs , bandwidth , frontpage , planname
I am Not Fully Sure Though.
thesmallguyshost 06-04-2001, 02:25 AM indiboi
I guess there is not an option to be emailed when someone signups by the script itself. But you should receive an email from the payment transaction... whether credit card, paypal or if you have check setup as well. If you don't have live credit card processing the next step the customer should get to is a payment form (if not paying by paypal) where they would enter credit card info. Just have a simple formmail.cgi running that emails you the form. By receiving that you know to run setup.php. Same thing with paypal. If you get an email that someone sent you money for hosting you know to check setup.php.
thesmallguyshost 06-04-2001, 02:27 AM koolguru
Looks good... they seem to match up as far as i can tell.
Thanks.
thesmallguyshost 06-04-2001, 02:39 AM koolguru
The option for bandwidth seem to not do anything. When I setup a domain using the script, and I have the hosting plans defined in WHM, WHM sets up the bandwidth allowance according to what was in the package setup.
Could the one you have thought was bandwidth be mail forwarding (aliases)? Wouldn't there need to be one for aliases?
indiboi 06-04-2001, 03:15 AM now i have it working minimally, would anyone be able to give me some assistance/point me in the right direction so that i can use the signup form to collect additional information?
i created the extra areas within the MySQL database, and added them to the form, but it never wrote them into the database, so they basically blinked out of existance.
i suppose i could use two different scripts, a generic formmail to collect that information and then the php script to get the more technical server parts... but it just doesn't seem like a good solution.
koolguru 06-04-2001, 09:29 AM Originally posted by rastoma
koolguru
The option for bandwidth seem to not do anything. When I setup a domain using the script, and I have the hosting plans defined in WHM, WHM sets up the bandwidth allowance according to what was in the package setup.
Could the one you have thought was bandwidth be mail forwarding (aliases)? Wouldn't there need to be one for aliases?
I am Sure That It Is The Bandwidth hpwever what I am not sure is the shell access & front page one.
The Bandwidth option seems to be working for me.
thesmallguyshost 06-04-2001, 10:53 AM Do you have the packages that are listed WHM named different than what you have in plans.txt ?
I used the name names and no matter what I listed for bandwidth, the package in WHM overrides the bandwidth (which is a good thing I think).
koolguru 06-04-2001, 11:13 AM The Plan Names Are The Same But the Specs Are Different.
cimshimy 06-04-2001, 11:32 AM If you want extra fields, I will have to write them into the code. The script is designed to use only the fields it comes with.
If any of you want any custom fields done or other such modifications, e-mail me at balto@xer0.com.
Andrew
|