loshMiS

loshMiS supports this item

Supported

This author's response time can be up to 1 business day.

928 comments found.

We currently use uLogin PHP Authentication Library, http://ulogin.sourceforge.net/, when we started testing for PHP 7.0 & 7.1 I found problems. uLogin has not been updated since 2013 so I guess it’s time to move on. before I buy your product I have some questions.

have it been tested with PHP 7.0 and 7.1

our user profiles are extended compared to examples I see in your demo/docs. I expect that I have to write a wrapper around your user profile where I can call your routine and then add insert/update of our extra fields (sitting in a separate table)

Our site doesn’t (yet) use bootstrap, from your docs it sounds like that should not be a problem. ie we can plug-in your routines, replace existing function calls with calls with yours (in principal) Thanks /P

Hey,

Yes, it is tested and working on PHP 7.0 and 7.1 (demo website is running on PHP 7.1).

You should be able to easily wrap/modify any AS code you need to make it fit your needs. And yes, bootstrap is used just for design, and with some small modifications you should be able to make it work with your design.

Regards,

Milos

i’ve bought this item but file is corrupt !!! Please Send me an another file or repay me

And i have an another problem email sending. error : Fatal error: Uncaught exception ‘Exception’ with message ‘E-Mail could not be sent. Info: Could not instantiate mail function.’ in /var/www/html/logon/ASEngine/ASEmail.php:72 Stack trace: #0 /var/www/html/logon/ASEngine/ASRegister.php(236): ASEmail->passwordResetEmail(‘skynetprogram42…’, ‘c55efbc8d291caa…’) #1 /var/www/html/logon/ASEngine/ASAjax.php(21): ASRegister->forgotPassword(‘skynetprogram42…’) #2 {main} thrown in /var/www/html/logon/ASEngine/ASEmail.php on line 72

Hey,

About issue on login, it is most likely related about some error in backend script which can be caused by server configuration or by something that you have modified. Can you please provide a bit more info about the error response being returned from the server? You can find that info inside browser’s console. Check the following section for more info: http://docs.as-php.com/developer-guide.html#debugging-ajax-requests

About email sending, the error you get means that your server is not properly configured for sending emails. I would recommend you to use some external SMTP server for sending emails or to configure the server so you can use standard php mail() function. More info about email configuration can be found inside the docs: http://docs.as-php.com/configuration.html#emails

Regards,

Milos

So how i can configure php mail function. i’ve installed phplib-phpmailer but how i can configure this ?

Good job but email sending not working

Hey,

Please check the documentation: http://docs.as-php.com/current-user.html

Regards,

Milos

i’ve an another problem. i try this ”’is_ultimate’ => strtolower($result[‘role’]) === ‘ultimate’ || strtolower($result[‘role’]) === ‘editor’,” it check if ultimate but no if editor. For example, if an user is ultimate, i want that the program return true for ultimate and editor

And how i can call function “isAdmin” from ASUser.php in AS.php ?

Hey,

The code you wrote above will check if user’s role is “ultimate” or “editor”. If you need to check if user “is ultimate” then just need to check the following:

'is_ultimate' => strtolower($result[‘role’]) === 'ultimate'

About calling any function from ASUser class, you would need to instantiate the class first. To avoid instantiating it manually and passing all dependencies, you can resolve it from the container like following: app('user') and then chain the ->isAdmin($userId) on it.

Regards,

Milos

rennefer

rennefer Purchased

Hi thanks for the last question answered it worked perfectly. Now my web site after login goes to a page same as the unlogged in page but with all the options a member gets. I would like to add welcome back (user name) to the top of this logged in page only is this possible within your scripting. Best regards Mike

Hey Mike,

As it is explained inside the docs ( http://docs.as-php.com/current-user.html ) you can get the currently authenticated user by using app('current_user'). When you get the info about currently authenticated user, you can easily display his first name, last name, and other available info.

Regards,

Milos

cloudex99

cloudex99 Purchased

Hi,

I am liking your app, but there needs to be a way to increase the session timeout, without messing with php.ini. Also would be nice if you can add a remember me option to keep the user logged in always.

Thanks

Hey,

Of course there is a way to do it. Please check the following section inside the documentation: http://docs.as-php.com/working-with-session.html#session-lifetime

Unfortunately “Remember me” feature won’t be added soon, but I have it in plan for some future releases.

Regards,

Milos

_Oktam_

_Oktam_ Purchased

Hi, How can i use my own class? I want to add Template engine. But I can’t find any instruction for that…. I tried to add (vendor/composer/autoload_classmap) but system doesn’t read my class . And also I added it to AS but no solution.

Hey,

Well if you want to add your classes you need to be familiar with composer and how it autoload files. This means that your autoloading must be configured through composer.json file.

For example, if you place your class inside ASEngine directory and run composer dump-autoload your class will be accessible across the project. This is because in composer.json file it is configured to autoload all classes from ASEngine directory. You can configure it for any other folder too.

If you don’t want to use composer autoloading (which I would not recommend), then you can always require your class directly at the top of ASEngine/AS.php file.

Regards,

Milos

Amvious

Amvious Purchased

Hi Iosh, how do I bypass the the “email and captcha field” for the registration form so that new registration just require a username and password?

Also, is there a way to obfuscate the registration area so that only users that pay can be directed to the registration area and become members? I want to prevent anyone from direct linking to the registration page and just becoming a member.

Hey,

You will need to modify the form manually to achieve that since it’s not possible to customize it like that from configuration parameters.

About allowing access to the registration page only for paid users, you will need to implement that too, since payment system does not come out of the box with AS. Basically you will need custom registration form (more like a wizard) where you can have multiple steps where first one will be for them to pay the fee and then be redirected to next step which is picking their username and password.

Regards,

Milos

Hi!! is it possible to have an input – example Id Number – in the registration form, that validate if this Id exist and then the user can continuous with the registration form? For example, if this Id exists in the system then the user can finish the register, if not, it couldn’t. Thanks!

Hey,

I’m sorry but your support for this item has expired. Please extend it if you have any questions.

In general, yes, you can extend the registration form and make it work like that, but you will need to do it manually of course, by editing some JavaScript, HTML and PHP files.

Regards,

Milos

by
by
by
by
by
by