Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Password access for Admin?
Hi!
I need to have access to the password of a newly registered user. This is because of special security reasons of a closed forum. The admin shall check, if new members mail adress is part of a member list. Then the admin shall set a new password, before accepting the registration, sending it in a different mail to the new forum member.
Maybe this is solved by someone here or it´s simple. But I am quite new to Vanilla and not experienced in php - so, please, be clement... .
0
This discussion has been closed.
Comments
That´s quite enough! I played around but I could not find a convenient way to do so. Could you be so kind telling me, how?
Thanks for quick feedback!
So, if you don't know how to program a new control, you can just set the password manually in mysql.
Alternately, you can make a new extension to change their password. You can model it after the library/Vanilla/Vanilla.Control.PasswordForm.php control.
The reason: I want to use Vanilla for a german society with - let me say - «enhanced security requirements». There is a - theoretical - option, to get into the forum, by starting the registration process, and enter the forum after a while, using the user name/password, given as registration. This requires the circumstance, that the "real" member, does not register, that someone does this. [This is not my problem, I swear!]
You can model it after the library/Vanilla/Vanilla.Control.PasswordForm.php control.I will have a look on that. But - as I mentioned above - I am not experienced in PHP. So, any support is welcome.
You may want to try Applicant email verification and combine it with manual administration approval. I'm not sure how well this would meet your needs.
Thank you! It´s quite easier to read, than to write (not only my experience in PHP is a little bit outdated,...).
Applicant email verification
I will test this first (before thinking about a modification of passwordform.php...), and let you know, if it works, or if I can "abuse" it for the wanted effect. Thanks!
some questions (& answers) are definitely starting to cycle. should there be an extended wiki for help
I did not find something to configure (maybe my fault) - is there a despcription available, how to get it like this:
Register - confirm e-mail adress - show as enrollment for admin - affirm registration ?
*Show on the account page of the applicant if he has validated his email or not.
*Send an email notification when new users validate his email - need more test on this one.
However I couldn't test it because I can't get this email notification working, with or without the extension. I still have to check why.
I tested it in vanilla 1.0.1 and it is working (the only thing I couldn't test is the email notification to admin).
One of the bug come from that:
version_compare(APPLICATION_VERSION, '1.0.1', '<=')
That was returning true for APPLICATION_VERSION = '1.0'
First, I had to fix two errors:
- Line 40, surplus bracket: (APPLICATION_VERSION != '1.0'))
- Line 79, missing compare: version_compare(APPLICATION_VERSION != '1.0','<'</b>)
Otherwise, I couldn´t enter my test forum. Now I get an e-mail for new enrollments again, but no verification mail to given e-mail adress ist sent. I still do not find a check box, as shown in download area, to activate anything.The surprising thing: Checking the new enrollments, the profile of the new candidates has an "e-mail validated" entry.
Version check returns "You have the latest version of Vanilla."
Currently its hard for me, to get into PHP (lack of time), let me know, which information you need, to go ahead. I will be back regularly and will help, as fast and good as I can.