Author Topic: Is there a way...  (Read 24491 times)

Offline mbx5nitro

  • Newbie
  • *
  • Posts: 5
Is there a way...
« on: July 14, 2006, 09:30:06 PM »
Is there a way to create new users from a registration forum?

Offline digitalslave

  • Jr. Member
  • **
  • Posts: 37
Re: Is there a way...
« Reply #1 on: July 14, 2006, 10:04:42 PM »
not in RC.

Offline mbx5nitro

  • Newbie
  • *
  • Posts: 5
Re: Is there a way...
« Reply #2 on: July 14, 2006, 10:28:31 PM »
does anyone know of a script to create an e-mail account?

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Re: Is there a way...
« Reply #3 on: July 15, 2006, 07:07:07 AM »
Quote from: mbx5nitro
does anyone know of a script to create an e-mail account?
Well you can use cPanel, Plesk or VHCS

Offline Jester

  • Jr. Member
  • **
  • Posts: 20
Re: Is there a way...
« Reply #4 on: July 15, 2006, 09:03:26 PM »
or if you know php, yo can write a php script that uses cPanel's or Plesk's API to create them like a registration form.

Offline mbx5nitro

  • Newbie
  • *
  • Posts: 5
Re: Is there a way...
« Reply #5 on: July 16, 2006, 12:59:07 PM »
I could use cPanel but my members cant log into that to create an account.

I didnt know cPanel had a API i guess i should look into it.

Offline xoqez

  • Jr. Member
  • **
  • Posts: 84
Re: Is there a way...
« Reply #6 on: July 16, 2006, 08:36:32 PM »
I have posted some information and the cpanel API http://roundcubeforum.net/index.php?topic=159.0
--
Venond; using roundcube since June 2006
www.venond.com

Offline hazlett

  • Jr. Member
  • **
  • Posts: 17
Re: Is there a way...
« Reply #7 on: July 27, 2006, 10:06:36 PM »
You can download a PHP script called "FREEMAIL" at http://quasitown.com.
This script allows visitors to register for an email account. It uses mysql and cpanel and it emails the site admin when someone does register.

Offline tuney

  • Jr. Member
  • **
  • Posts: 55
Re: Is there a way...
« Reply #8 on: July 28, 2006, 09:16:47 AM »
Hi,

I was just wondering if anyone else was interested in users to a site being able to signup for an email account and have that account created automatically.

Two links added to the RoundCube login screen, 'Signup' and 'Recover Password'.
Signup asks for name, email, alt email, security answer and question although you could add as much information as you wished.
On clicking the 'signup' their is a check to ensure that the email address requested is not already taken and if it is free to be used the account is automatically created.
A welcome email is then sent to this new account.

Password recovery just asks for email, name, and gives the security question that was entered during site creation to which the user must answer.
Login details are then sent to the alt email address given during signup.

If any one is interested I will but all the neccessary parts in a single config file for ease of setup.

You can take a look at http://www.chatlaunch.com click on webmail link.

Any suggestions, improvements etc also appreciated.

Offline trace

  • Newbie
  • *
  • Posts: 3
Re: Is there a way...
« Reply #9 on: July 28, 2006, 11:13:48 PM »
Wow, that's really nice. You did a super great job with this!

Offline tuney

  • Jr. Member
  • **
  • Posts: 55
Re: Is there a way...
« Reply #10 on: July 29, 2006, 02:08:23 PM »
Thank you. At the moment the users details are added to a table in the RoundCube MySQL database and the admin (or another email you specify ) is emailed with the users details so you know when a new account has been created.
A welcome email is also sent to the newly created account.
Now I have all that side working I just need to add some simple form verification for signup.

Offline tuney

  • Jr. Member
  • **
  • Posts: 55
Re: Is there a way...
« Reply #11 on: July 31, 2006, 09:47:56 AM »
Now added simple form verification for signup and added IP and timestamp written to database.

Offline tuney

  • Jr. Member
  • **
  • Posts: 55
Re: Is there a way...
« Reply #12 on: August 05, 2006, 01:06:28 PM »
Ok as promised here is the script for Auto User Email Creation.

There are 3 files that need editing.
Unzip and read README.txt for full installation instructions.

I quickly threw this last bit together as I have a paying job on at the moment and with this being free (all donations greatly accepted!) most of my time is going where the money is to pay the bills! lol

Any problems, comments, suggestions etc let me know.

Enjoy!

Note: This script is designed to work with hosts that use CPanel. A slight modification of the code would be needed if other than CPanel is being used.

Offline chrisbu

  • Newbie
  • *
  • Posts: 6
Re: Is there a way...
« Reply #13 on: October 28, 2006, 10:14:59 AM »
Thanks Tuney that really is a great help ....

Even an old fool like me got everything working with few problems - I DID cheat a little and add your db.ini stuff onto the standard Roundcube db.ini simply because I am lazy and was creating a totally new MySQL DB anyway.

Now perhaps I should forget chips and boards for a while and find out more about "" etc .... then maybe I can publish a way to add validation using a pre-issued registration number. Big, big MAYBE, but at least I can learn while I destroy my Webmail. Haha

Have a good weekend - and again thanks a lot

Chris

Sod was an optimist!