Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th August 2007, 12:54
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
Default Automate user signup.

WARNING: This script is Alpha. Use at your own risk. Not liable for any damage. You have been warned.

This script will automate user signup from a webpage while you sleep. Create a new file e.g auto_signup.php and slap this code into it.

Aims:
1) Add A New Customer (user logs into new accoount straight after successful signup)
2) Adds A New Website (site become active under new users account immediately)
3) User can choose between FQDN (www.newdomain.com) or subdomain (newsite.host.com) not done yet
IPN Paypal integration returns payment verification before creating new account. not done yet


Here is the code....ALL Comments bugs fails welcome

The code is too long I cannot post it here due to limitation you must download from http://www.5s7.com/scripts.php if you want it.
Reply With Quote
The Following 5 Users Say Thank You to Tommahawk For This Useful Post:
alexnz (15th August 2007), bswinnerton (24th March 2008), falko (16th August 2007), MarkX (29th September 2007), till (15th August 2007)
Sponsored Links
  #2  
Old 15th August 2007, 14:58
alexnz alexnz is offline
Member
 
Join Date: Jun 2006
Posts: 66
Thanks: 3
Thanked 1 Time in 1 Post
Default

awesome!!!

i look forward to paypal integration!!

ill help develop this a little further with other things if you would like
Reply With Quote
  #3  
Old 17th August 2007, 07:46
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
Default

Aug 17 2007 Update

3) User can now choose between FQDN (www.newdomain.com) or subdomain (newsite.host.com) complete

4) User is also added at singup time allowing for ftp upload site access

Sure. If you make any updates post a download link or the change.
Reply With Quote
  #4  
Old 17th August 2007, 16:36
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

Not sure why, but I get a hostname failure on that site, looks like the DNS is timing out.
Reply With Quote
  #5  
Old 17th August 2007, 17:29
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

I think I am getting the same thing too
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #6  
Old 17th August 2007, 18:37
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

If someone could email it to me, I would be more than happy to host that script until the other link is resolved. i n f o [a t] 3 c w i r e d [ d o t ] c o m.
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #7  
Old 17th August 2007, 23:37
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

I only hope that isn't Tommahawk's production server that's down, that would truly suck!
Reply With Quote
  #8  
Old 18th August 2007, 05:53
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
Default

As I was working on the subdomains, tip: don't name your subdomain zones (named.conf) the same as your host server it causes DNS restart to fail due to duplicate zone name exists. Hopefully an ISPConfig update will check the zone name for dups before adding it.
Reply With Quote
  #9  
Old 18th August 2007, 09:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,526 Times in 4,346 Posts
Default

Quote:
Originally Posted by Tommahawk
As I was working on the subdomains, tip: don't name your subdomain zones (named.conf) the same as your host server it causes DNS restart to fail due to duplicate zone name exists. Hopefully an ISPConfig update will check the zone name for dups before adding it.
ISPConfig does not create duplicates if you enter something in the interface and you should not edit named.conf manually. If you edit the file anyway, you have to take care of this as ISPConfig does not parse the config file to check if you modifed something and we will most likely not implement config file parsing in future.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 19th August 2007, 04:48
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
 
Default

What you basically saying is that I can DOS any server running ISPConfig if they have created manual entries
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
admispconfig invalid user johann Installation/Configuration 4 15th January 2009 19:51
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 10:25
Can't get fail2ban to work. boast Server Operation 2 26th June 2007 01:55
log files cruz Technical 3 15th May 2007 15:35


All times are GMT +2. The time now is 21:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.