Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: New user registration Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lourens
Newbie
Newbie
Avatar

Joined: 06 February 2016
Location: South Africa
Online Status: Offline
Posts: 2
Posted: 09 February 2016 at 12:29am | IP Logged Quote lourens


It seems like I am missing something for the new user registration.

Do I only set the setting to On in the settings.xml

<AllowNewUsersRegister>On</AllowNewUsersRegister>

or is there another settings that I miss.

Thank you
Back to Top View lourens's Profile Search for other posts by lourens
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 09 February 2016 at 2:03am | IP Logged Quote Igor

That's actually the only option in WebMail Lite which allows for creating new accounts. It's important to understand that this is only about setting up account in WebMail, as the email account has to exist on mail server already. So as long as you enter correct email and password, and that option is set to On, user account will automatically be created in WebMail on first login.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
lourens
Newbie
Newbie
Avatar

Joined: 06 February 2016
Location: South Africa
Online Status: Offline
Posts: 2
Posted: 11 February 2016 at 11:54am | IP Logged Quote lourens

@Igor

Thank you for the reply.

@All

Is there anyone that can give me some direction in how to use the existing script to register a user.

I will activate the Register link - see image



when the user click the Register link the user see this form



When a new user complete the form and submit it, the info is used to verify that the email and user name is not yet in use and that it is a valid account, then create the cPanel email account and then log the user into the newly create account.


I have a basic idea what I need to do, I just would like to know how/where to add my code to the existing script to accomplish this task.

Below is an example that I already use to register a user cpanel


$f = fopen ("http://$cuser:$cpass@$cdomain:2082/frontend/$cskin/mail/doaddpop.html?email=$uname&domain=$cdomain&password=$epass"a=$cquota", "r");
if (!$f) {
     ?>
     // Will have verification here
     <?php
    break;
}
           
          if(mysql_query("INSERT INTO users(user_name,user_email,user_pass,user_status) VALUES('$uname','$email','$upass','0')"))
          {

               //header("Location: .........log the user into new account");

          }
          else
          {
               ?>
               // Will catch exceptions here
               <?php
          }          
     }
     else{
               ?>
               // Notify if user or email exist
               <?php
     }
Back to Top View lourens's Profile Search for other posts by lourens
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 12 February 2016 at 2:12am | IP Logged Quote Igor

If you might be interested in requesting assistance from our developers, that can be arranged in terms of Professional Services contract, please let us know.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hackman
Newbie
Newbie
Avatar

Joined: 22 October 2015
Online Status: Offline
Posts: 4
Posted: 16 February 2016 at 9:24am | IP Logged Quote hackman

i have been using Afterlogic Webmail Lite for some time now, done several installations successfully but today i see something different after install. When i launch the webmail Lite, i get this error,

" Forbidden

You don't have permission to access /w/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

"w" is the folder where i have installed.

Advise what could be the problem please, i have done it just like i do before. Infact i have a video from youtube, a very elaborate one.

Back to Top View hackman's Profile Search for other posts by hackman
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 17 February 2016 at 2:12am | IP Logged Quote Igor

That error is something caused by web server configuration, not by WebMail. We recommend checking Apache error logs.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide