News:

Join the Facebook Fan Page.

Main Menu

Join Password

Started by vbgamer45, February 07, 2010, 03:04:38 PM

Previous topic - Next topic

vbgamer45

Link to Mod

Join Passwords



Original Author:live627
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
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Capion

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. )
*if it works, dont fix it*

Bugo

I entered the wrong password and still pass the registration:)

And found an error in the text: "Plase..." => instead "Place..."

live627

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

Bugo

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'] = 'Место для ввода пароля, требующегося для получения доступа к регистрации на форуме.';

Tanks

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.';

Capion

mm anyway.. is it possible to direct logins to a particular forum with this mod ?
*if it works, dont fix it*

live627


TheListener

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?


live627

Yes new registrants must have the password provided by the admin

Capion

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.
*if it works, dont fix it*

TheListener

Thought so.

This will be yet another of your mods I have installed.

:D

live627

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

Tanks

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

Brahman

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.

Tanks

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 ;)

Brahman

#16
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.

DoctorMalboro

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.';

live627

Version 1.0.2 moves the language string into the correct file

And apologies for not fixing it earlier - quite a busy schedule

Brahman

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]);

Advertisement: