Registration without Password

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Registration without Password

Post by AndyE »

Hi Guys,

Im tryin to build a KB using this fantastic script but I need to be able to have users register their details so I can group them up in the admin panel but I want everyone to have a generic password if they register via the registration form. Is there a way to code the form to have the same password in the database for every user then perhaps hide the field on the form?

Thanks in dvance for the advice, and I hope that makes sence..

Andy
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Registration without Password

Post by Thorsten »

Hi,

it would be possible to hack something into the code. I can show you the parts where you have to add some patches...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Re: Registration without Password

Post by AndyE »

If you could show me the sections that would be fantastic!

Thanks

Andy
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Registration without Password

Post by Thorsten »

Hi,

you can set a static password here:

https://github.com/thorsten/phpMyFAQ/bl ... e.php#L577

To activate the users by default, change

https://github.com/thorsten/phpMyFAQ/bl ... e.php#L585

from 'blocked' to 'active'.

That's all I think.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndyE
Posts: 17
Joined: Thu Jul 09, 2015 10:43 am

Re: Registration without Password

Post by AndyE »

FANTASTIC!!

Worked a dream..

Thanks..

Andy
Post Reply