Page 1 of 1

Login PHP Page

Posted: Sat May 24, 2025 8:53 pm
by alexoliveira
Hello everyone, I have the database installed and I already access pages with username and password, but the idea would be to access only with the password, can I do this using the same password as the user's database? In other words, the idea is basically that when the user accesses a page instead of typing username and password, I will type only the password.

Re: Login PHP Page

Posted: Sat May 24, 2025 8:57 pm
by KingSparta
What if more than one person has the same password?

Re: Login PHP Page

Posted: Sat May 24, 2025 10:00 pm
by alexoliveira
The idea is to create a PIN for each user. This PIN is actually a password. No user can change or alter it, only the administrator.

For this reason, I really wanted this option so that when the user accesses a page, for example a presentation of statistics, the page asks for the PIN (password).

Re: Login PHP Page

Posted: Sun May 25, 2025 4:44 am
by alexoliveira
Guys, if anyone can give me this support, I will be very grateful <3

Re: Login PHP Page

Posted: Sun May 25, 2025 5:04 am
by wwonderfull
I think this would need some custom codes solutions on the login tools code because when someone is registered, they usually use their email address or username and password so as you are saying that they will have a pin code to login with that means that they would have to have a unique pin for each person so that they can be identified because passwords can be same, but pin codes has to be unique. So, in this case PIN Code is working as both as identifying id and as the password.

Re: Login PHP Page

Posted: Sun May 25, 2025 6:17 am
by Pablo
There is no standard solution for this. The built-in login tools were designed to use username/password.

Re: Login PHP Page

Posted: Sun May 25, 2025 9:49 am
by miguelss
What about you use same username and password? I mean use the PIn as username and password, then ask a unique value and replicates it in Username and Password fields.

Cheers!

Re: Login PHP Page

Posted: Sun May 25, 2025 5:55 pm
by wwonderfull
miguelss wrote: Sun May 25, 2025 9:49 am What about you use same username and password? I mean use the PIn as username and password, then ask a unique value and replicates it in Username and Password fields.

Cheers!
That may not work, I think. Because a person who registered does not know his own PIN until he is emailed after his registration. And if he needs to change it then the built in forget password would be of no use. And the administrative panel would not be able to help anyhow in terms of managing pin codes because it was made for Username and passwords and activation control for users who sign-up.

Re: Login PHP Page

Posted: Mon May 26, 2025 3:41 am
by alexoliveira
So would it be possible to request just a password for the customer to access a page?


Thank you to everyone who is stopping by to give their feedback, thank you team builders

Re: Login PHP Page

Posted: Mon May 26, 2025 4:43 am
by wwonderfull
As I have said logging in with only password (Unique PIN like password) is possible even without email or username, but it would need alteration of many parts of the server sided php codes and even on some elements of the frontend for validation. But that would require custom codes and changes in many places of the login code snippets.

Because if there is no email id or username when they register and if there is only a password which people can't just randomly write to sign up. And if you are the one providing the (password+unique-id=PIN) then that means they are not registering, and you are pre-registering them and have to send them an email, but do you have their email when registering which you did not take or do you have a whole list already that is the thing. Even you administrating would get confused which users pin or password is this if you cannot identify it. That means it is totally a different approach on how wwb login tool works. It is not difficult but more like different.

Re: Login PHP Page

Posted: Mon May 26, 2025 5:03 am
by wwonderfull
But if you want there could be a way where they can login with just by their unique username like @jhondoe the usernames we have in forum something like that. That could be a more simplified but insecure approach but in terms of security password is the appropriate way.

Re: Login PHP Page

Posted: Mon May 26, 2025 7:43 am
by alexoliveira
https://startagencia.net.br/


I have a customer registry, I use WHMCS and I would like to provide presentation material for advertisements, etc.

In this case, I already have a username and password and customers already access this area. What I would like to do is simply try to request one x per person, just a password instead of a username and password to access the presentation page.

and in other words, I will register the client's email, password and username, but when logging in, I would only type the password.

Re: Login PHP Page

Posted: Mon May 26, 2025 12:26 pm
by wwonderfull
I have checked your login page with browser dev tools https://startagencia.net.br/central.php

It seems you are not use wwb's login tool. If that is the case, then what solution are we talking about. And by the way this solution needs custom codes so wwb cannot provide and help for it. But if you need custom solutions, you can hire developers who can help you out on this.

Re: Login PHP Page

Posted: Mon May 26, 2025 10:27 pm
by alexoliveira
Exactly, I already have a login and password system.

But I create everything based on WYSIWYG. Let's see, the idea is that after the client logs in and accesses a page that I have provided (ad presentation), when opening this page, it only asks for the password that I created in WYSIWYG.

The client will already be logged into the client center.

What happens is that it is just a way for someone to access the presentation link without first entering the password.

In this case, I also have a login and password area as WYSIWYG admin where I create these client accounts and redirect each one to a presentation as needed.

In other words, the idea is
--> Login to the customer center where I use WHMCS.
--> Within the customer center, I release a button
--> ADS Presentation.

When clicking, an iframe opens where I only want to ask for the access password to open the presentation in a responsive iframe.

Re: Login PHP Page

Posted: Sun Jun 01, 2025 1:31 am
by alexoliveira
Does anyone have any tips on how to make it happen? I saw that wysiwyg has a module where you can enter a password to access a page, but it is not combined with phpmyadmin, which could be detrimental to data security.

So I would like to do this, but with a login and password created in wysiwyg itself.

Re: Login PHP Page

Posted: Sun Jun 01, 2025 6:25 am
by Pablo
I'm sorry, there is no standard solution for this. This will require a custom script.

Re: Login PHP Page

Posted: Sun Jun 01, 2025 2:10 pm
by BaconFries
As previously mentioned it looks like you are using a "Third Party" login script perhaps you could contact the developer of it and ask him/her to write a solution for you.