News:

Join the Facebook Fan Page.

Main Menu

Password Mod

Started by 2by2host, August 13, 2008, 11:51:53 AM

Previous topic - Next topic

Vyache

Thank you for release! Great mod works! :D

AjaxChat - SMF 2.0 RC2 Edition Download.
mrtrc266 ~AJAX Chat Intergration FAQ's & Tips-N-Tricks~

2by2host

Quote from: warmgrey11 on November 18, 2009, 01:14:43 PM
Hi,

Get './Sources/Register.php test failed' on v. 1.1.10. I know 1.1.10 compatibility is not listed for this mod. Has anyone got this to work for 1.1.10 ?

Please provide us with the Register.php file and the URL of your forum.

Regards,
2by2host.com team

2by2host

To Brahman

> It seems that I cannot deny registration to a potential member if  (s)he does not put in a valid special password. Am I overlooking something?
> In other words: If a member cannot provide an additional registration password, I do not want them to be able to register at all.
> Can I do that?

A: It will be released in the next version

> the checkbox "Use a registration password?" seems not to change the functionality of the mod in any way whether it is checked or unchecked.

A: We'll check that and fix it if it's true.

Regards,
2by2host.com team

WhatsTheRent

Hello.  This is exactly the mod I am looking for but I cant get it to install, or at least I get a warning message as I am about to install it. "Test failed" on "./Themes/default/Register.template.php" with a sub of "Add Before: ./Themes/default/Register.template.php".  SO I have not progressed past this warning message to see if it goes well

I'm running 2.0 RC3 default theme here: http://www.iphonemagicapps.com/forums/.  Other mods are: Avea Media, Google Analytics, Facebook Video, Stop Spammer, Ad Management, Effectively remove SMF logo, and Bad Behavior

Any ideas?  thanks

WhatsTheRent


WhatsTheRent

anyone have this working in RC3?

poser3dart

I got it running on RC3 by adding:

/** start Registration Password Mod **/
if(isset($modSettings['registration_password_use']))
{
echo '
<table width="100%" class="tborder" border=0 cellpadding=10 cellspacing=0>
<tr>
<td class="windowbg2"><b>'.$txt['registration_pw_regtext1'].'</b>
<input type="password" name="registration_password" size="30" />';
if (!empty($modSettings['registration_password_text'])) {
echo '
<br />
<div class="smalltext">'.$modSettings['registration_password_text'].'</div>';
}
echo '
</td>
</tr>
</table>';
}
/** end Registration Password Mod **/

After this:
// Are there age restrictions in place?
if (!empty($modSettings['coppaAge']))
echo '
<tr>
<td colspan="2" align="center" style="padding-top: 1ex;">
<label for="skip_coppa"><input type="checkbox" name="skip_coppa" id="skip_coppa" tabindex="', $context['tabindex']++, '" class="check" /> <b>', $context['coppa_desc'], '.</b></label>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>';


It runs fine from admin and on the reg form
but when I try to reg a test member I get a Database error and the log shows:

Database Error: Column 'id_group' specified twice
Apply Filter: Only show the errors from this file
File: /forum/Sources/Subs-Members.php
Line: 785


779:  // Register them into the database.
780: $smcFunc['db_insert']('',
781: '{db_prefix}members',
782: $column_names,
783: $values,
784: array('id_member')
==>785: );
786: $memberID = $smcFunc['db_insert_id']('{db_prefix}members', 'id_member');



Can anyone help with this and any news when this will be updated for RC3?

Thanx

poser3dart

10 days and no reply, does anyone have a guess as to either the problem or when PM will be working with rc3?

Have a website going live 8/15 and with all the member grps we have really need this mod to work if possible.


Thanx

Bugo

This mod doesn't supports russian UTF-8 titles for group...

borish

I checked "use registration password", but members can register without registration password, which I don't want.  Also, the spam protection question isn't visible any longer.
According to the documentation
QuoteIt can be toggled that if no password is entered then the user can join as a "Regular Member"
I use this mod on 2.0.6.

Advertisement: