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 » Wed Aug 12, 2015 4:03 pm

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: 14730
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Registration without Password

Post by Thorsten » Thu Aug 13, 2015 7:43 pm

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 » Thu Aug 13, 2015 8:06 pm

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

Thanks

Andy

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

Re: Registration without Password

Post by Thorsten » Thu Aug 13, 2015 8:12 pm

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 » Fri Aug 14, 2015 10:04 am

FANTASTIC!!

Worked a dream..

Thanks..

Andy

Post Reply