Code

Discussion on Advanced Security - PHP Register/Login System

Discussion on Advanced Security - PHP Register/Login System

Cart 2,754 sales

niftycode supports this item

Supported

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

1143 comments found.

When will the next update be?

Hi,

The work is in progress, so I expect it to be released in the next month or so. My main focus was releasing an update for my other script (https://codecanyon.net/item/vanguard-advanced-php-login-and-user-management/14521866), so I’ll focus on this one after I return from a vacation.

There won’t be any new features in the new update, except maybe small changes and tweaks here and there, an updated UI, and some code improvements.

Regards, Milos

Hi, is possible to send username and password when i forget my password? Or how can i know my username? Thanks

Hey,

You can log in either with your email or username, so if you know the email, you can use the Forgot Password option to reset the password and log in with the new credentials. Of course, if you want, you can extend the password reset email and include the username there to make it easier for the users to log in.

Btw, your support for this item has expired. If you have any additional questions or need any help, please extend the support and create a ticket on https://milos.support-hub.io

Regards, Milos

Thank you Milos i will extend support

Question can I use this code on a script I’m trying creat it’s going be a dealership script is it possible

Hey,

Not sure what exactly you want to create, but you get the whole source code of the script after purchase, so if you are familiar with PHP and JavaScript, you should be able to build anything you want.

Regards, Milos

The details of your ad are promising. I would like to see the demo, please, if possible. It appears to be down at this time. Thank you.

Hey,

You can access the demo directly on https://as-php.com/login.php

Not sure why CodeCanyon preview is not working since it’s pointing to the same URL, but will take a look into it.

Regards, Milos

How can I see in my page the social button login as well ( aftre instalation there are none)?. Thanks

Hey,

You’ll need to configure the social login providers. Please check the following documentation article: https://milos.support-hub.io/articles/vanguard-configuration

Regards,

Milos

Hello, i already purchased it. How to create a new page? there is no tutorial in documentation. thx

Hey,

Adding a new page is just creating a new .php file and adding the HTML and PHP code. You can check index.php and use it as an example or a starting point.

Btw, your support for this item has expired. If you have any questions, please extend the support and submit a ticket on https://milos.support-hub.io

Regards,

Milos

Yes, thank you for remind me

Is that any example for CRUD (Create, Read, Update, and Delete) operation involving AS Engine?

Hello, can the codes be customized? For example, I want to put a code validation on the login screen. The codes will be pulled from the firebase database. If it matches, login will be provided. Is that possible?

Hey,

Of course, you have access to the complete source code after downloading the zip package of the script from CodeCanyon and, assuming that you are familiar with PHP and JavaScript, you can customize it however you want.

Regards, Milos

i have installed in my local host, but when i export it and import it in the server i get a message user or password incorrect.

how can i fix this?

Hey,

Your support for this item has expired. Please extend the support and create a ticket on https://milos.support-hub.io

Regards, Milos

Hi! How can i hide .php extension from URL? When i try to do it from .htaccess, the login.php does not work, how i can fix this? Nice script by the way

Hey,

Unfortunately I cannot help much with this since it’s not related to the application itself. That’s something that you can do with rewriting URLs using your webserver config (apache, nginx, etc), so it should be something that you can achieve with correct .htaccess rules. If the login page was not working after you added some .htaccess rewrite rules, it’s most likely some issue with the rules themselves, so I’d double check them and try to tweak them a bit.

Regards,

Milos

Hello,

Can we use it with any Laravel theme.

Thanks

Hey,

This script is not built using any frameworks so it’s not compatible with any Laravel apps or themes out of the box.

Regards, Milos

Hello,

Nice script,Is it possible to login only with the password?

Hey,

Sorry for a bit late response, I just got back from vacation.

Unfortunately no, it’s not possible to log in only with the password because there won’t be a way to uniquely identify each user in that case.

Regards,

Milos

Hey,

I just checked and demo is working properly. I see that you also reported that demo is offline a few comments ago, so it looks like something is wrong with your DNS or maybe internet.

Demo can be accessed here, just in case you are trying to access it within an iFrame or something: https://as-php.com/login.php

Regards, Milos

Demo refuses to connect inside the live preview iFrame, have to go directly to the frame URL instead.

Hey,

Good catch, will take a look!

Regards, Milos

Hey,

I’ve just checked and it’s working properly without any issue for me. It might be something related to your internet connection (DNS), or something like that…

Forgot password functionality – is not working for me. After entering the e-mail address I only get “Working…” message and nothing happens.

Hey,

That’s most likely because your server is not properly configured for sending emails.

From what I can see your support for this item has expired. If you need any help please extend the support and submit a ticket on https://milos.support-hub.io

Regards,

Milos

Thank you, you are probably right. Because I am also having difficulties with password recovery on WordPress on that server. I would be a good idea to encode an error message into the AS app, similar to one I am getting from WordPress: “Error: the email could not be sent. Your site may not be correctly configured to send emails”

I am unable to make payment, my transaction keeps saying unsuccessful. Please Help

Hey,

Unfortunately, I’m not able to help with that since all the payments are being handled by Envato. I’d recommend you to contact Envato support: https://help.market.envato.com/hc/en-us/articles/202821620-Contact-Us

Regards,

Milos

Hello, please i have a website which i wish to protect with a login system, so that users just have to login before accessing the webpage, and also i want to be the one who creates the username and password for the users and not them creating it, i don’t want them to see register anywhere, they can just be log in with the credentials provided to them. I hope this script can do all that? Also, my web host cpanel php version is 7.4 hope it won’t conflict with it? RSVP Thank you

Hey,

What you have described can be accomplished with AS, but you will have to make certain modifications to the codebase to completely turn off the registration and ability for users to change their passwords. If you are familiar with PHP that should not be an issue.

The script will work on PHP 7.4 without any issues.

Regards,

Milos

I’m ending my support because I don’t really need it, it works perfect, I just want to ask you something for a specific use that I have. I want to be able to register users with the same email. Could you give me an idea of where I can modify to achieve it? thanks

Because it always validates showing “User with this email is already registered.”

I need the email field to accept any text or at least accept emails already registered. I hope you can give me some clue, thank you very much

Hey,

Unfortunately that’s not possible without a lot of modifications. Even if you allow storing the same email addresses for multiple accounts, you will need to update the forgot password / password reset flow, including some other parts of the system.

Regards,

Milos

Hello,

First of all, I am aware that the support period is over. If you think you can offer a solution to my problem, I will extend the support period.

Please let me know if you can assist me with the problem I have described below. I will also extend the support period.

I integrated an online pos payment system into this membership system. Then I made online payment pos integration from the bank. Only those who have logged in can access the payment form. I post the parameters requested by the bank to the API address. After the user performs 3D secure verification, I redirect to my member’s profile page.

However, when directed to the profile page of the member after 3D verification, the system automatically logs out of his account.

The reason for this problem is written in the document given by the bank. In the document given by the bank, it says that there is a problem called “SameSite” in Chrome version 80 and above browsers. The explanation given is as follows:

When you POST the parameters to the bank, Chrome will create a Cookie for you. Regardless of whether it is Session information or Id information, if you want to access this information on the 3Ds return. When the customer presses the “Make Payment” button and is directed to the Bank Page for 3D Secure, the Domain will now change, and when the transaction is returned to you as POST, your site will query the Cookie or Session values in order to reach the required session or basket information. If the cookie is not set to “sameSite=None” and secure, Chrome will not allow these cookies to be read. It will not be able to complete the necessary update and payment registration processes or it will be directed to the error page.

If you are making payment, update and confirm transactions at the callBackUrl address with cookie or Session access, you must define the cookie as SameSite=None.

Sample code for PHP;

// Definition of Example for PHP 7.3 // Set a cross-site cookie for third-party contexts setcookie(‘cross-site-cookie’, ‘bar’, [‘samesite’ => ‘None’, ‘secure’ => true]); //For Versions Before 7.3 header(‘Set-Cookie: cross-site-cookie=bar; SameSite=None; Secure’); // setcookie(“Key”, “value”, “expire time”, “path; samesite=None”, domain, true, true);

Determining Key Value Values For the key value values related to the cookie, for example, PHP defines it as PHPSESSID as standard, if you have not used it as a standard, enter your own key value. value as $_COOKIE[‘PHPSESSID’]; you must mark SameSite=None by specifying the value.

Yes, I have a problem like this. If you can guide me on how to make these edits on the script side, I will extend my support period.

Kind regards.

Hey,

Thanks for reaching out but, unfortunately, things like this are not part of the support that I provide for this script.

Kind regards,

Milos

Hi! I’m confused by roles. Is there a code snippet I will use to protect pages from from access and this snippet uses the role to identify who is permitted? Because by creating a role in the admin area there are no options. Also when you click anywhere on the roles table cell it attempts to delete the role which is a bug I guess as there is a delete button for that. Thanks

The documentation article shows you how to use roles in your code to prevent access to specific pages depending on the role of the currently authenticated user.

I don’t see that you have purchased AS at all from this account but, if you used some other account to purchase it, and if you think that there is a bug in the system or you have any further questions, please submit a ticket on https://milos.support-hub.io and I’ll get back to you as soon as possible.

Regards,

Milos

we must be seeing different things because the snippet you are showing me checks only for logged in or logged out. It does not check to see if a specific role has permission to access a page. An example is “free content for free user who is logged in” vs “paid content for paid user who is logged in”. Two different roles which have different permissions when accessing the same page, both are logged in.

(These are are pre purchase questions to see if your code is a better replacement for mine.) Thanks.

Just browse through the documentation, everything is already there: https://milos.support-hub.io/knowledgebase/2

I guess that the page that you are looking for is this one then: https://milos.support-hub.io/articles/authorization-in-advanced-security

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey