Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2424)
Join Passwords
Original Author:live627 (http://www.simplemachines.org/community/index.php?action=profile;u=154736)
SMF Version: 2.0.X
Mod Version: 1.1
Description:
This mod enables the admin to require a given password on signup.
Compatible with SMF 2.0
The settings for this mod are in AdminCP => Members => Registration Settings
Password is encrypted with SHA1, this means if you forget the password it cannot be retrieved. This is done for security.
Changelog
Version 1.1
! Taken over by Runic
! Updated for 2.0.x
Version 1.0.3
* Update for SMF 2.0 RC3
Version 1.0.2
! moved a language string
Version 1.0.1
! Registration would pass without the correct password
Legend:
--------------------------------------------------------------------------------
! Minor change or bugfix
* Feature edit
& Known bug
+ Feature addition
- Feature removal
Why Not Visit:
http://www.smfhacks.com (http://www.smfhacks.com)
before I install it, I have a question.
Can I "restrict" the predefined password to open access for a particular group?
( Im running a Multigaming clan site, and we have different approaches to the main clans forum and single-game-members.. then it would be nice to be able to "automate" it. )
I entered the wrong password and still pass the registration:)
And found an error in the text: "Plase..." => instead "Place..."
Quote from: Bugo on February 10, 2010, 07:21:01 AM
I entered the wrong password and still pass the registration:)
And found an error in the text: "Plase..." => instead "Place..."
Both those errors have been fixed in the update 1.0.1
Russian translation
index.russian-utf8.php
// Join Password
$txt['join_pass'] = 'Пароль доступа';
$txt['join_pass_enabled'] = 'Требовать пароль для доступа к регистрации';
Errors.russian-utf8.php
// Join Password
$txt['error_join_pass'] = 'Место для ввода пароля, требующегося для получения доступа к регистрации на форуме.';
Hello Live
I had to move this from error.english.php to index.english.php - i was getting hits in my error logs about undefined index. This solved it.
$txt['error_join_pass'] = 'Please enter the password required to register on the forum.';
mm anyway.. is it possible to direct logins to a particular forum with this mod ?
Can you explain?
Would I be right in saying this mod will show new registers a password which they have to use before they can set their own after joining?
Yes new registrants must have the password provided by the admin
SRY!.. bad choice of words This is what I meant. Most forums have several Boards, where the admins can make some private and other public and so on.
I was curious to know if this mod has the ability to direct users to particular boards, or maybe make the user member of a particular group ( with the given password ) ?
By directing the user with the predefined password to a specific group or board, the admin(s) can control who has access to where, thus saving a lot of administrationtime when new users are joining.
Thought so.
This will be yet another of your mods I have installed.
:D
Quote from: Capion on February 18, 2010, 01:03:54 PM
SRY!.. bad choice of words This is what I meant. Most forums have several Boards, where the admins can make some private and other public and so on.
I was curious to know if this mod has the ability to direct users to particular boards, or maybe make the user member of a particular group ( with the given password ) ?
By directing the user with the predefined password to a specific group or board, the admin(s) can control who has access to where, thus saving a lot of administrationtime when new users are joining.
That I think is for another mod. When I get some free time I'll look into that. Join Password does everything it was originally designed to do, eg. requiring a password on the registration page so unwanted users should not be able to register
Live - I've reported a bug in this mod, and also in your relative dates mod, but you seem to ignore my replies.
What's up with that ? :p
Hi,
thank you for this very useful mod.
If the registrant enters the wrong or no password the error box at the top only shows the following message:
"The following errors were detected in your registration. Please correct them to continue:" ... but does not give a reason for the new user why his registration failed.
I think it would be important to tell him/her that he has entered an incorrect or no access password, especially when it is misspelled, since typos can easily happen.
Also I think to use specific passwords to direct users to a specific user group as requested before, would be a great addition to this mod.
Regards,
B.
Quote from: Tanks on February 18, 2010, 06:12:32 AM
Hello Live
I had to move this from error.english.php to index.english.php - i was getting hits in my error logs about undefined index. This solved it.
$txt['error_join_pass'] = 'Please enter the password required to register on the forum.';
Brahman, this would fix that ;)
Isn't this a bug in the mod?
I can see this text in the mod installation file english.xml.
But there it was supposed to be inserted in:
<file name="$languagedir/index.english.php" error="skip">
and/or
<file name="$languagedir/Errors.english-utf8.php" error="skip">
However, when installed like this it does not show at the registration error page. :-[
If the mod developer would want to eliminate this bug, should not the above two lines be simply changed to:
<file name="$languagedir/index.english.php" error="skip">
and/or
<file name="$languagedir/index.english-utf8.php" error="skip">
so that the mod would function correctly?
The mod is brilliant and this would simply be icing on the cake if the kind developer would change that. :)
Regards,
B.
Cool mod, very useful, especially for secret forums ;D
Spanish translation
Errors.spanish_es.php
$txt['error_join_pass'] = 'Por favor ingrese la clave requerida para registrarse al foro.';
Index.spanish_es.php
$txt['join_pass'] = 'Ingresar clave.';
$txt['join_pass_enabled'] = 'Requerir de una clave para registrarse.';
Version 1.0.2 moves the language string into the correct file
And apologies for not fixing it earlier - quite a busy schedule
Thank you live627 for the update.
It works very well now.
The only thing I notice is following error from your mod in my log:
Undefined offset: 1 in ManageRegistration.php Line 314.
This line is:
$_POST['join_pass'][1] = sha1($_POST['join_pass'][1]);
I've just installed this mod and get problems. everytime someone enters the password I chose it comes up with an error.
Please enter the password required to register on the forum
The password I set up to accept is mpatient2574 and yet when I asked one of my friends to try they got the above error. I am using the latest version 1.0.2 so I don't understand why I would be getting these problems and I won't open my new SMF forum until I get a proper invite/password only mod.. Any help would be much appreciated
I can't reproduce the last two errors
@Brahman: Did you fill both fields with the same password?
@Mayfair: Did you set the password?
Yeah, I did. It's supposed to be mpatient2574
The error does not occur any more. May have been caused by another mod (registration password) which was not properly set up with all groups assigned a password at the time.
BTW I can confirm that your mod works well with the Registration Password mod. Both mods together give an Admin the ability to set up a password protected (join password mod) forum with several subforums and at registration time the user will be assigned a specific group with access to a specific forum (through the registration password mod).
The join password mod is necessary in this case, because the registration password mod does not have the ability to block registration if a wrong password is entered, it just assigns the member to the default group in this case.
It would be nicer though, if there could be one mod which integrates both these capabilities.
Regards,
B.
It still doesn't work and I cannot open at all until this is set up.
I'm sorry but I'm starting to get a little frustrated. I understand that your a busy person but I cannot open AT ALL until I have a working password required registration mod installed. I posted my problem more than a week ago. You've been online today and didn't bother to help me with my problem.
I have no idea what is causing the problem. I have tried that password and I was able to register a test account. There could be a mod conflict or Join Password needs uninstalled and reinstalled again
Hello Live627,
MOD "Join Password" worked great on SMF ver 2.0 RC2 but I upgraded to SMF ver 2.0 RC3 and now I'm unable to use this AWESOME MOD.
Will there be an update soon? :-[
Many Regards,
Jared Blake
It was another mod interference, thanks :) I'm now in the same boat as Jared though. I've just upgraded to keep it more secure and it no longer works.
Do you plan on updating it eventually?
Hey Live,
Can I modify the mod myself to make it work with SMF 2.0 RC3?
Please just let me know the steps and I will do it...
Thank you...Regards, Jared
Dang I didn't know it would be that easy to fix.....works great now!
Regards,
Jared
Test it here:
social-whamx.com
Version 1.0.3 - May 20, 2010, 04:40:39 PM
+ Adds Russian thanks to Bugo
+ Adds Spanish thanks to DrHouse
* Update for SMF 2.0 RC3
Please add these both files into your package, because russian-utf8 must be separate from russian-ansi...
I've just installed Join Password 1.0.3 into 2.01 and although it installed OK when typing in the correct password in the registation process the triangular shaped yellow exclamation mark fails to turn into a tick to acknowledge the input. I know this isn't a big issue, although it can be off putting for people as it gives the impression that the wrong password is being inputted. Can you fix this Live or tell me how to do it?
Cheers Ian
Just installed this mod and now my account password as admin is not working. Puzzled as to why my password isn't working, I tried the access password and it doesn't work neither so I had to get the forum to send me new password but never got the email??
I am using SMF 2.0.2 with ADK Portals mod on it. Your mod is 2nd mod in the system. I can no longer access to the forum even as an admin.
Does it work if you uninstall the mod?
Quote from: Ian Holl on December 06, 2011, 05:33:51 AM
I've just installed Join Password 1.0.3 into 2.01 and although it installed OK when typing in the correct password in the registation process the triangular shaped yellow exclamation mark fails to turn into a tick to acknowledge the input. I know this isn't a big issue, although it can be off putting for people as it gives the impression that the wrong password is being inputted. Can you fix this Live or tell me how to do it?
I am having this same problem running version 1.0.3 on SMF 2.0.2. I don't know if there is something wrong with my database, or if there is a small bug in the mod. Is it possible that because of the SHA1 encryption, it cannot be determined whether or not the password is correct?
If I come up with a fix shortly, I will be glad to share it.
Thanks,
SpiffySax
I just now tried it myself. Indeed, the icon isn't changing. I'll fix that.
Fixed!
I installed this mod and it displays multiple password requests. Even if all of them are filled out, the registration will not go through. So I uninstalled the mod and the questions remain. Please help.
http://www.knightsoftheshattering.com
If you attempt to register, you will see what I mean.
Does this mod work in SMF 2.1?
I have not tested or updated it.