Roundcube Community Forum

Third Party Contributions => Old Style Plug-Ins => Topic started by: tuney on July 28, 2006, 09:12:11 AM

Title: Auto User Email Creation
Post by: tuney on July 28, 2006, 09:12:11 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 (http://www.chatlaunch.com) click on webmail link.

Any suggestions, improvements etc also appreciated.

Title: Re: Auto User Email Creation
Post by: risingfree on July 29, 2006, 10:21:44 AM
Hi,
I'd be interested in what you have Tuney. I want to do the same kind of thing.
I've set up Roundcube and I'm well impressed - love at first sight I think! :-[
I've also got a Freemail signup script that creates the accounts but without the password change/secret question thing.

Can I see yours! :P
Title: Re: Auto User Email Creation
Post by: armisael on July 29, 2006, 01:58:00 PM
Waouhhh !!
It's exactly what I need !! I'm impress by your work.
It would be perfect if you could explain us how you made this :)
Title: Re: Auto User Email Creation
Post by: tuney on July 31, 2006, 09:54:29 AM
Glad that you like it.
Just added simple form validation and also now writes IP and timestamp to the database.
If you can give me a day or two I will make all the necessary files available to anyone who wants them.
I will put any variables that are specific to a domain, welcome email message etc in a config file for easier setup and provide .sql files for setting up the database table.

Title: Re: Auto User Email Creation
Post by: epoc on August 01, 2006, 01:00:49 PM
Does this create the account on the IMAP server as well?
It wont do much good if it doesnt.
Title: Re: Auto User Email Creation
Post by: tuney on August 01, 2006, 01:18:07 PM
Yes, it does create the account on the server. The account in the database is used only for checking that the username that the person is requesting as an email has not already been taken and for storing the other details at signup and password recovery.
Title: Re: Auto User Email Creation
Post by: bizhat on August 03, 2006, 09:44:23 AM
Nice work. Can i get the user signup script ?
Title: Re: Auto User Email Creation
Post by: tuney on August 03, 2006, 10:16:28 AM
I'm in the process of putting all configurable elements (database connection details, email messages etc) into a single include file and creating the .sql file to set the table up for easier setup.
Once this has been done I will make it available for download.
Title: Re: Auto User Email Creation
Post by: tuney on August 03, 2006, 01:59:30 PM
All variables needed to configure the script are now in one include file.
.sql files and installation instructions will be written and the script will be available for download sometime on Saturday.
Title: Re: Auto User Email Creation
Post by: SKaero on August 05, 2006, 04:55:11 AM
Nice site! I like to have that signup script its looks well coded!
Title: Re: Auto User Email Creation
Post by: tuney on August 05, 2006, 01:05:15 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.
Title: Re: Auto User Email Creation
Post by: SKaero on August 05, 2006, 03:36:20 PM
Nice! :D I am loveing it! This is so cool! ;D Thank You sooo much! O0
Title: Re: Auto User Email Creation
Post by: mbx5nitro on August 06, 2006, 07:57:00 PM
i can sign up but cant login whats wrong. I did the file edits. Although the SQL file where it says replace the cpanel info i could have messed up there because i dont know what you ment by that.


EDIT: I fixed it. In your emsignup.php file you have to edit the domain in the cpanel link.
Title: Re: Auto User Email Creation
Post by: Scubes13 on August 07, 2006, 01:16:00 AM
How difficult would it be to modify these scripts into an admin page within roundcube so that an administrator could create accounts, change/recover passwords, etc?

Perhaps the link to the "admin" page could only be shown for the user account of "postmaster". So in order to access the admin page, designated individuals would login as postmaster and the admin button could be displayed on the toolbar or some such.

I just think it would be really awesome to do such administration from within RC.

(Yes, I know this should a) be a plugin and b) there are many diff IMAP servers that would have to be coded for... Just thinking out loud.)

Great work though 'tuney'!!

Kevin L.
Title: Re: Auto User Email Creation
Post by: tuney on August 07, 2006, 08:51:23 AM
Admin section is a good idea, especially as at the moment if you delete an account in CPanel you have to go into the database and delete it there to free it up. It would be nice if this was all done for you.

It's certainly possible and I'll look into it when I get back from vacation.

Thanks for the suggestion :)
Title: Re: Auto User Email Creation
Post by: leopard on August 10, 2006, 11:41:53 PM
Somebody have another auto sign up script? i use webmin with virtual servers modul. i dont use cpanel :-\
Title: Re: Auto User Email Creation
Post by: Vineman on August 14, 2006, 09:58:19 PM
Im having a problem with this. I uploaded everything, did everything correctly and yet when I submit a registration submit.php comes up blank. Anyone know what I need to fix?

After submitting, my error logs are full of this:
[Mon Aug 14 22:26:55 2006] [error] PHP Warning: feof(): supplied argument is not a valid stream resource in /home/freeisd/public_html/mail/emsu/signup.php on line 92
[Mon Aug 14 22:26:55 2006] [error] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/freeisd/public_html/mail/emsu/signup.php on line 93
Title: Re: Auto User Email Creation
Post by: tuney on August 15, 2006, 11:41:07 AM
Have you ran the SQL query, ' INSERT INTO `cpanel` VALUES ('cpanel_username', 'cpanel_password', 'cpanel_ip', 'cpanel_port', 0); ' and ensured that you have replace 'cpanel_username' etc with your details ?
Title: Re: Auto User Email Creation
Post by: tuney on August 15, 2006, 11:52:14 AM
UPDATED RELEASE.....v1.1

There was a small bug in v1.0 where the domain was hard coded in signup.php and was not read from db.inc.php.

Anyone who was having any problems with the previous release download this latest release with the bug fixed.

Sorry about that, my fault for rushing it through.
Many thanks to mbx5nitro for pointing this out on an earlier post :)


Also starting work on an admin section as suggested by Scubes13, thank you.
This will include a master admin account, an option to give admin status to any other account, create/delete accounts, send password/change password/recover password and change quota.

Title: Re: Auto User Email Creation
Post by: Vineman on August 15, 2006, 05:58:13 PM
Finally got it working. Here's a few errors or things that could be put into the notes:

My error was that in signup.php, you have frontend/x/mail/, however some people (like myself) have frontend/x2/mail/. A note about this in the readme would probably be very helpful.

The confirmation email doesnt send the user/pass, despite having space for it.
Code: [Select]
$messageprt1 = &quot;,<br /><br />This is an automatically generated email.<br /><br />There is no need to reply to this email.<br /><br />Welcome to your new email account.<br /><br /><b>Username - &quot;;
$messageprt2 = &quot;</b><br /><b>Password - &quot;;

And a feature request: On completion of the registration, either offer a link back to the login page, or automatically redirect after a few seconds.

Overall though very nice job.
Title: Re: Auto User Email Creation
Post by: tuney on August 16, 2006, 08:40:05 AM
Many thanks for that.

I beleive that the 'x' in the cpanel url is the 'skin' that's used and you are right that not all people are going to be using the same.
I will put this as a variable that can be set in the configuration of db.inc.php in the future release.

As far as I am aware the username and password is sent in a confirmation email to both the new email address created and the alternate email given.
$messageprt1 and $messageprt2 are variables in db.inc.php so that the content of the message can easily be changed if desired. The username and password are appended to these in signup.php

On completion of signup you should be getting a page with a link back to the login page.

Account Creation Successful
Your email account has been created.
Please check your new email address for information about your account

You may now Login



As mentioned before, this release was rushed through somewhat. The script was originaly written as a hard coded version to work on one server for one particular domain with no options for customisation.
It was only after some interest from others that I decided to offer it to all and I am very grateful for everyones support and help in finding the bugs.

The domain it was originally written for is still running the hard coded version but I am starting work on an optional admin interface that will tie the database and mail server together for creating/deleting accounts, changing passwords and quotas etc. and will incorporate the 'x' variable and any other bug fixes.

Now that I have a little time, I will test the latest release version and ensure that all is working as should be! :D

Title: Re: Auto User Email Creation
Post by: btcentral on August 16, 2006, 09:58:04 AM
Great work, keep it up, i'm looking forward to the admin panel :)
Title: Re: Auto User Email Creation - Blank Page after submit.
Post by: abordley on August 16, 2006, 03:24:35 PM
Im having a problem with this. I uploaded everything, did everything correctly and yet when I submit a registration submit.php comes up blank.

After submitting, my error logs are full of this:
[Wed Aug 16 15:13:51 2006] [error] PHP Warning: feof(): supplied argument is not a valid stream resource in /home/bridgeof/public_html/email/emsu/signup.php on line 183
[Wed Aug 16 15:13:51 2006] [error] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/bridgeof/public_html/email/emsu/signup.php on line 185

I see someone else had the same problem...but after reading I am still unsure of how to resolve the issue. Could someone please provide instructions to what it is I need to do.
It would be appreicated.

Thanks
Allie
Title: Re: Auto User Email Creation
Post by: Vineman on August 16, 2006, 05:52:28 PM
First make sure you're running the latest version. Then be sure to check your cpanel info in your mysql database. One of my problems was that I had accidentally put my MySQL user/pass into the fields instead of the cpanel user/pass. Also check and make sure the IP is the IP of your server.
Title: Re: Auto User Email Creation
Post by: abordley on August 16, 2006, 06:53:36 PM
I have the latest version and I have confirmed that I have the correct cpanel information in the database. I am not sure if this could be a problem, but I am using a shared IP. I do not think that is a problem. I have many other databases running on this server and they all run just fine...

Any other ideas I can check?

Thanks in advance.
Allie
Title: Re: Auto User Email Creation
Post by: Vineman on August 16, 2006, 07:04:05 PM
I run on a shared server just fine.
Title: Re: Auto User Email Creation
Post by: abordley on August 16, 2006, 07:37:40 PM
I notice that before it gives me a blank page it hangs.

Again, the information in the cpanel table is correct....it is what I use to login to the cpanel of the domain as well as the port.

is there any other way of testing?

Allie
Title: Re: Auto User Email Creation
Post by: tuney on August 17, 2006, 04:26:19 PM
Sorry to hear you're having some problems.


Have a look at this post....http://roundcubeforum.net/forum/index.php?topic=232.msg1956#msg1956
If your URL to CPanel has something other than ' frontend/x/mail/ ' in it, eg. ' frontend/x2/mail/ ' then you will need to edit the Cpanel URL in signup.php to match.
This is being corrected in the next release and will be a variable set in db.inc.php

Or, it may be a problem with the allow_url_fopen option.

Check for allow_url_fopen in your phpinfo and ensure that it is set to '1' or on.

If you need to get your phpinfo create a new .php page called phpinfo.php containing the following....
phpinfo();
?>


Upload this to your site and access it in your browser to display phpinfo and settings.
Don't forget to delete the page from your server after use to prevent others from viewing.

Title: Re: Auto User Email Creation
Post by: tuney on August 17, 2006, 04:41:04 PM
Admin section is coming along with the following functions completed and working.....
Delete Account
Create Account (with option to set quota different from default set in db.inc.php)
Change Quota
Send Password
Change Password
Give Admin Privelages (any user given admin privelages will be able to login to the admin panel using their usual email login)

A list of email accounts are displayed in a table which includes email address, quota, name, alternate email address, date and time account was created and IP address.

Just some final integration and GUI to finish off.
After testing I will make available for download.

Anything else anyone thinks might be nice to have on there, let me know.


Title: Re: Auto User Email Creation
Post by: RustedNut on August 22, 2006, 07:54:41 PM
Alright, fixed the frontend url issue. But now after I register, put in the correct pass it keeps saying Log In Failed.

I take it that its an isssue with the main.inc.php? I wasnt sure on some of the settings so if someone that knows their stuff with roundcube could hit me up on AIM or I would appreciate it. AIM: acid induction

Oh tuney what about multiple domain names on registration page?
Title: Re: Auto User Email Creation
Post by: tuney on August 23, 2006, 11:54:02 AM
The Admin section is finished.

Here are some details of functions and screenshots.......

Any user can be given admin privelages. These users can then access the admin area by clicking on a link once they have signed into their email account with their usual email address.
(http://www.chatlaunch.com/rcforumimages/adminlink.gif)
If a user has admin rights, an extra 'Administration' icon will be visible at the end of 'Compose' 'Reply' etc icons.
If a use does not have admin rights no icon or link will appear.

Clicking this icon will open a new 'Administration' window.
The style of this window is taken from the style sheet of the theme you are using.
(http://www.chatlaunch.com/rcforumimages/admin1.gif)
This lists all email accounts alphabetically.
Details and options (from left to right) for each account include:
Delete Account (takes you to a confirmation page before delete is carried out)
The email address
The current quota of individual accounts
Change quota of individual accounts
Send Password to users alternate email address given at signup
Change Password for individual accounts
Set as Admin (Gives and takes admin privelages to access admin area for individual users)
Name (first abd last name of user given at signup)
Alternate Email (given at signup)
Created (Time and date that account was created)
IP (IP address of user when account was created)

When a user is given or taken admin privelages an email is automatically sent to both the user and the admin stating which user has either been given or taken admin privelages. So, if you give someone admin rights you are kept informed of who they are giving admin rights to.

Also, at the top left there is an icon to add new accounts.
When adding an account through the admin section you have the options to set any quota and to give admin privelages on account creation.


I'm in the stage of final testing and plan on writing install instuctions tomorow.
The database is the same, with the addition of one extra field and 2 more Roundcube files will need to have some code added. (main.inc, mail.html)
Full instructions will be in the release.

Once this has been completed I will do a fresh install to make sure all is ok and make available for release.

This release is for CPanel users and has not yet been tested on Roundcube beta 2.

Expect release sometime in next 3 days.

Once this is completed I will add multiple domains for those who want it.
Title: Re: Auto User Email Creation
Post by: RustedNut on August 23, 2006, 10:24:09 PM
Ah man your a god :D
I am very impressed with your work here thanks and keep it up.
Title: Re: Auto User Email Creation
Post by: Scubes13 on August 24, 2006, 08:35:07 AM
So just to verify, this admin tool will only work for those who utilize CPanel?

Lord, I hope not! :'(

;)

Kevin L.
Title: Re: Auto User Email Creation
Post by: tuney on August 24, 2006, 11:13:31 AM
Unfortunately yes, this release will only work with those who utilize CPanel. The reason is simple, if somewhat selfish! I use CPanel so I know how that works. :-[

However, in theory at least, it should be relatively easy to adapt it for those who use web interfaces other than CPanel.

Once this release is out, if anyone would like it for another interface other than CPanel and is willing to test it before release I will adapt it for other systems.

Right now just testing things out and thinking of writting an install script for ease of setup.

Title: Re: Auto User Email Creation
Post by: RustedNut on August 24, 2006, 09:20:58 PM
When I try to register with the script it says it works but I tried to log in and it wouldnt. So I checked the DB and it created the account but the user, pass sections were blank and the rest [alt email security answer etc] werent. Any suggestions?
Title: Re: Auto User Email Creation
Post by: tuney on August 24, 2006, 09:34:13 PM
Check through CPanel to see if the account username was created.
It can't be a database connection issue if it is writting information to other fields.

It could be a variable issue that I spotted yesterday when doing the Admin section. This of course will be fixed in the new release.

Strange how it will work fine for other users. What browser and version are you using ? What version of PHP is your server running ?
Title: Re: Auto User Email Creation
Post by: RustedNut on August 24, 2006, 09:37:32 PM
Nope it didn't show up. I use the latest firefox version. Php 4.4.3

I can log in with accounts I made via cpanel but not through the script.

Title: Re: Auto User Email Creation
Post by: tuney on August 24, 2006, 09:51:36 PM
Try this for a quick fix, no promises.....

Download this modified signup.php page and upload and overwrite the existing one on your server.

Let me know if anything changes.
Title: Re: Auto User Email Creation
Post by: RustedNut on August 24, 2006, 09:55:26 PM
Perfect! Thanks so much man you give great support :)

ETA on that admin?
Title: Re: Auto User Email Creation
Post by: tuney on August 24, 2006, 10:09:06 PM
Thanks for the quick feedback and finding another bug before the release of the next version!

You may find that the email sent to the user is missing their username and password with that quick fix.
If so, now I know that worked, you can download this signup.php

As for ETA on Admin....
I have a small bug in IP logging to fix, some small GUI to do, little addition to README.txt explaining the extra code needed to be inserted in main.inc and mail.html and of course fix this bug you thankfully just pointed out!

On top of that I decided to write an install script for ease of setup both for db.inc.php and the database table. (Later will be optional with instructions for manually adding extra field needed for admin section incase you wish to keep your existing table)

Then a fresh install and final testing.

I am optimistically hoping on getting this all (or at least all but testing) completed tomorow (work permitting).

Rest assured, as soon it's completed it will be available here.
Title: Re: Auto User Email Creation
Post by: ptwmedia on August 25, 2006, 12:16:20 AM
I can't wait to test it out! This is exactly what I need!
Title: Re: Auto User Email Creation
Post by: RustedNut on August 25, 2006, 11:43:52 AM
Yes if your having issues logging in right after you have signed up its most likely the bug that I had. The sign up he attached perfectly.
Title: Re: Auto User Email Creation
Post by: igeoffi on August 25, 2006, 01:31:30 PM
good work
last time i suggested this it ddidn't go so well.....
i'll be happy to test whatever you have right now for the admin cp and go bug hunting
Title: Re: Auto User Email Creation
Post by: tuney on August 25, 2006, 02:31:22 PM
Thank you for all the feedback.

Fortunately for me, unfortunately for those awaiting the release I had some work (money!) come in today....but I did manage to do work on the GUI and get 98% of the install script finished before hand.

I am going to try my best to get this finished and available for release over the weekend. I thank you for your patience and hope that you will think that it was worth the wait....
Title: Re: Auto User Email Creation
Post by: hazlett on August 25, 2006, 03:43:20 PM
Hey, a paying job is much more important that doing freebies.....get it done when you have time, we can wait......

Thanks for all you are doing, BTW...and thanks to all who are working on Roundcube, I am really looking forward to migrating to it on a permanent basis.
Title: Re: Auto User Email Creation
Post by: simplistsims on August 29, 2006, 10:19:44 AM
Can I say that you are one of the best programmers I've seen around! You're making Roundcube into one of the best e-mail systems around and I really like your signup mod and I'm really really excited about your admin panel! God I need one! LOL! ;D Cant wait for it! *gets giddy* ;D
Title: Re: Auto User Email Creation
Post by: tuney on August 29, 2006, 12:02:16 PM
Thank you for the kind words and encouragement and for visiting the site!

The admin section and install script is finished.
Tomorow I will install roundcube beta2, backup database and do a fresh install of the signup and admin using the install script and test all functions.

Once any bugs have been fixed, it will be ready for release.
Title: Re: Auto User Email Creation
Post by: simplistsims on August 29, 2006, 12:53:43 PM
Great! Can't Wait! :D :D
Title: Re: Auto User Email Creation
Post by: Chadi on August 29, 2006, 09:04:47 PM
Very interesting. Thank you for this great module.

I have a request and willing to pay for this (on behalf of everyone
else interested, call me the sponsor if you wish).

Can you have this integrated into vbulletin 3.6? Basically,
a vbulletin hack that asks in registration form if user wishes
to create an email or not. If they click yes, it will show the required
fields (sort of opens up ajax style per se) and bingo, auto vbulletin
account creation as usual plus auto email creation if requested.

:) Thanks again.
Title: Re: Auto User Email Creation
Post by: tuney on August 30, 2006, 12:17:01 PM
I can't see vbulletin integration being a problem.

Doing final testing and ironing out some bugs, should be available some time tomorow then I will look into the vbulletin integration.
Title: Re: Auto User Email Creation
Post by: alexx3k on August 31, 2006, 09:46:46 AM
*subscribes*

sounds perfect! thank you! :D
Title: Re: Auto User Email Creation
Post by: simplistsims on August 31, 2006, 11:22:37 AM
Any progress on the admin panel? 8)
Title: Re: Auto User Email Creation
Post by: tuney on August 31, 2006, 01:26:42 PM
I've just finished testing the install script and admin functions on beta2.
I'm pleased to say all is working well here after ironing out a few bugs.

I'm going to get a cup of tea and then write out INSTALL.txt and README.txt then release Version 2.0 Beta1




Title: Re: Auto User Email Creation
Post by: tuney on August 31, 2006, 04:14:12 PM
Sorry to be the bearer of bad news but final checks reveled a possible security threat whereby users without admin access could may be able to access the admin panel.

Therefore there will be a hopefully short delay in release while this is investigated and fixed.

Thanks for your patience.
Title: Re: Auto User Email Creation
Post by: ptwmedia on August 31, 2006, 07:20:14 PM
Thanks for checking it out first. Good security is appreciated! I can't wait to try it out!
Title: Re: Auto User Email Creation
Post by: tuney on August 31, 2006, 07:22:57 PM
Fixed the posible security issue. The admin section now uses double authentication and encryption.

Release V2.0 Beta 1......
Some minor bug fixes ('Back' links added to some pages and CPanel skin set in db.inc.php to name 2)

There is also an install script bundled with V2.0
This should ease setup.
Run the install script, enter your details and hit 'Install'.
This will then create db.inc.php for you with all your details and optionally create the database tables needed.
The install script will also create a 'default' admin email account which you can then use to login to RoundCube and then enter the Admin area. (Please make sure that the default admin address you specify is not taken and enter username only ie. everything before the '@')

As with the previous release users are able to signup and recover lost passwords.
On signup the user is sent a welcome email to their newly created email address and the alternate address that they specified at signup.

(http://www.chatlaunch.com/rcforumimages/newuser_account_welcome.gif)

(http://www.chatlaunch.com/rcforumimages/newuser__welcome_email.gif)
Admin are also notified that a new account has been created.
(http://www.chatlaunch.com/rcforumimages/admin_notify_newuser_email.gif)

Password Recover Email
(http://www.chatlaunch.com/rcforumimages/pass_rec.gif)

(Details are automatically generated from information given on install and user details given)


The Admin Panel is only accessable to those users who have been given admin rights.
If a user has rights they will see and extra link 'Admin'. If they do not have rights they will see no link.
To prevent anyone trying to just go to the admin landing page, the landing page itself will also authenticate the user again and check they have admin rights before allowing them access.

(http://www.chatlaunch.com/rcforumimages/admin1.gif)

From here admins can control individual accounts with....
Create accounts
Delete accounts
Change quota
Send password
Change password
Give/Take admin rights
Some user information is also given (email, current quota, name, alternate email, date account was created, IP at account creation)

Whenever a user is given/taken admin rights both the address set for admin notification at install and the user are emailed. This is to help keep track of other admins giving admin rights.
(http://www.chatlaunch.com/rcforumimages/admin_priv_email.gif)


I think that about sums it all up or at least I hope, it took me nearly as long to write this post!!

I hope that the bugs are gone and installation and use will be trouble free, of course I cannot guarantee it!

Please test this out and let me know your suggestions, ideas, comments (good or bad) and if there are any problems with installation or use just post your problem and I will resolve the issue as soon as is possible.

Have fun and thank you for everyones support and patience.

Title: Re: Auto User Email Creation
Post by: alexx3k on August 31, 2006, 08:06:08 PM
yay! :D thank you, Looking forwards to installing!
Title: Re: Auto User Email Creation
Post by: simplistsims on September 01, 2006, 09:04:25 AM
OMGOMG! Im shaking with excitement! :D
Title: Re: Auto User Email Creation
Post by: simplistsims on September 01, 2006, 09:30:54 AM
ive noticed a few bugs!!!

1) In Firefox when I change my own quota afterwards it says im not authorised to view the admin area until i re-sign in.
2) pngbehaviour.htc cant be found when i access it via IE and the administation icon is massive. Theres also a blue border around add account aswell. it also cant fit in the headers for the table. like account created etc.
3) In IE it seems to think some of the skin files are in the emsu folder as my servers error log says:

[Fri Sep 1 14:24:04 2006] [error] [client 213.78.117.219] File does not exist: /home/simplist/public_html/email/emsu/admin/skins/default/pngbehavior.htc

Ill post more if i find any.

~ Sean
Title: Re: Auto User Email Creation
Post by: Pete on September 01, 2006, 09:36:59 AM
This is going to come in really useful for me. When designing and setting up websites for clients I was going to have to face the fact that I'd have to set up as many email accounts as they needed. Now I can let them do this themselves!
Title: Re: Auto User Email Creation
Post by: tuney on September 01, 2006, 09:52:44 AM
Thanks for the bug report.

I too have just noticed the 'YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA' after performing an action.
I know the cause of this and it shouldn't take too long to fix.
As for the problems with IE ~blah~ I'll look into this. Looks like some kind of path problem.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 01, 2006, 10:29:23 AM
gdgd. Keep up the good work
Title: Re: Auto User Email Creation
Post by: tuney on September 01, 2006, 11:16:02 AM
The 'YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA' after performing an action bug is now fixed.
Looking into the IE problems now then update will be released.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 01, 2006, 11:32:34 AM
in firefox the top bar isnt the right size
and in IE the admin button only a quartor is showing while in Firefox it is shrunk!

somethin else: theres not etc tags in the admin panel, only the table

Pics of the errors included!! ;)
Title: Re: Auto User Email Creation
Post by: tuney on September 01, 2006, 11:42:52 AM
Thanks for the pics, they help.

I've just checked on IE.
The blue box around create account is fixed.
The Admin icon size is being fixed now.
The full date or any info on the table will show up in full in a 'tool tip' if the mouse is hovered over them.
The problems with things not fitting in places correctly sounds like a resolution problem. What screen res are you using ?

As for the error...
[Fri Sep 1 14:24:04 2006] [error] [client 213.78.117.219] File does not exist: /home/simplist/public_html/email/emsu/admin/skins/default/pngbehavior.htc

I can not replicate this. When do you get this ?
Title: Re: Auto User Email Creation
Post by: tuney on September 01, 2006, 01:37:13 PM
BUG FIX RELEASE

Here is V2.1 Beta 1
This fixes the bug 'YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA' after performing an action in the Admin Panel, blue box around 'Create Account' in IE and size of the 'Admin' icon in IE.

Please read UPGRADE.txt if you are upgrading from V2.0 Beta 1 for instructions on how to apply bug fixes without having to reinstall.

The table header and column sizes may be an issue due to screen resolution used.
The original design was for a set resolution and a non horizontal scrolling table.
Since this is now available to all this will be fixed to display correctly in all resolutions.

Thanks for the feedback and anything else that is not how it should be please let me know.
Title: Re: Auto User Email Creation
Post by: pelucapampa on September 01, 2006, 01:48:13 PM
When i complete all settings in the install file, and press Install Now, the screen say "can´t open file".
Please can you tell me, what i complete in the all settings Ex: Webmail Link:, Web Site Link:.

Thanks
Ignacio
Title: Re: Auto User Email Creation
Post by: tuney on September 01, 2006, 02:00:09 PM
Firstly, ensure that emsu/includes/db.inc.php is writtable by the server.
Title: Re: Auto User Email Creation
Post by: RustedNut on September 01, 2006, 03:55:30 PM
If im having issues, should I consider a fresh install instead of having to report errors and such to you ?
Title: Suggestion
Post by: SharpeE on September 01, 2006, 08:09:54 PM
Suggestion:

For when there making an account is it possible to include a verify human thing. Its like the code that you see and have to type into the box otherwise it doesnt go further? This is a great thing to avoid spam and such.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 02, 2006, 07:27:41 AM
Quote from: tuney
As for the error...
[Fri Sep 1 14:24:04 2006] [error] [client 213.78.117.219] File does not exist: /home/simplist/public_html/email/emsu/admin/skins/default/pngbehavior.htc

I can not replicate this. When do you get this ?

I found the error in my error log in Cpanel and it was when I was in the admin panel. Its the same with IE and Firefox
Title: Re: Auto User Email Creation
Post by: simplistsims on September 02, 2006, 07:43:42 AM
Still got problems in IE.

I also noticed if i set my quota to 1000MB part of the text saying what my quota is disappers

Pic Included!

PS. not the 1000mb thingy in the pic! soz
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 02, 2006, 07:56:01 AM
Hey, how do you get quotas to work on cpanel hosting? I get quota: unknown.
Title: Re: Auto User Email Creation
Post by: tuney on September 02, 2006, 08:19:24 AM
RustedNut, you can try a fresh install if you wish and see if you get the same problems. Any errors reported are appreciated, although it's more work and headache time for me!, it's the only way to ensure that all works as intended on as many different platforms and configurations as possible.

The suggestion of a verification code to avoid signup bots is certainly a good idea. I will add this on once all bugs and issues have been fixed in this latest release. Thanks for that idea.

The issues with table column sizes is being addressed now. Don't forget that you can also still see full text even of not showing in the table by hovering the mouse over the text.

As far as quotas go, I too get quota:unknown at the bottom of the inbox. This issue is not related to Admin Panel.
The way the quotas work in Admin Panel is that when a user signups for an account, the default quota set at install is written to a database table along with other user information and the account is created.
Admin Panel then reads this value from the table, thus dipslaying the quota that was given on account creation.
If the quota is then changed in Admin Panel both the account quota and the quota value in the database are updated with the new value, again synchronising the actual account and database values.
So, the quota that Admin Panel displays is basically a copy or reflection of the values that CPanel itself has. They are not taken directly from CPanel as not all servers support getting quotas.
Title: Re: Auto User Email Creation
Post by: tuney on September 02, 2006, 09:43:55 AM
Hi, simplistsims see if this fixes your table layout problems.
The table is set to a fixed size of 1120px. This means that in a screen res of say 800*600 you will have a horizontal scroll bar that will show the rest of the table but all columns should show all content correctly.

Let me know if this is what you were wanting.

Just upload and overwrite emsu/admin/ed534ggt.php
Title: Re: Auto User Email Creation
Post by: simplistsims on September 02, 2006, 01:47:27 PM
i have a 1024x768 res.

Blimey the new files tables massive! :o
Title: Re: Auto User Email Creation
Post by: tuney on September 02, 2006, 03:08:39 PM
The table was originally designed for 1152*864 res.
I used the ed534ggt.php file from the previous post and for me it makes the table columns display all the data correctly in both IE and Firefox at 1152*864 and 800*600 (lower res as a horizontal scroll).

Is anyone else having problems with table contents not displaying correctly ?
Title: Re: Auto User Email Creation
Post by: Pete on September 03, 2006, 02:21:42 AM
In response to the above, I think it would be better to make it fit 1024x768 if poss as it's the most common resolution at the moment.

Just had a suggestion to expand this package slightly - since you're using cPanel (remotely if you will) to create, alter and delete email accounts, is there any chance you could make Roundcube the ultimate business tool by adding autoresponders as an option?

In theory it's just the same process - pass the autoresponder details to cPanel in the background and each user can have their own "Out of Office" auto-reply for when they're away. :)

What do you think? ;)
Title: Re: Auto User Email Creation
Post by: tuney on September 03, 2006, 07:59:30 AM
You are quite right about 1024*768 possible being the most popular res at the moment.
If the addon had been started as a general release then this is most probably the res it would have been written for.
However, when this addon was started it was never intended to be a release. It was written and used on one site only. The only real changes prior to release were on the config side so that other people could enter their own details for configuration for the addon to work for them.
I will do a layout to fit the table within this res and try and keep all the information currently shown within the table.

Allowing people to set their own auto responder is a good idea.
Once bugs of the latest release have been resolved I will start work on it.

Thanks again for your reports, comments and suggestions.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 03, 2006, 09:08:03 AM
gdgd.
Title: Re: Auto User Email Creation
Post by: Kieran on September 03, 2006, 09:45:50 AM
Just like to say that I think the work you done on this is fantastic tuney, its a great addition to what I have already found to be a great webmail system.

On the subject of suggestions, if auto-responders are to be added then might it make sense to include the other things that can be edited in the same way on CPanel such as spam settings and changing your password? (I note that while it seems you can change a users password in the admin panel, a user cannot do this themself? Please correct me if I'm wrong)

Thanks for all your hard work! :)
Title: Re: Auto User Email Creation
Post by: tuney on September 03, 2006, 09:59:53 AM
Thank you for your kind words and suggestions. I agree that RoundCube is a great webmail system!

Your quite right that other things that can be performed in cpanel could be done through Admin Panel. It could be made to take care of all email related features.

Anyone is more than welcome to post requests to be added to the next release.

You are also quite right that a users password can be changed in admin panel but not by the user themselves.
As far as I am aware there is already a plugin for this feature although I have not tried it out myself. If that is a feature that is still need then it too can be added to the next release.

Thanks to all for suggestions, support and comments and please keep letting me know of any bugs.
Title: Re: Auto User Email Creation
Post by: matt2minger on September 03, 2006, 07:35:53 PM
Hi,
if someone could send me the script to matt2minger@gmail.com or give me a link to download it i wud greatly appreciate it.

Cheers Matt
Title: Re: Auto User Email Creation
Post by: Scubes13 on September 03, 2006, 07:43:29 PM
Quote from: tuney
UPDATED RELEASE.....v1.1
......
Also starting work on an admin section as suggested by Scubes13, thank you.
This will include a master admin account, an option to give admin status to any other account, create/delete accounts, send password/change password/recover password and change quota.

Quote from: tuney
Unfortunately yes, this release will only work with those who utilize CPanel. The reason is simple, if somewhat selfish! I use CPanel so I know how that works. :-[

However, in theory at least, it should be relatively easy to adapt it for those who use web interfaces other than CPanel.

Once this release is out, if anyone would like it for another interface other than CPanel and is willing to test it before release I will adapt it for other systems.

Right now just testing things out and thinking of writting an install script for ease of setup.

Well, being the one who initially asked for this and having followed the thread closely, has been killer. I have never been a fan of CPanel, but how I wish I had it at the moment. LOL!

If and when you decide to try to tackle a generic non-CPanel version, let me know. I will be more than willing to test the hound out of it for you.

You have definitely done a great job at this application piece. As "Kieran" said, it is a great addition to the RoundCube project. It takes RoundCube to a whole new level. I can see you being a great asset to the RoundCube family of devs. Job well done!

Kevin L.
Title: Re: Auto User Email Creation
Post by: nefarios on September 04, 2006, 03:16:15 AM
is there a way to install this Auto Email Creation without using the Cpanel? cos i dont use Cpanel... if there is i am so much thankful. i just need the administration page cause i dont allow user to create sign-up own their own.


thanks...
Title: Re: Auto User Email Creation
Post by: Pete on September 04, 2006, 06:23:09 AM
Looking at all the possible additions in a future version that have been mentioned recently, I'd like to make a quick suggestion.

I think each feature should be able to be turned on or off in hte config file. Also, in terms of my suggestion to add auto-responders as an option, I think you should have the option to enable them for the admin users only or for everyone. Additionally, a user's auto-reply text should be set on the RC preferences page and stored in the database so they don't have to re-type it every time it's switched on and the on/off option should be here too I think.

As a final thought it might be nice to have an indicator somewhere on the main RC inbox screen as a reminder it's still on! ;)
Title: Re: Auto User Email Creation
Post by: tuney on September 04, 2006, 10:49:43 AM
I'm really glad to see some great suggestions and enthusiasm for future realeases.

Pete, your idea of the autoresponder addition is well thought out.
I also had that idea that any future releases will include options during install to select which functions will or will not be installed with maybe a way in the admin panel to alter these choices at a later date without having to reinstall. (Great minds think alike!)
The autoresponder on/off could also be in the admin panel, thus allowing it to be enabled on/off for all or individual users.
Once it is enabled then the user could be sent an email informing them that the option is on with instructions on how to use the feature.
I like the idea of individual users being able to turn autoresponders on/off from there account and a status being shown.

I am also planning on getting this working with platforms other than CPanel.
If people can let me know what it is thy are using (and are willing to do some testing for me as I will not be able to test on anything but CPanel) we can try and get this working for all platforms!
Once this has been achieved then it will be incorparated into a generic script. The platform used can then be chosen at install.

Many thanks again for all your ideas, suggestions, thoughts and helping take this addon far past what it was original written for.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 04, 2006, 12:11:07 PM
What would be great is if the script works with Plesk as I might be moving to a Plesk based server. Maybe also ZPanel.
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 04, 2006, 12:25:55 PM
Okay, let me get this straight. What this mod does is add a functionality to roundcube, which enables the users with admin rights to add email accounts? While adding email accounts, the password is specified by the admin? And the login info is emailed to the person for whom the account is created. And the user for whom the email account was created cannot change the password from within rc interface. Is this right?
Title: Re: Auto User Email Creation
Post by: tuney on September 04, 2006, 02:16:51 PM
Yes, that's basically how the 'create account' on the admin side goes.

You must remember that this script started as a personal one-off, never intended for release, just to add the ability for users to signup an account and retrieve lost passwords.
The admin panel was latter added after requests. The create account was added to the admin panel after a request.

While I agree with you that the ability of users to change their password from within RoundCube would be very welcome it is not what this addon was started for.

There is also a addon already available for this feature (adding change password to RoundCube), however I have not had the chance to test this out myself yet.
As long as this addon works, why recreate the wheel ?

If someone has tested this password change addon and can verify whether it works it would be helpful.

If it appears that it doesn't work then I will certainly add a user password change feature to the next release.
 
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 04, 2006, 02:38:07 PM
Well, let me help you out there. Creating an account at admin side is fine, but not allowing users to choose their own passwords? And not allowing them to change it afterwards? I doubt anyone would want that.

What one would want is, an invite system. That is, signup is not open to everyone, though users can get an account via invites. The admin can generate an invite, and only by using that invite can the user signup for an email account. This way, they can choose their own password, and the admin does not know their login details.

This is exaclty what I have coded. Since it was not roundcube related (but rather cpanel based), I did not release my code here. What my code does is, generate a random invite, send the invite to the users alternate email, the user signs up for the account, the admin gets notified and finally the invite gets expired.

Do you think you can borrow my code, add it to yours, also borrow that password change code so that the end result is this:

1. Admin can generate invites and send the email containing the invitation link to the users' alternate email id. (This is already done by my code).

2. Integrate this admin panel in the roundcube interface, only for users assigned admin status (done by your code).

3. Create a new level of aministration, that is mod like feature, that allows users access to an Invite Panel, which only allows creation of new invites (alloted to that user by superadmin). This can be thought of like what gmail does, allot users invites to invite new users. (New code, new feature).

4. Users have an additional field in settings panel to change their password (already coded by someone, as mentioned by you).

Now how does that sound?
 
Title: Re: Auto User Email Creation
Post by: matt2minger on September 04, 2006, 02:40:21 PM
Hi,

i have installed the rc admin v2.1 beta 1 and when i try to install it i press install and it says can't open file, i wonder if you know what may be causing this.

Thanks
Matt
Title: Re: Auto User Email Creation
Post by: 123123 on September 04, 2006, 03:01:07 PM
THANKS FOR GREAT JOB, But i can't install too.

I simply suggest to releas version with integrated auto creation user and password changing system. it would fit all OUR NEEDS. thanks in advance and waiting for new releases ;)
Title: Re: Auto User Email Creation
Post by: nefarios on September 04, 2006, 09:12:13 PM
@ tuney,


  regarding on the platforms what we're using as you've mention aside from CPanel, by the way i am using Webmin and if this can be also work with the code you made it will be a pleasure. and i'm willing to test it and try for bugs . in this way as you've said we can get other platforms get working so i hope using Webmin is a start after CPanel..


thanks for the reply.. and great work
Title: Re: Auto User Email Creation
Post by: igeoffi on September 05, 2006, 02:49:42 AM
Quote from: nipun_jain
Well, let me help you out there. Creating an account at admin side is fine, but not allowing users to choose their own passwords? And not allowing them to change it afterwards? I doubt anyone would want that.
for change pass
add a column to user table called pass and another called mpass
add a new tab for pass
mpass will be the pass set in cPanel
pass will be the pass set by the user
Title: Re: Auto User Email Creation
Post by: Kieran on September 05, 2006, 03:44:24 AM
Surely you would want the CPanel password for the account it's self to be changed so that were you to use several methods of access to mail (such as IMAP and POP) this would still function with the users new password?
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 05, 2006, 05:05:18 AM
I agree with keiran, rc should not be the only method through which users can access their mail, they should be allowed to use clients such as evolution, thunderbird etc.
Title: Re: Auto User Email Creation
Post by: tuney on September 05, 2006, 07:55:31 AM
I agree with the method of password change. It should be done by utilising CPanel (or other) and be changed on the mail server so that any client can be used with the same password.

Thanks all for the suggestions of other platforms other than CPanel.

nipun_jain, I like your idea, what does everyone else think ?

Anyone who gets a 'can't open file' error, first make sure that emsu/includes/db.inc.php is writtable by the server.


Title: Re: Auto User Email Creation
Post by: nipun_jain on September 05, 2006, 08:18:18 AM
Am glad you like the idea, if you want to work on it, let me know, I ll forward you a copy of my code after making some changes (currently my settings are hard coded into it). If not, I ll start working on it myself, after my exams get over in a week. I am sure I we can get it to work, and this can benifit all the rc users who use cpanel (maybe others too, as there is only 1 line of code which actually creates the email account), and this is the way the account creation should be handled, coz this way, even if we cannot get password change to work, the users get to set their own password (in addition to their choice of email login id) which is unknown to the administrator. 8)
Title: Re: Auto User Email Creation
Post by: tuney on September 05, 2006, 08:37:49 AM
I agree that users should be able to pick their own passwords and usernames if these accounts are created through admin panel. Just as they can now if they use the 'signup' link already in place.
Personally speaking, I would also like to keep the 'add account' system that is already in place in the admin panel as this makes it easy for admin to add any 'admin type' accounts, such as 'postmaster', 'info' etc.

It really just depends on what people want.
If you want anyone to be able to create an account with their own username and password then the system in already in place works fine.
An easy fix would be to add an extra link to the admin panel as an 'Invite User to Signup' which will send them a link to the signup page already in place.

However, if signup needs to be limited to only people who are invited then it sounds like the system that you have in place would be better.
Title: Re: Auto User Email Creation
Post by: matt2minger on September 05, 2006, 10:46:07 AM
Hi,

great script and now when i install it it sayd "Invalid default value for 'activated'" i am not sure what this means?

Cheers Matt
Title: Re: Auto User Email Creation
Post by: tuney on September 07, 2006, 07:18:36 PM
Default value for activated should be '1'.

I will check the install code as soon as can to see why you are getting this error.

Just to let everyone know, I am still developing and supporting this addon.
However, for the time being at least, things may not be done as fast as I would have ideally liked. This is due to some sudden family health problems that I hope and pray will be resolved soon. Some things come above all others.
In the meantime, please be patient, I am continuing work on this and will do what work I can when I can.

Many thanks.
Title: Re: Auto User Email Creation
Post by: 123123 on September 08, 2006, 07:30:02 AM
tuney - great work. could you make a realese with all these plugins together (password change, user creation). i mean, that after you instal everything, you have all these features together at once.
Title: Re: Auto User Email Creation
Post by: tuney on September 08, 2006, 09:53:28 AM
The plan is that the next release will have all the features bundled together. For some of these there will be an option during install whether to install a particular feature or not.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 08, 2006, 11:10:05 AM
I hope your family gets better soon! :( :(
Title: Re: Auto User Email Creation
Post by: Zerolightning on September 08, 2006, 11:38:33 AM
I think the work you are doing here is amazing. I am looking forward to the next release.
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 08, 2006, 11:51:00 AM
Hey tuney, can you gimme an idea about what the next release is going to contain? Are you going to implement the invite system, or do I have the permission to edit your code to do so? Or should I wait for the next release to start working on it?
Title: Re: Auto User Email Creation
Post by: 123123 on September 08, 2006, 01:59:27 PM
Quote from: tuney
The plan is that the next release will have all the features bundled together. For some of these there will be an option during install whether to install a particular feature or not.
waiting for this release ;)
Title: Re: Auto User Email Creation
Post by: tuney on September 09, 2006, 03:32:23 PM
The next release will have the invite option.

At the present time I am reviewing what needs to be changed/added and work will then start.

Many thanks to you all.
Title: Re: Auto User Email Creation
Post by: nipun_jain on September 09, 2006, 03:58:03 PM
Its good to know that you ll be implementing invite system. I think it should be configurable whether the user wants an open signup system or the invite system. Since I have already developed the invite system, if you need my code, you can always ask here. Or you can always write your own. What matters is that people are gonna get an invitation only option too. ;D
Title: Re: Auto User Email Creation
Post by: Chadi on September 09, 2006, 06:53:38 PM
Thank you Tuney. Just curious when you might
start work on the vbulletin integration.

Thanks again.
Title: Re: Auto User Email Creation
Post by: tuney on September 09, 2006, 08:44:44 PM
I plan on doing vbulletin integration along side work on the new release.
From what I understand what is wanted for vbulletin is a hack to the signup page to allow users the option to also signup for an email account. This feature is already present so it's just a matter of hacking it into the user signup page of vbulletin.
Title: Re: Auto User Email Creation
Post by: Lena on September 12, 2006, 12:31:52 PM
Quote from: tuney
Unfortunately yes, this release will only work with those who utilize CPanel. The reason is simple, if somewhat selfish! I use CPanel so I know how that works. :-[

However, in theory at least, it should be relatively easy to adapt it for those who use web interfaces other than CPanel.

Once this release is out, if anyone would like it for another interface other than CPanel and is willing to test it before release I will adapt it for other systems.

Right now just testing things out and thinking of writting an install script for ease of setup.


Your release sounds EXACTLY like what I've been looking for... thanks for all the great work :) ! Just that I'm currently hosted at DreamHost, and they've got their own webpanel :-[ ..... I would really appreciate a compatible release and would of course be more than willing to test it ;) !!!
Title: Re: Auto User Email Creation
Post by: tuney on September 12, 2006, 07:56:05 PM
Thank you to everyone for their support in this project.

I have just started work on the invite system.
This will link off the admin panel and have it's own 'admin' section listing details such as email and name of the invited person, date invite was sent, date invite expires, days remaining for active invite, invite status (active/expired/completed - changeable).

Invites can be managed from this page in the following ways....

Individual invites can be added by entering an email address, optional name and number of days person has to signup before the invite expires
An email will then be sent to the address entered. Their will be a link in the email to a signup page. The link will also include a query id. (This query id must match the id in the database for the signup page to be accessed). Once signup is completed the invite will show as 'completed' in the invite 'admin' section.

Invites can also be deleted, reactivated if they have expired, deactivated or set to completed.

Many thanks to nipun_jain for the idea of implementing an invite system. I think it will be a worthy addition.


Once the next release is completed I will be starting on converting to systems other than CPanel and hope to have an all-in-one install where you can chose the system you use (eg.CPanel, Webmin etc )
Title: Re: Auto User Email Creation
Post by: 123123 on September 13, 2006, 06:15:21 AM
and i think there is error with atachments, its impoisible to download them, maybe you could fix it too...
Title: Re: Auto User Email Creation
Post by: simplistsims on September 14, 2006, 11:43:50 AM
I was just thinking how annoying it was to change settings for roundcube becuase you have to open your FTP program and edit your main.inc.php. Then I thought maybe you could addon something into the admin panel MOD that changes the settings for you.
Title: Re: Auto User Email Creation
Post by: tuney on September 14, 2006, 01:12:17 PM
I agree that it is a pain editing the files. One idea was to release the already edited file with the package and just overwrite your existing file (with RoundCubes permission). However, this isn't a great idea incase other mods have been made to the files.

So, allowing install to edit the files needed would be a good idea, however this will probably be the last step of the release once all functions have been tested.

The errors with attatchments should be nothing to do with this addon. However, once the release is complete, if errors that are independant of this addon are still present I will look into them. My main priority at the moment is the next release.
Title: Re: Auto User Email Creation
Post by: tuney on September 16, 2006, 01:04:04 PM
The invite system is completed and functional.
Just some tidying up of GUI to do on this section and then I will post more details and screenshots.

Briefly, there is an invite 'admin' section that is accessable from the main admin panel.

This lists all invites sent (email, name, date invite was sent, date invite expires and current invite status - active/expired/completed)

Individual invites can be deleted.

New invites can be sent by entering email, name and picking an expiration date from a popup calendar.

The invite is then sent by email, containing a link which includes a unique query string for that invite, and the new invite shows up on the table.

Invite status automatically changes from active/expired/completed.

If the invite has expired by the time the link is clicked the user will be informed and the admin notify address given.

Once invite has been completed it will now longer be able to be used again.
Title: Re: Auto User Email Creation
Post by: AzBlk on September 19, 2006, 01:58:59 AM
Hello there. I am new here and would like to thank all of you developers for sharing your good work. My question is how can I get a copy of this plugin?
Title: Re: Auto User Email Creation
Post by: Pete on September 19, 2006, 02:54:16 AM
Hi AzBlk

The new version isn't out as Tuney says in his above post he's still working on the new features requested.

If you navigate back thorugh the 8 pages of this thread though, there should be an earlier version for download.
Title: Re: Auto User Email Creation
Post by: simplistsims on September 19, 2006, 11:50:48 AM
I cant use this addon anymore! :'( Im moving to a plesk server
Title: Re: Auto User Email Creation
Post by: ufocek on September 20, 2006, 11:52:54 AM
Hi

This script I can use only when I have CPanel?
Title: Re: Auto User Email Creation
Post by: dumle on September 21, 2006, 01:30:17 PM
Hello all!

First of all i just want to thank you for a great plugin!

I installed it this morning, and it seems to be working great!

Some thoughts for future releases though:


I could help out with most of the points above, but maybe there should be some kind of structure as how to set the different parts up? Or perhaps you tuney could put the stuff together before a release?

And the bugs ive found so far:

YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA
[/list]
Title: Re: Auto User Email Creation
Post by: Chadi on September 21, 2006, 01:42:50 PM
Thanks Tuney for the great work. Just curious if you
have a possible ETA on the vbulletin plugin/integration.

I'll be more than happy to send you a little donation for your hard work.
Title: Re: Auto User Email Creation
Post by: misteraven on September 25, 2006, 11:03:22 AM
after very extensive research, i've come to realize that there seems to be nothing out there that does what i was looking for. hivemail almost did it, but then the project died before they could fix the load problems it created on sites with heavy traffic (over a couple thousand members).

then i stumble across roundcube, and i'm blown away by the elegance of it. judged on it's own, it seems to be leagues ahead of whats out there. however, the drawback (in my situation) is the vB integration. i'd love to see it go beyond just a simple authentication and also allow for groups to be created within roundcube that allow for predefined quotas and privileges...

ie:

group 1: 25mb quota, up to 3 custom defined storage folders.
group 2: 100mb quota, up to 5 custom defined storage folders.
group 3: unlimited quota, unlimted custom defined storage folders.

then have it possible to link these groups to user levels in vB...

ie:

regular vB member is entitled to roundcube group1.
senior vB member is entitled to roundcube group 2.
paid (premium) vB member is entitled to roundcube group 3.

as a standard option it would be hoped that a new vB registrant would be presented (or old member have an option to be grandfathered in) with a dialogue offering them to sign up for webmail. (bonus would be if they couls also be presented with an offer to immediately pay to upgrade to a premium account).

further, (and this is crucial for us at least), would be an admin panel of some sort to be able to...

first see some basic stats: how many outgoing/incoming emails (hourly/weekly/monthly/yeat to date/yearly). average disc usage per roundcube group. view/contact members per roundcube group. the next feature, and this one is huge (in our case at least) would be to have an admin panel to define footer ads for outgoing emails. again they would be able to be activated by roundcube group, and allow for text or html ads. flexibility would also be nice, like being able to define campaigns, start and end dates, etc.

anyhow, these are only my opinions on what we'd would love to have. judging from the beautiful job so far on developing roundcube, i can only imagine what a graceful approach to the above we'd see if the developer(s) were interested in pursuing this. i hope i don't offend anyone by saying that for the above options, i'd be willing to pay generously (as well as contribute the code back), despite the direction of the project remaining opensource and free.


Title: Re: Auto User Email Creation
Post by: Pete on September 26, 2006, 08:23:56 AM
It's an interesting idea, but sounds a bit more of a major mod than what tuney's got planned for his next release (requiring a bit of tinkering in RC and vB's files I would think as email quotas would have to be changed if user changes groups).

On the plus side though it also sounds, from what I can gather, quite possible that the next version (tuney's extra additions, not RC) could be extended further to achieve this.
Title: Re: Auto User Email Creation
Post by: tuney on September 26, 2006, 03:07:50 PM
Thank you again for the support, encouragement and comments.

Sorry it's been a while since I replied but work has been keeping me busy. Finally I have a chance to start really working on this again!

So, here's a quick update on progress and plans.....

Features planned to add...
Image verification for signup

Better INSTALL.TXT

Integration - for Vbulletin, and some CMS's (so far planned for Xoops, Joomla, php-Nuke). Integration would include auto signup and auto login/logout.

Use with other systems other than CPanel.

Features already added and being tested....
Invite email - enter an email address, name and expiration date. The recipient is then sent an email with a unique link and a date of when that link will expire.
On the admin side, a list of invites are visible, showing the email address that has been invited, name, date invite was sent, date of expiration, valid days reamaining and the invite status.
The invite status is either, active, expired or completed.
If a user signups from an invite the status in admin is automatically set to completed and that particular link is no longer valid.
If the expiry date passes and the user visits the link they are informed that the invite is expired.

Basic stats on the main admin page - Total number of accounts, total quota used.

Mass Email - an email can be sent to all or any users by ticking a box by their email address.
Clicking on the send mail button then taps into Roundcube, opens up a window ready to compose an email with the address selected already entered into the address field.

I am sure there are other things that I have planned for it or have already done, I will need to look back through the post and my little bits of paper!!

However, the above is a quick update on things and to let you all know that the project is still active.

I really like misteraven's idea and it sounds like it would be fun to do although it will most likely be a 'seperate' project once this next release is out.

Thanks
Title: Re: Auto User Email Creation
Post by: misteraven on September 27, 2006, 07:48:44 PM
thanks for the acknowledgement.

i'm considering funding the private development of the featureset i suggested in my first post. if so, i'll definitely make sure changes and code are carefully commented and logged, and contribute the results back to you with the hopes, that it'll somehow be supported by future versions of the project.

if there's anything you suggest moving forward, please contact me.

thanks again.
Title: Re: Auto User Email Creation
Post by: yada on September 28, 2006, 06:32:13 PM
Hey man i wanted to thank you for these add ons you have made for roundcube and how easy you have made it to install/configure.. and how much i have learned thanx to your read me files/install instructions..

I'm am VERY new to Linux / open source software... and to tell you the truth opensource software is the BEST things i have ever discovered. At this point in time the only thing i have ever installed has been Joomla and Roundcube ( roundcube i had the help of my hosting company ) i also had to get some help with the 'useraccounts' database's but configuring has been a breeze..

 I'm still having some problems but i think it has something to do with cpanel. The problems I'm having i haven't seen any one else post about so i really don t think its a code problem, but my hosting company has and is helping me more then i could have ever expected (liquidweb.com) but i just wanted to express how much i appreciate everything your doing and have done... And to thank you for making it so easy for someone with as little experience as my self to do things on Linux..

Keep up the good work man


On another note I'm not rich but do have some money i would like to invest on getting some other
features added and think your the right man for the job.. and to show my gratitude to open source and the makers of Roundcube i have no problems posting w/e i pay for to make life a little better to anyone who thinks open source software makes life better... LIKE MYSELF...
Title: Re: Auto User Email Creation
Post by: Yoshi on October 01, 2006, 03:55:11 PM
I hope this plugin will work with Plesk 8 soon :)
Title: Re: Auto User Email Creation
Post by: yada on October 01, 2006, 08:41:47 PM
man no matter wut i do i cant get this to work : /
Title: Re: Auto User Email Creation
Post by: yada on October 05, 2006, 04:32:03 PM
got working now thanx to some else lol
Title: Re: Auto User Email Creation
Post by: tuney on October 09, 2006, 09:59:45 AM
Thanks for everyones support and patience!!

As we all know, one thing that can be relied on in life is that bills will keep coming so I have had most of my time just lately taken up with some Ecommerce sites to keep the wolves happy !! lol

Work is still continuing, at present I am adding the code validation.

Over the next few days I will looking back over these posts to see what other features people wanted and try and incorporate them all into this release.

Once completed, I will also most likely be looking for a ' willing volunteer ' who would let me do a fresh install of the plugin on their server to check for install bugs. Then the realease will be available.

After the release I will mainly be working on RoundCube integration. Both with bulletin boards/forums and CMS's. Just a simple Auto signup/login type thing.

Title: Re: Auto User Email Creation
Post by: ptwmedia on October 10, 2006, 02:06:48 AM
I would love joomla integration! :D I might be your willing volunteer as well...
Title: Re: Auto User Email Creation
Post by: Leenug on October 10, 2006, 04:16:42 PM
Hey Tuney,

I run a small webhosting company, you have a free acount if you want it. RC is an a amazing script and you have just made it so much better, So you are very welcome to a free hosting account for both testing of your scripts, or even if you have a personal site you want to host. :)
Title: Re: Auto User Email Creation
Post by: yada on October 13, 2006, 11:34:54 AM
NO problem any time you need it i got all the hosting you need ;)
Title: Re: Auto User Email Creation
Post by: bcharna on October 13, 2006, 07:47:16 PM
im confused, tuney, is there support for webmin or not? if no when will there be? I need this!
Title: Re: Auto User Email Creation
Post by: Yoshi on October 27, 2006, 03:49:01 PM
Any updates or information so far?
Title: Re: Auto User Email Creation
Post by: tabshirkabir on October 30, 2006, 08:30:37 AM
where is the file man ?? plz plz upload the file and send us
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 04, 2006, 12:41:49 AM
It was mentioned before that a slight code modification could allow this to work on something other than cpanel. Could you elaborate more on that or have you included that in the zip folder?
Title: Re: Auto User Email Creation
Post by: calande on November 05, 2006, 01:34:45 PM
Looking good :)
Does this only work with cPanel? (I use Dreamhost)
Title: Re: Auto User Email Creation
Post by: calande on November 05, 2006, 03:32:28 PM
I'm clueless... It's asking for CPanel username, password, IP and skin, but I don't have cpanel...What should I do? :-[
Title: Re: Auto User Email Creation
Post by: indie on November 06, 2006, 03:12:06 PM
You have to have cPanel to use this. What kind of control panel does your hosting come with?

On another front. I need someone with some experience with paypal ipn to integrate a paypal class with this script. I'm paying, not a whole lot but will work something out. If you can do this, pm me.
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 10, 2006, 11:49:55 PM
It said earlier that you could make this work without cPanel...
Title: Re: Auto User Email Creation
Post by: chrisbu on November 11, 2006, 10:31:05 AM
Hi Tuney, this admin panel is excellent stuff.

I made one small problem for myself, not a bug in your code, when I added the user name mods from elsewhere in the Forum (actually screwed the system by trying to use two different mods at the same time), but a quick tweak of my additions showed your code to still be working fine.

Incidentally a "quickie" comment about the default admin user.

It IS possible to use an existing user IF you delete him/her from the data base and Cpanel before doing your installation. All existing mail can still be accessed after installation.

Bye Chris
Title: Re: Auto User Email Creation
Post by: onie on November 11, 2006, 09:42:53 PM
Hi All,

I just stumble on this very interesting webmail script.

The auto user creation plug in makes round cube a very usefull tool to allow anybody from my team t setup their own email account and expose the webmail without giving them access to cPanel.

I got two question though before I install this script.


1. Will it work with POP only, I am not sure is IMAP is an option in my hosting although it has a cPanel?
2. Where can I get the Auto User Email Creation Plug-in?

Thanks in dvanced.


Onie
Title: Re: Auto User Email Creation
Post by: indie on November 11, 2006, 11:13:33 PM
If you have cPanel you should have imap access. You can find the plugin back on page 5 of this thread, reply #65.

Would be much easier on people if plugin downloads were always attached to the first post, like so many other script support forums.

On an aside... I am still looking for someone to integrate paypal subscriptions into this plugin, pm me.
Title: Re: Auto User Email Creation
Post by: tuney on November 12, 2006, 08:31:58 AM
Again, many thanks for all your support and appologise for not posting earlier.
Work commitments are to blame for this but rest assured that work is continuing on this project.

To answer some questions quickly......
At present, this script is designed to work with CPanel only. It is intended to make this script function with as many different systems as possible. Once all of the other side is completed I will concentrate on porting the script to other systems besides CPanel. At this stage any help from anyone who has experience working with other systems would be greatly apperciated.

The latest release can be found at http://roundcubeforum.net/forum/index.php?topic=232.msg2456#msg2456 (http://roundcubeforum.net/forum/index.php?topic=232.msg2456#msg2456)

Joomla, SMF and Xoops integration for Roundcube is also in the works. This would both be for email account creation on registration to the site (optional) and auto login to Roundcube when loging into the site.
Joomla login integration is half way completed and I believe that SMF auto login is completed.

For those offering free hosting this is greatly appreciated and I may take up some offers soon when it comes to a full installation test. Thank you.

Again, thanks for all the support and I hope to get the next release out very soon.........
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 12, 2006, 12:26:21 PM
Ok CPanel is a specific type of control panel right? Because I have a control panel but Im guessing it needs something specific.

So from what you said, Tuney, you're working on a script to make it work on other control panel systems?
Title: Re: Auto User Email Creation
Post by: indie on November 12, 2006, 12:40:48 PM
ProwlingTiger, google is a wonderful thing. http://www.cpanel.net/

If you don't have that control panel software this won't work for you until a future version may be developed for whatever software you are using. Finding out what kind of control panel script you have now and letting tuney know that you would like it to work on that one, would help I'm sure.
Title: Re: Auto User Email Creation
Post by: onie on November 12, 2006, 11:36:32 PM
Hey Indie and Tuney,

thanks for the help...
will try to install this beauties soon.

Onie
Title: Re: Auto User Email Creation
Post by: ptwmedia on November 13, 2006, 01:28:18 AM
Thanks for the awesome script! When you are ready, I have a brand new domain/hosting/cPanel available for joomla testing!
Title: Re: Auto User Email Creation
Post by: chrisbu on November 13, 2006, 08:54:15 AM
I was formatting my sign-up page (as in the atached) to suit my main site style and it occurred to me that many users will be providng an open/public webmail rather than a "clo.sed to company" one. With that in mind there is probably a need to isolate the site and ourselves from litigious leechers who may try to register and then sue because a mail goes astray - or get involved in a multi-billion pound/dollar lawsuit for handling pirated muisc

I put a simple accept or else comment - and some T&C on the page ... but perhaps a "tick box" with "I HAVE READ AND ACCEPT THE TERMS AND CONDITIONS" would be a nice addition for the next upate. Sure I could put the tick box and get the data - BUT I'm nowhere near good enough to code the validation. IF tick_box_in == NULL DIE stuff is beyond me.

Still again thanks for some great script

Chris
Title: Re: Auto User Email Creation
Post by: tuney on November 13, 2006, 12:06:24 PM
Excellent idea Chris about the 'Accept Terms and Conditions' tick box. This will be included in the next release. Thanks.
Title: Re: Auto User Email Creation
Post by: onie on November 13, 2006, 02:07:47 PM
Hi All,

I'm experiecing a problem that somebody might encounter before and fixed already.

The auto user creation script CANNOT create email/s in the cPanel. This started at installation where it should createdthe 'postmaster' account. The script just stayed executing until it reached the PHP script timed out. I checked the tables and verified that the 'postmaster' account was created in the table. So my conclusion is the cPanel script part is not doing what it supposed to do in my web host - which is kiosk.ws

Any body has seen solutions for this?

Thanks

Onie
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 13, 2006, 09:17:13 PM
Does anyone know what type of control panel HostDepartment uses? All I know about it is h-sphere or something or other. It doesnt really say.
Title: Re: Auto User Email Creation
Post by: indie on November 13, 2006, 09:37:43 PM
If it has HSphere then you have your answer, sorry to say.

I used that on the first host i ever got, and hated every minute >:(
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 14, 2006, 05:10:57 PM
So, what systems is the script being fitted to currently?
Title: Re: Auto User Email Creation
Post by: Pete on November 15, 2006, 08:49:54 AM
As posted many, many times in this topic, it only works on cPanel for now.
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 15, 2006, 06:42:49 PM
Quote from: Pete
As posted many, many times in this topic, it only works on cPanel for now.
I know,I was asking what was being worked on right now. From what I heard, it is being worked on to work on other control panels, I was just wondering what those other ones are.
Title: Re: Auto User Email Creation
Post by: indie on November 15, 2006, 07:52:49 PM
My understanding from this thread is that *currently* no other platforms are being added. What tuney is doing is the invite system, vb integration, and a couple other details like a captcha image. He said after this next version is released attention would turn towards other platforms, and there has been interest posted here for plesk and webmin. If you're running on HSphere, and want it supported I'd just suggest posting as such, and see what happens.

Tuney, I'm not trying to speak for you here, this is of course all yours. Just trying to help out by clearing up what is actually happening. Please correct anything that needs it.

ProwlingTiger, are you on a windows server with that HSphere panel? Like hosting by Infinology or someone? If it would solve your issue I could set you up with a demo account on my (linux based) hosting using cPanel, and if you preferred it we could work out something long term. I'd help you move as well if it came to that.
Title: Re: Auto User Email Creation
Post by: pozo on November 16, 2006, 10:07:05 AM
Will there be a Confixx Edition?
Title: Re: Auto User Email Creation
Post by: ProwlingTiger on November 16, 2006, 03:55:59 PM
Tuney: IF you ever have the time or ability to make it work, Id love to see this script work with HSphere and would consider paying a monetary amount.

Indie: Thanks for the help the only problem I see is that I love my current hosting. And I want the mail accounts with my current domain...but its an option. I currently have linux hosting but I wouldnt mind trying what hosting you have. Mind giving me the link to your host? Or is your Infinology?
Title: Re: Auto User Email Creation
Post by: indie on November 16, 2006, 04:21:25 PM
ProwlingTiger, my siglink is my hosting business: http://www.nicelyhosted.com/

It has nothing to do with infinology, they were just the first I encountered using hsphere. If you were to move, there is no reason you can't move your email accounts with you. Anyway we're straying pretty far offtopic here, I'll pm you with my msn tag.

tuney, any better idea of eta for the next version?
Title: Re: Auto User Email Creation
Post by: pablolagosm on November 17, 2006, 06:36:19 PM
Hello, I've seen this topic and I'm really interested in your script... 8)

¿How can I get it?

Regards,

Pablo Lagos M.
Title: Re: Auto User Email Creation
Post by: indie on November 17, 2006, 07:24:08 PM
Quote from: pablolagosm
Hello, I've seen this topic and I'm really interested in your script... 8)

¿How can I get it?

Regards,

Pablo Lagos M.

Wish people would read threads before asking stuff. The post here has the latest version attached. http://roundcubeforum.net/forum/index.php?topic=232.msg2456#msg2456
Title: Re: Auto User Email Creation
Post by: doof92 on November 21, 2006, 11:30:06 AM
Hello,
Is it possible to use multiple domains with this script, i.e. a user can signup for either @domain1.com or @domain2.com?
If so, how is it done.
Thank you very much
Title: Re: Auto User Email Creation
Post by: GuessEye on November 21, 2006, 08:32:48 PM
Tuney,

I'm currently building a site in MODxCMS that intergrates into SMF. IMHO it would be great if you could add (preferably MODx) and/or SMF intergration support into a future release, I think it would be a great fit.

Nevertheless, I must say that your plug-in is a great addon to RC, thank you for all your hard work!
I'm really looking forward to the next release.  :)

Sincerely,
Will
Title: Re: Auto User Email Creation
Post by: waltercool on November 21, 2006, 09:26:58 PM
Hi there... i have this problem

Table '*****_webmail.useraccounts' doesn't exist

* is only a filter :P

What can i do?

In my version of roundcube (last) exist user table, no useraccounts :S
Title: Re: Auto User Email Creation
Post by: SKaero on November 22, 2006, 03:26:42 AM
Quote from: waltercool
Hi there... i have this problem

Table '*****_webmail.useraccounts' doesn't exist

* is only a filter :P

What can i do?

In my version of roundcube (last) exist user table, no useraccounts :S
Well I think you forgot to add the new tables in your mysql db. Go into the sql and then add the files to you db.
Title: Re: Auto User Email Creation
Post by: waltercool on November 22, 2006, 03:43:13 AM
I was used that.
Title: Re: Auto User Email Creation
Post by: indie on November 22, 2006, 04:40:27 AM
Quote from: INSTALL.txt
Upload 'emsu' directory and all sub-directories into your roundcube directory.

Ensure emsu/includes is writtable. Permissions can be changed after installation.

Point your browser to the install folder (eg.http://www.yourdomain.com/webmail/emsu/install/index.php)

That is from the install file. Running that installer script will add the necessary SQL tables to your database.

If you think you have already done this, do it again and be triple sure that the connection information you enter into the installer is correct.

Hope this helps.
Title: Re: Auto User Email Creation
Post by: waltercool on November 22, 2006, 04:56:49 AM
So... this error??

Invalid default value for 'activated'
Title: Re: Auto User Email Creation
Post by: indie on November 22, 2006, 06:04:23 AM
Worth a try...

OPEN: /emsu/install/do_install.php

FIND: (~line 96)

Code: [Select]
mysql_query(&quot;CREATE TABLE IF NOT EXISTS useraccounts ( id int(11) NOT NULL auto_increment, username varchar(20) NOT NULL default '', password varchar(20) NOT NULL default '', activated int(11) NOT NULL default '', altemail varchar(50) NOT NULL default '', fname varchar(20) NOT NULL default '', lname varchar(20) NOT NULL default '', securityquestion varchar(50) NOT NULL default '', securityanswer varchar(50) NOT NULL default '', ip varchar(16) NOT NULL default '', timestamp varchar(37) NOT NULL default '', quota int(11) NOT NULL default '', PRIMARY KEY (`id`))&quot;) or die(mysql_error());
REPLACE WITH:

Code: [Select]
mysql_query("CREATE TABLE IF NOT EXISTS useraccounts ( id int(11) NOT NULL auto_increment, username varchar(20) NOT NULL default '', password varchar(20) NOT NULL default '', activated int(11) NOT NULL default '0', altemail varchar(50) NOT NULL default '', fname varchar(20) NOT NULL default '', lname varchar(20) NOT NULL default '', securityquestion varchar(50) NOT NULL default '', securityanswer varchar(50) NOT NULL default '', ip varchar(16) NOT NULL default '', timestamp varchar(37) NOT NULL default '', quota int(11) NOT NULL default '0', PRIMARY KEY (`id`))") or die(mysql_error());

SAVE FILE

Try running the installer again and report back, if you still have problems can you post your server's versions of php and mysql?

gl
Title: Re: Auto User Email Creation
Post by: waltercool on November 22, 2006, 10:15:57 AM
Many thanks... works

I have MySQL 5.x
Title: Re: Auto User Email Creation
Post by: doof92 on November 24, 2006, 02:18:02 PM
Anyone know? Thanks

Quote from: doof92
Hello,
Is it possible to use multiple domains with this script, i.e. a user can signup for either @domain1.com or @domain2.com?
If so, how is it done.
Thank you very much
Title: Re: Auto User Email Creation
Post by: xopek on November 24, 2006, 08:10:47 PM
Quote from: tuney
After the release I will mainly be working on RoundCube integration. Both with bulletin boards/forums and CMS's. Just a simple Auto signup/login type thing.

Please give me a shout if you need any volunteers to test roundcube/vbulletin integration!
If you can get them working together this would be increadible!!

Denis
Title: Re: Auto User Email Creation
Post by: Tam2 on November 26, 2006, 10:36:36 AM
hey can someone mod this to work with direct admin,

The currrent script i use for direct admin is the following perl script:

Code: [Select]
#!/usr/bin/perl -w

# Read the standard input (sent by the form):
read(STDIN, $FormData, $ENV{'CONTENT_LENGTH'});
# Get the name and value for each form input:
@pairs = split(/&/, $FormData);
# Then for each name/value pair....
foreach $pair (@pairs) {
# Separate the name and value:
($name, $value) = split(/=/, $pair);
# Convert + signs to spaces:
$value =~ tr/+/ /;
# Convert hex pairs (%HH) to ASCII characters:
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(&quot;C&quot;, hex($1))/eg;
# Store values in a hash called %FORM:
$FORM{$name} = $value;
}

use HTTP::Request::Common qw(POST);
use LWP::UserAgent;

print &quot;Content-type: text/html\n\n&quot;;

@QUERY_STRING = split (/\&/, $ENV{QUERY_STRING});
foreach $line (@QUERY_STRING) {
( $var, $val ) = split (/\=/,$line);
$val =~ s/(\@|\%40)/\\\@/g;
eval &quot;\$&quot; . $var . &quot; = \&quot;&quot; . $val . &quot;\&quot;\n&quot;; print &quot;<br />&quot;;
}
$browser = LWP::UserAgent->new();
$browser->agent('Mozilla/4.76 [en] (Win98; U)');
$browser->cookie_jar({});
push @{ $browser->requests_redirectable }, 'POST';

# change the username, password and ip address to your server information.
$url = '[url]http://USERNAME:PASSWORD@IP:PORT/CMD_EMAIL_POP?DOMAIN=DOMAIN_NAME';[/url]
$response = $browser->post( $url,
[
action => 'create',
add => 'Submit',
user => &quot;$FORM{'user'}&quot;,
passwd => &quot;$FORM{'passwd'}&quot;,
passwd2 =>&quot;$FORM{'passwd2'}&quot;,
quota => '$FORM{'quota}',
]
);

die &quot;Can't access admin tool -- &quot;, $response->status_line
unless $response->is_success;

print $response->content;

Title: Re: Auto User Email Creation
Post by: the r3a! ne0 on November 26, 2006, 11:37:55 AM
Hi

I've got a problem...

on my server there isn't cpanel as control panel running...the hoster is kas-server.de

and i don't know either the cpanel's port nor the cpanel's ip...so i am not even able to test if the admin and the password script are running on this...

can anybody help me please?!?

thanks and please forgive my english, it's the germans' school english ;)...

vg the r3a! ne0
Title: Re: Auto User Email Creation
Post by: Romka on December 09, 2006, 05:32:58 AM
What about postfixadmin?
I have own server and don't use cPanel.
Using postfix+mysql+dovecot+postfixadmin+rouncube
I use postfixadmin for user creatation/password change/quota management, but want to integrate all administrative tools into roundcube and delete postfixadmin web part.
Does anybody have a solution for this? Maybe some patch for "rc signup&admin 2.1b" for use postfixadmin database?
Title: Re: Auto User Email Creation
Post by: babyina99 on December 11, 2006, 08:46:42 PM
Hi,

1st of All thanks to Tuney and ur mailed regarding the url to download the script. My suggestion here is if you can do like this, user will only created after admin approval. If make it that way, I would very happy because I really need that way in my organization as goverment body.

Hope to hear from you soon and can't wait for new patch..

Cheers!
Ina
Title: Re: Auto User Email Creation
Post by: ptwmedia on December 18, 2006, 05:36:31 PM
Thanks Tuney for the script. Do you have any updates on Joomla! integration? :)
Title: Re: Auto User Email Creation
Post by: bts_11 on December 19, 2006, 03:46:45 AM
Thanks for the script Tuney.

I am not sure but, I think there is a security risk in the admin files. I have the latest version, and if you put the url to some of the admin pages such as delaccount.php it will let you carry out actions. I tried going directly to delaccount.php. It did not ask to delete a specific account it asked "Are you sure you wish to delete the account @mydomain.com ?" and it did indeed delete my only account in cpanel which is my administrative account. I was not able to log in after this. Although, after re-creating my account in cpanel, my account worked fine and also automatically regained administrative rights. It seems the email accounts in roundcubes database were not affected. Browsing to the file ed534ggt.php however, produces "YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA". Also I can create an account with administratiive privledges without being logged in. This is a major bug, probabably easily fixed though. Anyone know how to fix it?

Not to be rushing or annoying, but how is the new version coming. Is it still being developed? Also for the joomla intergration. Roundcube being wrapped isn't much a concern for me however, it would be nice to have the registration for email tied in with joomla's registration. Would this be hard to implement?

Thanks,
Brandon
Title: Re: Auto User Email Creation
Post by: modem on December 19, 2006, 11:19:22 PM
For anyone interested in the DirectAdmin port... here is the DirectAdmin API and documentation:

http://www.directadmin.com/api.html
Title: Re: Auto User Email Creation
Post by: bts_11 on December 22, 2006, 01:52:28 AM
I am trying to intergrate roundcube for joomla. I currently am able to use joomla's registration to create an email account in cpanel. After filling out the forms it creates the email address and sends both the administrator and the new user an email with details about their new email account. However, sending the registration does not add the user to joomla's database. In the registation registration.html.php i have this

Code: [Select]
<input type=&quot;hidden&quot; name=&quot;task&quot; value=&quot;emailsignup&quot; />
and in registration.php i have
Code: [Select]
switch( $task ) {case 'emailsignup':
emailsignup( $option );
break;
}

and at the bottom of registration.php i have

Code: [Select]
function emailsignup( $option ){email signup code.....}
What do I need to change/add to allow joomla to carry out it's business before the email signup code is activated?

Thanks,
Brandon
Title: Re: Auto User Email Creation
Post by: Chadi on January 03, 2007, 01:18:25 PM
Is this available for vbulletin yet? Just curious
Title: Re: Auto User Email Creation
Post by: MikeyT on January 03, 2007, 01:58:37 PM
Hey,

Can anyone help..

I have put all the files up into a folder named 'email'

Whenever i try to install i get this error:

'can't open file'

Any ideas why?


...........

Problem sorted..

However now once I have clicked install.. It ends up going to a blank page.

When i go to domain.com/email I get this error appear: Error No. 1f4)


Any ideas what this means?
Title: Re: Auto User Email Creation
Post by: bts_11 on January 09, 2007, 01:16:40 AM
Is anyone still working on this project?
Title: Re: Auto User Email Creation
Post by: nolit on January 10, 2007, 03:35:15 AM
I want to share something. On the usuall install of auto create, you will have an admin folder which files can be viewed by typing "http://yourdomain.com/emsu/admin/". In order to hide it, I simple put in a blank index.html on the folder. So goes with the emsu folder.

I am not sure if having these accessible thru open directories make them vulnerable, but paranoid as I am, I made the fix. What do you guys think of it? Other CMS uses this method. Does this affect the whole script?
Title: Re: Auto User Email Creation
Post by: bts_11 on January 10, 2007, 03:42:32 AM
In Cpanel, there is a way to turn indexing off for certain directories. But this script is still not that safe because since everyone that uses the script knows the filenames, and so if they know your website they can go in and delete accounts and such. Do you know what I mean? Go ahead and try it on your site. I wouldn't reccomend posting links to where you have this script installed.

Anyway I think this project is dead. Nobody has posted on it for a while now.

Brandon
Title: Re: Auto User Email Creation
Post by: nolit on January 11, 2007, 10:15:20 PM
Here is a small fixed I made on my installation.

To secure the emsu/admin directory I simply made it password protected thru cpanel. So this way, there will be an authentication in order to get into the administration page. You can have the option of making a global username/password for all your admins, or you can make a username/password for each admin user. (note: on cpanel this is case sensitive for both username and password).

There is a small flaw however. If you set your script to access multiple domains/accounts from your server, it is a big possibility that there will be an admin@yourdomain.com other than admin@youroriginaldomain.com. Since it is an "admin" user name, it automatically will have that admin icon on their email account. Fortunately if you set the directory with password as i mentioned above, it will not be a security issue. But to make it aestetically nice, it sure needs a fix.

Though some others think the project is dead, I still find the script useful. So far it is the simplest and most easiest script to dress-up a layout on. I hope that captcha option found on tunney's site gets on the new version. Hope the new version really come out soon.
Title: Re: Auto User Email Creation
Post by: bts_11 on January 11, 2007, 10:34:41 PM
Thanks a million nolit, I will try that out. Seems like it will work great. It's glad to see there is still some life in this thread. I am sure tuney must be busy or something, but hopefully the new version will come out when time permits. Once again, thanks tuney for the awesome script.
Title: Re: Auto User Email Creation
Post by: pluto459 on January 21, 2007, 08:27:15 PM
I have read the thread and cant find a link anywhere!!

Do you need to register to see them? I saw a post bitching at someone to read the thread and well I have and cant find the link and even the thread given has no link.

Can someone tell me where or send it ot me PLEASE.

THanks
Title: Re: Auto User Email Creation
Post by: bts_11 on January 21, 2007, 08:33:54 PM
pluto, I sent you a pm.
Title: Re: Auto User Email Creation
Post by: pluto459 on January 21, 2007, 08:37:49 PM
Quote from: bts_11
pluto, I sent you a pm.



Thanks for the SUPER fast reply. Well after i regestered the links show up POOF lol.

SO to people reading this who want the link, register and then they show up.
Save you from going crazy and rereading lol.
Title: Re: Auto User Email Creation
Post by: morenintl on January 23, 2007, 10:48:20 PM
Hi!

Has anyone been able to integrate this with Joomla?
Title: Re: Auto User Email Creation
Post by: Crispkreem on January 25, 2007, 03:53:53 PM
Does anyone have a directadmin port for this? i will pay! i just need it done asap! please contact me by msn Cjennings@krollontrack.com or email Chris@crispkreem.com
Title: Re: Auto User Email Creation
Post by: mattpist on January 25, 2007, 06:50:23 PM
im not sure what version of cpanel im using, but it has a different url than what's in this patch, so i get an installation error. if i modify the files with the correct url, i get a 'congratulations' message, but none of the links create any email accounts.

my url in the cpanel menu comes up as:
http://myserveripaddress/frontend/xpevolution/mail/addpop2.php

that's the url i get to when manually creating an email account. can anyone help with this? thanks!
Title: Re: Auto User Email Creation
Post by: proudcanadians on January 29, 2007, 08:58:25 PM
just found out that I had an option of either choosing ensim pro or cpanel when I got my reseller account and just wasn't asked before if I wanted cpanel trying to get a hold of them now to get them to change it over.
hopefully they can do this for me since i've beeen a faithful client for years.

if I'm lucky i'll have cpanel by tomorrow.

maybe people here should check if they have the same option as myself
Title: Re: Auto User Email Creation
Post by: StErMi on January 31, 2007, 07:15:57 PM
if I use directadmin what have I to change in your script?
Title: Re: Auto User Email Creation
Post by: proudcanadians on February 02, 2007, 06:11:17 PM
There is one thing I would like to know how to disable.
when ever someone makes an account it sends me their account info along with their password.
I honestly don't want to know peoples information when they sign up for an account.

please help
Thanks
Title: Re: Auto User Email Creation
Post by: omaster on February 14, 2007, 12:24:31 AM
Hey Shouldn't the passwords be encrypted in the database?
Title: Re: Auto User Email Creation
Post by: FatJonny on February 14, 2007, 02:54:00 PM
I'm installing this great plug-in right now. I'm at the last stage where I click 'Install' on emsu/install/index.php but I am getting this error:

Quote
Table myroundcubetable.useraccounts' doesn't exist

After looking at my SQL database it seems that I have a table called "users" but not one called "useraccounts"

Any help?

edit: this message goes away if I click "create tables" at the top of the index.php page, but then I can't log in with the default admin account. Is it because of the fact that the table from my RC install is called users but the plugin is trying to use useraccounts? Or are these supposed to be two separate tables in the SQL database?

edit2: ok, after clicking the "create tables" option, I went back into cPanel and reset the password for the default admin account. Then I could log in and access the admin options. Then I just manually added the existing email accounts, this seems import the usernames into the useraccounts table with no problems.
Title: Re: Auto User Email Creation
Post by: Chadi on February 15, 2007, 09:39:02 AM
Quote from: Chadi
Is this available for vbulletin yet? Just curious

Anyone?
Title: Re: Auto User Email Creation
Post by: ricardojrsousa on March 01, 2007, 07:03:42 PM
Hello,

I am Portuguese and I saw with a lot of enthusiasm your script ;)...
But there is a problem... My Panel is a H-sphere panel. :'(
Did your script can run in this kind of panels? My host is IX Web Host.

Integration with joomla: for when?

and: Please do integration in other kind of panels.... :(


Good work...

Ricardo :)

Title: Re: Auto User Email Creation
Post by: livemail on March 03, 2007, 07:40:29 AM
hey i saw this plugin amazing cool man i need this plugin for http://www.livemail.pk
please my email is pktun@paktunnel.com
Title: Re: Auto User Email Creation
Post by: dc on March 04, 2007, 08:51:09 AM
wat cpannel in formation is it asking for ? sorry im new to these things.. is it the admin pannel to controll my hosting ?

btw my hosting is at servage.net and it has no command line. its very hard to configer a mail server in it. can someone give me specific instructions ?
Title: Re: Auto User Email Creation
Post by: ricardojrsousa on March 10, 2007, 08:01:27 PM
 ??? Hei Hello

Please i say again: If anyone can do the integration with the H-sphere panel i will be happy. ANd if necessary I will pay (payment arranjed) How please do this... :'(
Ricardo Sousa :D
Title: Re: Auto User Email Creation
Post by: Stevie on March 11, 2007, 11:57:25 AM
For those of you wanting a DirectAdmin plug-in, you need to refer to the DA API to create e-mail accounts.

It's just one string like this script.

http://www.directadmin.com/api.html#email
Title: Re: Auto User Email Creation
Post by: ricardojrsousa on March 12, 2007, 08:24:35 AM
Hi ;)

Finally a response bu i not understand. My panel is h-sphere and not DirectAdmin.
And how can i use the script you reefer with RoundCube??
Please explain me better this script and it use with roundcube..


Ricardo
Title: Re: Auto User Email Creation
Post by: ricardojrsousa on March 17, 2007, 08:14:06 PM
I ask again :(

Anyone know how to "auto user email creation script" (or other one that do the same) can be integrated in h-sphere.
 :-\
Title: Re: Auto User Email Creation
Post by: Stevie on March 18, 2007, 09:30:34 AM
This script is not mine, but all it does (if you use cPanel) is create e-mail accounts on a specific users account.

You'll need to enable to XML API in H-Sphere. Details on how-to are here: http://www.psoft.net/HSdocumentation/devel/hs_xml_api_enable.html
Title: Re: Auto User Email Creation
Post by: waynem on April 15, 2007, 06:52:39 AM
Please bear with me, i'm installing this and I have a stinking hangover lol.

Point your browser to the install folder (eg.http://www.yourdomain.com/webmail/emsu/install/index.php)

Every time I do to this URL on my server it redirects me to the Https webmail directory which requires me to log in, when i do the install script doesnt display but rather the Roundcube login along with Horde etc displays.

Any ideas :) i'm so close
Title: Re: Auto User Email Creation
Post by: firemail on April 17, 2007, 07:54:57 PM
I have the latest version and when I run the do_install.php I get a blank screen. the db.inc.php file is correctly written and the database returns no errors. When i try to access admin area I get not authorized... The sign-up doesn't work either, obviously I'M doing something wrong. Checked and rechecked. Help Please!

Alex
hordebridge and cpmail veteran
Title: Re: Auto User Email Creation
Post by: FatJonny on April 18, 2007, 11:24:25 PM
OK, this plug-in has been working fine on my site for months now, now all of a sudden when I try and add a new user I get this error message repeating over and over in the emsu popup screen:

Quote
Warning: feof(): supplied argument is not a valid stream resource in /home/lehurayc/public_html/email/emsu/admin/addaccount.php on line 125

Warning: fgets(): supplied argument is not a valid stream resource in /home/lehurayc/public_html/email/emsu/admin/addaccount.php on line 126

When I close the screen the user is added to the mySQL database but not to my list of email addresses in cpanel.

Any ideas?
Title: Re: Auto User Email Creation
Post by: GoBengals5 on May 05, 2007, 10:49:41 AM
hate to sound foolish, but what is the latest release of this and where is the download link, the latest link i found in this thread was from november sometime, and it seems many upgrades have been done since then.

Thanks  :(
Title: Re: Auto User Email Creation
Post by: tuney on May 08, 2007, 09:58:41 AM
Ok, it's been a while, too long in fact. My appologies.
Work has been keeping me very very busy.

However, with a somewhat renewed interest in this addon and the fact that it was never completed to my satisfaction, I am planning on putting side a little time out of each day to dedicate to the addon.

I will going through all posts here, addressing issues, overalling the addon, refining where possible, fixing bugs and incorporating some possible requests.

A new release will then be made available.

It's been a while since I did any work on it, which is good.
This means I come back to it fresh.
I can do a fresh install using the instructions as someone who has never installed it before, as my memory is lacking! and refine the install file.
I can also hopefully find some bugs besides the ones that may have been pointed out on this forum.

Once the next release is completed it will be made available for testing. I may also setup a dedicated forum/instruction/FAQ

After any little tweaks and bug fixes a final release will be made available.

All of the above will be for CPanel only.

After a stable final release on CPanel, I will start porting it to other systems.

There will be an update on progress, on this forum, every couple of days. Just to let you all know work is indeed still continuing.

Thanks for everyones support and speak again soon.
Title: Re: Auto User Email Creation
Post by: FatJonny on May 08, 2007, 02:29:01 PM
OK, you can ignore my problem above. It seems my host decided to change my IP without telling me. That's why I was getting the error above. I just corrected the IP in the MySQL database to fix it.
Title: Re: Auto User Email Creation
Post by: keltong on May 13, 2007, 10:43:53 AM
Wow...I never know such plug-in exist until today...I have tried out roundcube for a few months now and is very happy with it. Hope to try and integrate this plugin to my site. Cheers!

Regards,
Kelvin
http://www.HomeOfTong.com/ (http://www.HomeOfTong.com/)
http://www.KelvinTong.com/ (http://www.KelvinTong.com/)
Title: Re: Auto User Email Creation
Post by: Jortex on May 19, 2007, 02:32:07 AM
I really do hate this to be my first post but im so close to having this working.

Everything seems ok at the signup, user is greeted with the "signup complete" page and emails are sent out to admin and user but thats where the issues start:

Signup receives:

Quote
This is an automatically generated email.

There is no need to reply to this email.

Welcome to your new email account.

Username - @mydomain.com
Password -

The only bit ive edited there is the domain there isnt anything before the @ or a password :(

The account IS NOT being created on cpanel and admin receives an email like the following:

Quote
Subject: Mail failure - malformed recipient address

A message that you sent contained one or more recipient addresses that were
incorrectly constructed:

 @mydomain.com: no local part
 <@mydomain.com>: no local part

These addresses have been ignored. There were no other addresses in your
message, and so no attempt at delivery was possible.

and the signup details are listed below that, again, the only thing ive edited above is the domain name, same error with nothing before the @

Ive checked and rechecked all configs etc... with no luck.

Any help is greatly appreciated.

Cheers.
Title: Re: Auto User Email Creation
Post by: FatJonny on May 20, 2007, 06:47:11 PM
Just reinstalled roundcube with the latest RC1. Does this patch work with this version?
Title: Re: Auto User Email Creation
Post by: Matelong2006 on June 15, 2007, 02:08:46 PM
Still waiting for the tempting new improvement. I'd like to know how much keenness is still there on this add-on. Please share it with me, for a small donation of course. Thanks
Title: Re: Auto User Email Creation - Blank Page after submit.
Post by: hobox on June 20, 2007, 08:05:47 PM
Quote from: abordley
Im having a problem with this. I uploaded everything, did everything correctly and yet when I submit a registration submit.php comes up blank.

After submitting, my error logs are full of this:
[Wed Aug 16 15:13:51 2006] [error] PHP Warning: feof(): supplied argument is not a valid stream resource in /home/bridgeof/public_html/email/emsu/signup.php on line 183
[Wed Aug 16 15:13:51 2006] [error] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/bridgeof/public_html/email/emsu/signup.php on line 185

I see someone else had the same problem...but after reading I am still unsure of how to resolve the issue. Could someone please provide instructions to what it is I need to do.
It would be appreicated.

Thanks
Allie

had the same problem, but figured it out ;)

change "$cpurl =http://....."
to
"$cpurl =https://....."
Title: Re: Auto User Email Creation
Post by: sotoman on June 21, 2007, 01:03:33 AM
hey guys, im new here and i am thrilled with this mod!
anyhoo, i get this error:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/nonbeli/public_html/program/include/main.inc on line 655

im using v0.1-rc1, is this version not compatible with this mod?
thanks!
~vic
Title: Re: Auto User Email Creation
Post by: planet-d on July 13, 2007, 09:27:31 PM
This is designed for a old version of roundcube i think because when it asks me to search for // MAIL it cant find it but in the old roundcube files I have it does.
Title: Re: Auto User Email Creation
Post by: w3ss3ls on July 20, 2007, 05:44:14 PM
Thank you Tuney for your excellent work.I have the same problem with the newest version of rc.The code in the installation that starts with // MAIL is not to be found in the main.inc file, without adding this line of code as specified in the install the admin does not work a big bummer.The auto account creation works perfect and also the password recovery .I did find the same line of code in the func.inc( $OUTPUT->add_handlers(array ( 'mailboxlist' => 'rcmail_mailbox_list', ) in the func.inc I tried to add it there but still no luck.Anybody maybe know how we can change it to get it working.

Thank you.
Title: Re: Auto User Email Creation
Post by: Pc1203 on July 23, 2007, 04:28:03 PM
Well, I have a a way to go to the ACP. Just edit the file:

emsu/admin/ed534ggt.php

Look for this:
   $apv = "0";

change it to:

   $apv = "1";

Next, make an .htaccess file to protect the directory. Now all you have to do is pass the .htaccess file and you can access the ACP!
Title: Re: Auto User Email Creation
Post by: daisylove on July 24, 2007, 09:24:22 AM
how do i create a .htaccess file?

sorry abt this... I quite new to this.

also, can anyone help me on this?
I am getting the following error after i click install.

Quote
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'my database username'@'taras.lunarservers.com' (using password: YES) in /****/public_html/roundcube/emsu/install/do_install.php on line 87
I cannot connect to the database because: Access denied for user 'mydatabaseusername'@'taras.lunarservers.com' (using password: YES)

how can i solve this? :-[
Title: Re: Auto User Email Creation
Post by: andyb on July 24, 2007, 07:25:24 PM
daisylove,
if you do mysql -u mydatabaseusername -p (enter) at a command line, do you get a password prompt, and once you've put the password in can you do "use (roundcubedatabasename);" (enter), "show tables;" and get results? Replace (roundcubedatabasename) with the name of your roundcube database, and I'm assuming that the host part is set to the hostname of the system you're accessing the database from ie. where your Roundcube install is, and that yuo can test this on same system's command line.

If it logs you in but wont let you do anything wiht the data, then "grant all on (roundcubedatabasename).* to 'mydatabaseusername'@'hostname' identified by 'password', making the substitutions for hostname, password etc.

what o/s are you on?
Andy
Title: Re: Auto User Email Creation
Post by: jayeshr on August 17, 2007, 01:07:04 PM
hi, while trying to make the signup for email to work, after i click Submit, i get this message:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home2/adamsev/public_html/mail/emsu/signup.php on line 85

Warning: fopen(http://srv09.ezyreg.com:2083/frontend/x/mail/addpop2.html?email=&domain=planet-downloads.com&password="a=15) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home2/adamsev/public_html/mail/emsu/signup.php on line 85

Warning: feof(): supplied argument is not a valid stream resource in /home2/adamsev/public_html/mail/emsu/signup.php on line 90

Warning: fgets(): supplied argument is not a valid stream resource in /home2/adamsev/public_html/mail/emsu/signup.php on line 91

Warning: feof(): supplied argument is not a valid stream resource in /home2/adamsev/public_html/mail/emsu/signup.php on line 90

Warning: fgets(): supplied argument is not a valid stream resource in /home2/adamsev/public_html/mail/emsu/signup.php on line 91

Warning: feof(): supplied argument is not a valid stream resource in /home2/adamsev/public_html/mail/emsu/signup.php on line 90
 and it continues and continues

if i put my ipadress of cPanel ( Its a shared one) then it doesnt connect but when i put 'https://srv09.ezyreg.com:2083/frontend/x/.......................' then it does work but always tells me this problem.

Can someone please help!

Thanks!
Title: Re: Auto User Email Creation
Post by: hasan88 on August 21, 2007, 11:29:36 AM
I apologise,

But i was not able to understand how the humans alone can be read.
Title: Re: Auto User Email Creation
Post by: jayeshr on August 21, 2007, 12:15:19 PM
hi again, sorry forget about that problem, the only problem i get now, is after going to ..../emsu/install.....after filling in all of the blank spaces, i get this message: 'Invalid Default Value for 'activated' '
Title: Re: Auto User Email Creation
Post by: hasan88 on August 21, 2007, 05:08:12 PM
Hello to everybody,

I want to ask you More auto emails creation had happened for SVN.
Title: Re: Auto User Email Creation
Post by: frankendesigns on September 25, 2007, 02:39:53 PM
Will this work in a PLESK environment?
Title: Re: Auto User Email Creation
Post by: SKaero on September 25, 2007, 05:50:46 PM
No this work not work in PLESK environment, only on cpanel. :(
Title: Re: Auto User Email Creation
Post by: rcpalace on September 27, 2007, 12:14:56 PM
Hmm, I'm going to try and modify it to work with my server as I don't run panels since the server(s) (are) (is) two feet away from me. ;)
Title: Re: Auto User Email Creation
Post by: eliotte on September 30, 2007, 01:47:53 PM
Hi everyone

I dont find the script to download. Anyone cant sent it to me??

Thanks
Title: Re: Auto User Email Creation
Post by: SKaero on September 30, 2007, 06:01:05 PM
Heres the 1.1 version: http://roundcubeforum.net/forum/index.php?topic=232.msg1948#msg1948
Heres the 2.0 beta 1 version: http://roundcubeforum.net/forum/index.php?topic=232.msg2422#msg2422
Title: Re: Auto User Email Creation
Post by: hasan88 on October 01, 2007, 03:17:38 PM
Hello,

I have trouble at the facility and they exist :

(http://img510.imageshack.us/img510/7936/51990421ax5.jpg)

(http://img406.imageshack.us/img406/9868/80439044kb3.jpg)
Title: Re: Auto User Email Creation
Post by: viper58 on October 01, 2007, 04:01:23 PM
can this be used with h-sphere control panels? If so what needs to be changed to allow this? (with the install it requires a login ip and port for cpanel, hsphere does not have this at least none that I have ever used).
Title: Re: Auto User Email Creation
Post by: djjoja on October 04, 2007, 01:32:08 PM
Hi people! I have a small problem:
in the Install.TXT file it says :
skins/your_skin/templates/login.html (This is part of the Roundcube installation. Edit login.html for the skin that you are using.)

************** INSTALLATION INSTRUCTIONS ******************
There are 3 files that need to be edited.

   skins/your_skin/templates/login.html (This is part of the Roundcube installation. Edit login.html for the skin that you are using.)
   program/include/main.inc (This is part of the Roundcube installation)
   skins/your_skin/templates/mail.html (This is part of the Roundcube installation Substitue 'your_skin' for the skin that you are using)


I found the template/login.html file and edited it.
when i came to the /include/main.inc the install.txt says to find
IN program/include/main.inc

Search for    // MAIL
          'mailboxlist' => 'rcmail_mailbox_list',


Above Add....
/************** ADDED FOR ADMIN**************************/
'adminprivelage' => 'check_admin_priv',
/*********************************************/


the problem i have is tht the main.inc i have in my server doesnt' have tht sentence; wat i mean to say is in the main.inc file, when i search for //MAIL... etc.. there's no result, i mean tht the file doesnt have tht sentence in it, so i cant edit it. can anyone help plz! thanks!

Title: Re: Auto User Email Creation
Post by: SKaero on October 04, 2007, 08:13:52 PM
Yes that part was moved to A different file and the script has not been up dated , they is not a fix out for it yet.
Title: Re: Auto User Email Creation
Post by: djjoja on October 05, 2007, 03:30:29 PM
oh... i really wanted this script! anwayys, wen will it be out?
Title: Re: Auto User Email Creation
Post by: cferd on October 16, 2007, 07:02:38 PM
In the same file (program/includes/main.inc) I added the code immediately below $OUTPUT->add_handlers(array(
That seems to work ok.
Title: Re: Auto User Email Creation
Post by: blu3m3 on October 19, 2007, 10:12:54 AM
How can i add an security image? when someone try to register an account?
Title: Re: Auto User Email Creation
Post by: sathya on October 21, 2007, 09:05:07 AM
Quote from: djjoja
Hi people! I have a small problem:
in the Install.TXT file it says :
skins/your_skin/templates/login.html (This is part of the Roundcube installation. Edit login.html for the skin that you are using.)

************** INSTALLATION INSTRUCTIONS ******************
There are 3 files that need to be edited.

   skins/your_skin/templates/login.html (This is part of the Roundcube installation. Edit login.html for the skin that you are using.)
   program/include/main.inc (This is part of the Roundcube installation)
   skins/your_skin/templates/mail.html (This is part of the Roundcube installation Substitue 'your_skin' for the skin that you are using)


I found the template/login.html file and edited it.
when i came to the /include/main.inc the install.txt says to find
IN program/include/main.inc

Search for    // MAIL
          'mailboxlist' => 'rcmail_mailbox_list',


Above Add....
......

the problem i have is tht the main.inc i have in my server doesnt' have tht sentence; wat i mean to say is in the main.inc file, when i search for //MAIL... etc.. there's no result, i mean tht the file doesnt have tht sentence in it, so i cant edit it. can anyone help plz! thanks!

can any body suggest how to handle this issue..am new to RC

thanks,
Sathya
Title: Re: Auto User Email Creation
Post by: cferd on October 21, 2007, 05:08:55 PM
I mentioned how to 2 posts up from yours. I'll make it a little clearer  ;)

In program/include/main.inc

Search for....
$OUTPUT->add_handlers(array(


Below Add....
/************** ADDED FOR ADMIN**************************/
'adminprivelage' => 'check_admin_priv',
/*********************************************/








Title: Re: Auto User Email Creation
Post by: blu3m3 on October 22, 2007, 01:36:26 AM
So does any one knows how to add a simple script of security image or question in to registration form?
Title: Re: Auto User Email Creation
Post by: blu3m3 on October 31, 2007, 10:01:16 AM
Hello I want to know if i can integrate in this script a form that a user can delete his email account if he doesnt want it any more. thx.
Title: Re: Auto User Email Creation
Post by: blu3m3 on November 06, 2007, 01:40:35 AM
So can anyone help me please i want to add capcha in this script but i can't make it work please help me
Title: Re: Auto User Email Creation
Post by: misteraven on November 15, 2007, 10:02:44 AM
again...

i'd pay a fair bit to have auto user email creation integrated with vBulletin, and a fair bit more if it also included OpenAds integration (or something similar) for ad campaign tracking.
Title: Re: Auto User Email Creation
Post by: blu3m3 on November 16, 2007, 05:00:27 AM
I dont understand what yuo said. cam u be more specific? i succeded to add a security question in this script. but i dont understand your post.
Title: Re: Auto User Email Creation
Post by: jeremyr on December 02, 2007, 05:51:26 PM
Seems i got the beta installed and running expect two errors...

first when i click on the add/remove admin status in the admin section i get this error message
"YOU ARE NOT AUTHORIZED TO ACCESS THIS AREA"

and the other message i get any time i try to execute any admin functions is this:

Warning: fopen(http://.@:/frontend/bluelagoon/mail/dopasswdpop.html?email=admin&domain=... cut it off here.

This second error i see that instead of listing the IP and port of my cPanel it has placed a .@: could that be the cause?

thanks in advance
Title: Re: Auto User Email Creation
Post by: mastacontrola on December 19, 2007, 06:43:47 PM
I was just playing on the internet for a little while and I found something that helped me create a user creation form. This is important because I have noticed that there is not anything for roundcube that auto creates users without the need for cpanel or any other type of panel. This is completely free to use so it could save people money. However, I am not that great with php programming. I used others Ideas and made my modifications. I am just wondering if anybody else is interested and possibly willing to help. The only thing that I have right now is the ability to add new users. The form looks like crap but maybe some of you smart people might be able to help. If you guys are willing to help me, please email me at thomas@mastercontrol.homelinux.com. I am using courier-imap, postfix, postfixadmin, mysql, spamassassin, amavisd for my email server. Please just let me know and I will post the files.

All I did was add the link


New User in between the two /div's above body and linked it to register.php I copied all of the files that are in the tar.gz file to the root of the folder containing the webmail stuff. When you click the link it goes to a new html page with none of the formatting.
Title: Re: Auto User Email Creation
Post by: mvi on December 23, 2007, 11:03:07 PM
Thought I'd post this just in case anyone else runs into the same problem.

The script truncates cPanel passwords at 20 characters, if like me you use long passwords, you will need either to edit the installer or install then edit the mysql row. Please note that when you go to install, it will create the admin user (because it's using your form data) but when new users try to register, it uses the truncated password and therefore is unable to create them (resulting in it attempting to load for a fair while 10-20 seconds before coming up with an empty page. Excellent script by the way, very useful. Thanks for putting the time and effort in to create it, you have my gratitude.
Title: Re: Auto User Email Creation
Post by: Martin2008 on January 28, 2008, 09:24:48 AM
Quote from: tuney
Unfortunately yes, this release will only work with those who utilize CPanel. The reason is simple, if somewhat selfish! I use CPanel so I know how that works. :-[

However, in theory at least, it should be relatively easy to adapt it for those who use web interfaces other than CPanel.

Once this release is out, if anyone would like it for another interface other than CPanel and is willing to test it before release I will adapt it for other systems.

Right now just testing things out and thinking of writting an install script for ease of setup.



I have seen this beautiful plugin in roundcube for CPanel users. Unfortunately, it does not work for our server with roundcube. I was just hoping if you can modify this for those who are using Plesk web panel. I will really appreciate this addition.

Martin
Title: Re: Auto User Email Creation
Post by: eliotte on January 29, 2008, 11:55:47 AM
I'm also working on a singup script... you can take a look at http://www.iphonemail.net/session.php

I'm now working on the change/recovery password and after I will make a administrator view. I will send My script when it will be done!
Title: Re: Auto User Email Creation
Post by: sirega_kid on January 31, 2008, 08:44:15 PM
Hello first of all, thank you for the great addon. I got the "Signup" working, But I am having some trouble installing the "rc_signup_and_admin_2_1_beta_1" I did the first part while installing "Sign up" but in part 2 I cant find the bold (look below) pieces of code. I have looked everywhere, and tried everything possible. But still can't find them in /program/include/main.inc


IN program/include/main.inc

Search for    // MAIL
          'mailboxlist' => 'rcmail_mailbox_list',


Above Add....
/************** ADDED FOR ADMIN**************************/
'adminprivelage' => 'check_admin_priv',
/*********************************************/





Then search in the same file for    // return code for the webmail login form
            function rcmail_login_form($attrib)
'


I know it's probably some easy thing, but I can't figure it out. I spent hours. Please help.

Again thank you for such a nice addon.
Title: Re: Auto User Email Creation
Post by: jasonar on February 01, 2008, 09:22:35 PM
I keep getting this error:

Invalid default value for 'activated'

can someone tell me what I'm doing wrong? And also I wanted to ask about one of the required install feilds, I'm on shared hosting so I don't have an actual IP for my site but my site is at an IP liek this: 123.456.789.000/~mysite/ so what do I change it to?

Thanks, John
Title: Re: Auto User Email Creation
Post by: abadaba on February 11, 2008, 09:12:12 PM
I'm getting the same error when running the installer Invalid default value for 'activated'. I've been pulling my hair out trying to figure it out! If anyone has any ideas, please post your thoughts.

Adam
Title: Re: Auto User Email Creation
Post by: abadaba on February 11, 2008, 09:50:39 PM
I actually got this working with the most recent SVN version. If anyone would like to test please do http://email.stupidlag.com (http://email.stupidlag.com)

Adam
Title: Re: Auto User Email Creation
Post by: jasonar on February 12, 2008, 07:08:35 AM
I've given up trying to get that error to stop, I manually installed everything and the database tables and was very impresses, I still couldn't get it to work. So I'm working on a better admin panel that bonds right with most releases of cPanel no database table creating and a boat load of features that allow you to edit email accounts, delete email accounts, create email accounts, reset email accounts, ban email accounts, restrict email accounts, show custom alerts to certain accounts, and a ton of more stuff that I can't even think of right now. so if anyones interested I should have it done in a couple weeks, plus I was sad to see that almost all of the passwords change plugins are either for private servers or for hMailServer, I've decided to make a simple plugin that again bonds right away with cpanel versions. And that post about support is right, it does suck here. No affense to those of you that actually help people, good job.
Title: Re: Auto User Email Creation
Post by: abadaba on February 12, 2008, 07:54:58 PM
I have noticed the spam tagging doesn't work for the users created with this tool. On email addresses that are normally created through cPanel. Any email that is spam is marked ***SPAM*** in the subject. Where as the email that were created from this script all spam gets put through to the inbox. Kind of pulling my hair out on this option! Does anyone have any ideas about what might be going on? How would i check users to se if they have spam filtering turned on? I've made sure that spamassasin is turned on globally within WHM.

Adam
Title: Re: Auto User Email Creation
Post by: eliotte on February 16, 2008, 03:25:17 PM
Quote from: eliotte
I'm also working on a singup script... you can take a look at http://www.iphonemail.net/session.php

I'm now working on the change/recovery password and after I will make a administrator view. I will send My script when it will be done!

Now i'm working on the recovery password. It's now done at 80% . After, I strart the integration on roudecube to be able to modify password, name, alternate email...

You can take a look the recovery page at http://www.iphonemail.net/reco_pass.php
Title: Re: Auto User Email Creation
Post by: Zimpacks on February 19, 2008, 04:32:30 AM
Hi, just curious, has anyone managed to get this plugin to work on the RC Joomla component?

Thanks.
Title: Re: Auto User Email Creation
Post by: rihad on February 19, 2008, 05:14:12 AM
Hey, eliotte, have you considered adding CAPTCHA validation (preventing automated sign-ups) to your code? The Internet is an evil place, so such countermeasures are considered the norm by many sysadmins.
Title: Re: Auto User Email Creation
Post by: eliotte on February 20, 2008, 01:44:22 PM
Quote from: rihad
Hey, eliotte, have you considered adding CAPTCHA validation (preventing automated sign-ups) to your code? The Internet is an evil place, so such countermeasures are considered the norm by many sysadmins.

yes.. it's done. The sing up process take 3 step. The first page is for personnal information.. the 2nd is to prevent automated singup(retype code on the field) and 3rd to accept terms of the web site. After, you see a page where you can see all the details to setup any email software like outlook. you can also login using webmail
Title: Re: Auto User Email Creation
Post by: eliotte on February 20, 2008, 01:52:38 PM
Quote from: blu3m3
So can anyone help me please i want to add capcha in this script but i can't make it work please help me

It's very easy... make a form and add the image randomimage.php

and add the randomimage.php on the same folder:


// make a string with all the characters that we
// want to use as the verification code
$alphanum = "abcdefghijklmnopqrstuvwxyz123456789";

// generate the verication code
$rand = substr(str_shuffle($alphanum), 0, 5);


// create an image object using the chosen background
$image = imagecreatefromjpeg("background.jpg");

$textColor = imagecolorallocate ($image, 0, 0, 0);

// write the code on the background image
imagestring ($image, 5, 5, 5, $rand, $textColor);
   

// create the hash for the verification code
// and put it in the session
$rand = md5($rand);

$_SESSION['random'] = $rand ;

   
// send several headers to make sure the image is not cached   
// taken directly from the PHP Manual
   
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");    


// send the content type header so the image is displayed properly
header('Content-type: image/jpeg');

// send the image to the browser
imagejpeg($image);

// destroy the image to free up the memory
imagedestroy($image);
?>

After, you need to verify if the user enter the right word on the field. the real text is in a Session variable :$_SESSION['random'] . Make sure you add md5 in yout verification or remove it in the randomimage.php . Also..add a backgound.jpg to add a backgroud imagne of your new capcha pics
Title: Re: Auto User Email Creation
Post by: okanime on February 20, 2008, 06:41:36 PM
Dude what happened you men? I read all 18 pages of your forum to end up disappointed that your didn't finish the new release! It was starting to take off. I hope you are ok men. Did u win the lottery and kick us to the curb?

Quote from: tuney
Ok, it's been a while, too long in fact. My appologies.
Work has been keeping me very very busy.

However, with a somewhat renewed interest in this addon and the fact that it was never completed to my satisfaction, I am planning on putting side a little time out of each day to dedicate to the addon.

I will going through all posts here, addressing issues, overalling the addon, refining where possible, fixing bugs and incorporating some possible requests.

A new release will then be made available.

It's been a while since I did any work on it, which is good.
This means I come back to it fresh.
I can do a fresh install using the instructions as someone who has never installed it before, as my memory is lacking! and refine the install file.
I can also hopefully find some bugs besides the ones that may have been pointed out on this forum.

Once the next release is completed it will be made available for testing. I may also setup a dedicated forum/instruction/FAQ

After any little tweaks and bug fixes a final release will be made available.

All of the above will be for CPanel only.

After a stable final release on CPanel, I will start porting it to other systems.

There will be an update on progress, on this forum, every couple of days. Just to let you all know work is indeed still continuing.

Thanks for everyones support and speak again soon.
Title: Re: Auto User Email Creation
Post by: dr.pantagon on February 28, 2008, 02:43:56 PM
Hi
I'm Install rc_signup_and_admin_2_1_beta_1 and Find Xss Bug
Please Help Me For Path
http://roundcubeforum.net/forum/index.php?action=dlattach;topic=232.0;attach=156
Bug Model : XSS
Risk : LOW
Page : error.php

http://mail.irangmail.com/error.php?ermsg=Invalid%20alternate%20email%20address.

http://mail.irangmail.com/error.php?ermsg=HACKED AND OHTER MESSAGE LOAD ON THIS PAGE

=================================
and more proposal for better you program

1 - insert login [ user password text box ] to ed534ggt.php page For External Login
and rename this page to index.php for index Folder
2 - Insert Display logged account
3 - Insert Forward Mail
Title: Re: Auto User Email Creation
Post by: hkr on March 08, 2008, 08:50:27 AM
i keep getting an error :

"" Unknown column 'quota' in 'field list' ""
Title: Re: Auto User Email Creation
Post by: hkr on March 08, 2008, 10:18:52 AM
nevermind, prb solved.
Title: Re: Auto User Email Creation
Post by: bryantwest on April 01, 2008, 10:30:02 PM
Hi everyone

This sounds GREAT, but am a bit new to RoundCube.
I'd like to incorperate this functionality into one of my sites (Joomla and Community Builder).

I've read the 19 pages and am a bit confused... the functionality side I'd like is that a user who signs up to my site has the option of creating a webmail account with their user details (and can view their webmail in a wrapper).

Many questions but here's the first... my users are already in a database, do I need to create a new database for RC?
Is it possible to have them all in one database (as my hosting company only allows one per site)?
Title: Auto User Email Creation
Post by: speck0r on May 06, 2008, 06:12:06 AM
hi this is what i need, but i cant download, because the filearchive is broken :(

can somebody send me the latested version from this script?
Title: Auto User Email Creation
Post by: firemail on May 13, 2008, 01:46:06 PM
The answer is : YES it can be done, the question is can YOU do it.
Unless you have indepth knowledge of php code programming, this will not happen.

The Tuney Auto User Configuration(TUAC) can be re-written and integrated into joomla (if you can access Joomla source).

Writing the RC and TAUC tables into the joomla  database is the easy part, the hard part, you will have to incorporate the modified code from TUAC into the Joomla source at the right places to create the fields in the db, and set up the account on cpanel.

I would recommend changing hosts though, it would be simpler.  
I sell RC hosting w/ 4 MySQL, 100 emails, fantastico, rvBackup, 70Mb +++ @ $4.95us w/ paypal

Alex
Title: Auto User Email Creation
Post by: LiberaDreams on June 13, 2008, 02:49:45 PM
I just now found this script, and I see that a new version of RC has just been released. Can the current version of this plug-in work with the newest version of RC?
Title: Auto User Email Creation
Post by: AmunSheut on July 02, 2008, 01:32:44 AM
Is this still being worked on? It seems like the majority of features were slated to be released, but never were. Anyone?
Title: Help Bad
Post by: telazorn on July 15, 2008, 05:21:33 AM
I would realy love to be able to use this plug in but see i use the joomla set up of round cube, and i do a little coding but not to the point i would be able to get it to work is there any news when the MOD will be out for Joomla 1.5?
Title: Upload Users and Update PW
Post by: malikhemani on July 28, 2008, 05:37:02 PM
Hello All, this mod is excellent. We need some more modifications/add ons to help us out. We are using roundcube for our student organization which has over 500 members each semester. Right now we are manually entering users. It took us two days to add close to 100 Users. Each semester we get 75+ new members and it is a pain to manually add them all. Please see below what we are looking for.

1 - Can anyone help me out. Using this mod we would like to create a place where we can upload a .xls or .txt or .csv file that will create the users in cpanel and in the table this mod uses while checking to make sure there is no duplicate created if so it warns me of those and we can create those manually with a digit at the end of their email. This will help us a lot. this would be done via the admin page like there is the create a new user icon and than there would be upload users. (we can even setle as far as creating a multi user creation form so instead of one create user there is a page that has rows of fields that each row is a new user  so maybe like 20 rows and when you hit save it goes through 20 users and creates and we repeat) the ultimate goal is the upload with unlimited number of users.

2 - The second mod i would like to create or suggest is this. In this mod the passwords are saved in a mysql db table which any admin can pull up and see which is kind of a prob and security risk. We have a change password mod installed on round cube we found in the forum that when you change it goes to cpanel and changes it. however when you use the password recovery, it pulls the pw from teh db table it has so if a user has changed the pw and goes to do recovery they are shown the wrong one since cpanel is changed but the table isnt updated. We would like to integrate it with that so no pw are stored in mysql table but are directly connected to cpanel. So when people do password recovery instead of going to db table it goes to cpanel and emails you the pw from there to your secondary email we used to create the account with.

Please let me know if someone can help me out! Thanks in advance!

Thanks
Title: Auto User Email Creation
Post by: Himalaya on August 11, 2008, 06:13:23 PM
at the signup i get "Table 'xlreigrs_mail.useraccounts' doesn't exist" how can i fix that, someone told me i had to run something. What do i run? How do i run it if there is something to run? Thank You.


never mind, i got to fixing that, now i am stuck on this part... I keep getting over and over again:
"Warning: feof(): supplied argument is not a valid stream resource in /home2/xlreigrs/public_html/mail3/emsu/signup.php on line 92

Warning: fgets(): supplied argument is not a valid stream resource in /home2/xlreigrs/public_html/mail3/emsu/signup.php on line 93"

how can i solve this problem?
Title: Auto User Email Creation
Post by: mike_vip on August 20, 2008, 07:34:46 AM
where can I find tha latest release? is it working in plesk? if not, I'll rewrite the original CPanel script for Plesk...

thanks in advance
Title: Auto User Email Creation
Post by: astrosmf on August 21, 2008, 01:08:47 AM
after filling out all of the signup information i get this error...

Code: [Select]
Warning: fopen(http://...@cpanel_ip:cpanel/frontend/x2/mail/doaddpop.html?email=&domain=chatlaunch.com&password=&quota=250) [function.fopen]: failed to open stream: Success in /home1/ffivzerz/public_html/julyalive/webmail/mod_newuser/signup.php on line 173

what's wrong??
Title: Auto User Email Creation
Post by: mike_vip on September 06, 2008, 04:46:10 PM
firstly, i'm dissapointed because of no reply on my post

astrosmf did you fill in cpanel account infos? they're written somewhere in config file, i think

i was searching for some useful informations about creating mail accounts for roundcube on plesk based systems. plesk extends api rpc protocol, which can make them. i have amost done it, but i still have one little problem with premisions in plesk. so if you know how to solve this...
Code: [Select]
http://forum.swsoft.com/showthread.php?t=47255
Title: Auto User Email Creation
Post by: mike_vip on September 07, 2008, 04:35:07 AM
firstly, i'm dissapointed because of no reply on my post
 
astrosmf did you fill in cpanel account infos? they're written somewhere in config file, i think
 
I was searching for some useful informations about creating mail accounts via plesk. plesk extends api rpc protocol, which can make them. But, I have still one little problem. I wrote basic xml packet to get informations about my domain from plesk. It's only test packet, but I still get error code 1006 - premissions denied. My problem is, that I don't have admins acc in plesk, so I'm just client. So anyone who have admin privileges to plesk, please contact me here, or on icq 335850473.

better description of my problem at
Code: [Select]
http://forum.swsoft.com/showthread.php?t=47255
Title: good!
Post by: Lihualee on September 29, 2008, 08:00:33 AM
bump the thread up.
Title: 500 Internal Server Error
Post by: jugnuzia on September 30, 2008, 10:33:33 AM
I am trying to create account but it giving me 500 Internal Server Error, where i am doing wrong? i am using 1.1 version. :confused:
Title: Auto User Email Creaion: Erro in table
Post by: zassadgh on October 04, 2008, 09:14:07 AM
http://scoutzknivez.org/roundcubemail/emsu/signup.php

when I try make a mail it gives me this erro message:

Table 'scoutzkn_emsu.useraccounts' doesn't exist

how can I fix?

Index of /roundcubemail/emsu (http://scoutzknivez.org/roundcubemail/emsu)
Title: Table 'scoutzkn_emsu.useraccounts' doesn't exist
Post by: jugnuzia on October 04, 2008, 01:12:50 PM
create table "useraccounts" and it fields.

My problem as it is. i dont know why i am facing page 500 error :confused:
Title: how to create table "useraccounts"?
Post by: zassadgh on October 04, 2008, 06:49:45 PM
how can I create table "useraccounts"? a simple guide would make my day...
Title: how to create table
Post by: jugnuzia on October 04, 2008, 09:09:23 PM
use your myphpadmin option from your hosting panel simple and easy way
Title: how fill it out
Post by: zassadgh on October 05, 2008, 03:05:57 AM
any help filling it out.

http://scoutzknivez.org/kml/untitled.bmp
Title: Auto User Email Creation
Post by: MadMike on October 24, 2008, 03:29:37 AM
I understand that cpanel is somekind of administration sytem for the webhost, but why is this important?
Title: Auto User Email Creation
Post by: ViciousCode on October 27, 2008, 07:57:58 AM
is there a different version, i dont have cpanel, i have servage, which is something else
Title: Auto User Email Creation
Post by: evandro on November 12, 2008, 04:15:04 PM
rc auto email signup for cpanel 11

compatibility:

Cpanel 11
roundcubemail 0.2-beta

:D
Title: Auto User Email Creation
Post by: evandro on November 12, 2008, 04:17:56 PM
rc auto email signup v1.1 for cpanel 11


compatibility:

cpanel 11
roundcubemail 0.2-beta


:D:D

http://www.nvp.com.br/files/rc_auto_email_signup_1_1.zip (http://www.nvp.com.br/files/rc_auto_email_signup_1_1.zip)
Title: Auto User Email Creation
Post by: Yann on November 17, 2008, 04:15:24 PM
Quote from: evandro;15226
rc auto email signup v1.1 for cpanel 11


compatibility:

cpanel 11
roundcubemail 0.2-beta


:D:D

http://www.nvp.com.br/files/rc_auto_email_signup_1_1.zip (http://www.nvp.com.br/files/rc_auto_email_signup_1_1.zip)


Would you like to check your link, it's not opening.
Title: Auto User Email Creation
Post by: evandro on November 23, 2008, 10:06:16 AM
checked O0
Title: Auto User Email Creation
Post by: cameleon on November 23, 2008, 06:33:44 PM
Quote from: mike_vip;13729
firstly, i'm dissapointed because of no reply on my post
 
astrosmf did you fill in cpanel account infos? they're written somewhere in config file, i think
 
I was searching for some useful informations about creating mail accounts via plesk. plesk extends api rpc protocol, which can make them. But, I have still one little problem. I wrote basic xml packet to get informations about my domain from plesk. It's only test packet, but I still get error code 1006 - premissions denied. My problem is, that I don't have admins acc in plesk, so I'm just client. So anyone who have admin privileges to plesk, please contact me here, or on icq 335850473.

better description of my problem at
Code: [Select]
http://forum.swsoft.com/showthread.php?t=47255



contact me i got plesk and i am admin
Title: Auto User Email Creation
Post by: mavericku on January 17, 2009, 05:32:36 PM
I have a problem, ... I can't find the lines that have to be changed in main.inc .... can anybody help?
Title: Direct Admin Auto Create with Captcha
Post by: HawtDogFlvrWtr on February 13, 2009, 06:19:03 AM
I've taken the liberty of converting this to Direct Admin for those who want it and also added CAPTCHA in order to make it a little safer. For a demo check out my site.

Development Site (http://www.emailpackrat.com/dev/)

Thanks,
Chris


***FIXED LINK***
I have created a new thread on this project entirely. To download, use the following link:
http://www.roundcubeforum.net/plug-ins/4430-autosignup-directadmin-password-support-theme-integration.html
Title: Auto User Email Creation
Post by: hellomang on March 15, 2009, 04:51:33 AM
thats a a real nice looking site HawtDogFlvrWtr  HawtDogFlvrWtr
Title: Hey!
Post by: Pumxee on April 09, 2009, 06:05:49 AM
I have been reading pages of this.
But, cant seem to understand how to start or where to get the script.
Can anyone post a nice tutorial on how to get a auto signup page working within the RC enviorment?

It would be much appreciated by many other than me.

Regards,
Hamza
Title: Auto User Email Creation
Post by: HawtDogFlvrWtr on April 09, 2009, 06:20:25 AM
Quote from: Pumxee;18359
I have been reading pages of this.
But, cant seem to understand how to start or where to get the script.
Can anyone post a nice tutorial on how to get a auto signup page working within the RC enviorment?

It would be much appreciated by many other than me.

Regards,
Hamza


Do you have a webhost? if you would like, I can configure it for you. If you don't have a webhost, I can help you with that as well. I own one :) Send me a private message if you need help or are interested in hosting at a great price.

http://Http://www.the-Ratpack.com
Web Hosting
Title: Auto User Email Creation
Post by: Eslim on April 27, 2009, 01:52:14 PM
Quote from: HawtDogFlvrWtr;17026
I've taken the liberty of converting this to Direct Admin for those who want it and also added CAPTCHA in order to make it a little safer. For a demo check out my site.

Development Site (http://www.emailpackrat.com/dev/)

Thanks,
Chris


***FIXED LINK***
http://www.emailpackrat.com/RoundCube_Signup_1.0_DirectAdmin.zip (http://www.emailpackrat.com/RoundCube_Signup_1.0_DirectAdmin.zip)


Your download link is not working, please check it
Title: Auto User Email Creation
Post by: HawtDogFlvrWtr on April 27, 2009, 01:56:07 PM
Quote from: Eslim;18734
Your download link is not working, please check it


Sorry about that. To follow the updates better, check this link. I have created my own thread on it.

http://www.roundcubeforum.net/plug-ins/4430-autosignup-directadmin-password-support-theme-integration.html

Thanks,
Chris
Title: Auto User Email Creation
Post by: smithisize on May 24, 2009, 06:17:51 PM
Hey guys, I really need help with this

I installed, and did everything the instructions said, including running the sql queries. However, when I attempt to create a new account, I'm met with this:

Quote

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'database host' (1) in /home4/********/public_html/mail/emsu/signup.php on line 39
I cannot connect to the database because: Unknown MySQL server host 'database host' (1)


Anyone have any ideas? I really need this :)

Regards
Marcus
Title: Auto User Email Creation
Post by: HawtDogFlvrWtr on May 24, 2009, 06:24:40 PM
sounds like you didnt update the db config file under the config foldder. there are two locations in which you have to set the database to use. do a search for database and i bet you will find that text. in the error message. i am nlt at the computer right now to troubleshoot it any further. when i get to one i will look into it further :)

sent from my windows mobile phone