Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Yağız... on May 29, 2011, 02:35:56 PM

Title: Password Protect Boards
Post by: Yağız... on May 29, 2011, 02:35:56 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2873)

Password Protect Boards

Written by: Thantos
Updated by: Dragooon
Updated to SMF 2.0 by: Yağız...

This modification allows you to set a password on a per board basis.  Users will be required to enter the password on the board index prior to being able to view any of that board's content.

Administrators and Moderators on that board (global moderators included) are exempt from having to enter the password.

This modification does not protect child boards.

v1.0:
-Original Version
v1.1:
-Made password protection improvements
v1.2:
-Updated to SMF 2.0 RC4
-Fixed an XHTML error at BoardIndex
-Improved language strings
v1.2a:
-Updated to SMF 2.0 Final

Please report all the bugs via the support thread.
Title: Re: Password Protect Boards
Post by: NanoSector on May 29, 2011, 02:54:56 PM
Woot! Very nice :)
Title: Re: Password Protect Boards
Post by: revengelove on May 30, 2011, 01:44:32 AM
Nice Mod 

confirm work with 2.0 RC3
Title: Re: Password Protect Boards
Post by: live627 on May 30, 2011, 04:17:30 AM
Just FYI, Yagiz, the template edits can easily be avoided by using your own. Reduces support queries for custom themes.
Title: Re: Password Protect Boards
Post by: Joker™ on May 30, 2011, 05:30:40 AM
Nice mod :).
Title: Re: Password Protect Boards
Post by: Tapsa2 on June 13, 2011, 10:04:27 AM
This is the mod i've been looking for.
I'll just have to wait for it to be updated for 2.0 final. Or maybe it would work allready, since there was no big changes between RC5 and Final?
Title: Re: Password Protect Boards
Post by: Yağız... on June 13, 2011, 10:28:28 AM
It should work if you emulate your SMF version to RC5.
Title: Re: Password Protect Boards
Post by: Tapsa2 on June 13, 2011, 03:18:50 PM
Quote from: Yağız... on June 13, 2011, 10:28:28 AM
It should work if you emulate your SMF version to RC5.

Or if I modify package-info.xml to install for 2.0 also, would do the same thing, right?
Title: Re: Password Protect Boards
Post by: Yağız... on June 13, 2011, 03:23:00 PM
Quote from: Tapsa2 on June 13, 2011, 03:18:50 PM
Quote from: Yağız... on June 13, 2011, 10:28:28 AM
It should work if you emulate your SMF version to RC5.

Or if I modify package-info.xml to install for 2.0 also, would do the same thing, right?
Yeap :)
Title: Re: Password Protect Boards
Post by: PaintChip on June 29, 2011, 08:57:23 AM
Quote from: Yağız... on June 13, 2011, 03:23:00 PM
Quote from: Tapsa2 on June 13, 2011, 03:18:50 PM
Quote from: Yağız... on June 13, 2011, 10:28:28 AM
It should work if you emulate your SMF version to RC5.

Or if I modify package-info.xml to install for 2.0 also, would do the same thing, right?
Yeap :)

Can someone explain to me how to do this.

I love the mod and use it on a couple of boards in older versions. I'd like to use in on my newest board in version 2.0 final.

Thank you!
Title: Re: Password Protect Boards
Post by: Spoogs on June 29, 2011, 11:05:40 AM
go to... Admin>> Package Manager... scroll down, click Advanced, change 2.0 to 2.0 RC4, then install the package.
Title: Re: Password Protect Boards
Post by: Yağız... on June 29, 2011, 11:19:23 AM
Updated to SMF 2.0 Final.
Title: Re: Password Protect Boards
Post by: akbora on June 29, 2011, 11:28:28 AM
Thanks Yagiz, what about Google Tagged... waiting...
Title: Re: Password Protect Boards
Post by: Yağız... on June 29, 2011, 11:30:21 AM
The new version of GoogleTagged will be with bug fixes and new features. But the other mods that I've updated are only version updates :)
Title: Re: Password Protect Boards
Post by: Calamita on July 20, 2011, 11:13:55 AM
I was searching a long time for this Mod, but I have a problem..

I can´t install it, because there´s no button to install. I´m using 2.0 RC3

I think, that this Mod isn´t compatible with this version.. am I right?
Title: Re: Password Protect Boards
Post by: Yağız... on July 20, 2011, 11:34:48 AM
Quote from: Calamita on July 20, 2011, 11:13:55 AM
I was searching a long time for this Mod, but I have a problem..

I can´t install it, because there´s no button to install. I´m using 2.0 RC3

I think, that this Mod isn´t compatible with this version.. am I right?

You're right, this mod is not compatible with SMF 2.0 RC3. You need to upgrade your SMF version.
Title: Re: Password Protect Boards
Post by: kuşlar on July 28, 2011, 06:19:49 PM
slm 2.0 yükledim bölümlerdem şifre verdim ama herkes şifresiz girebilyor nerde hata yapyorum yardımcı olursanız sevinirim tşkürler
not sürüm 2.0 .b.pasport hata veriyor elle yüklenince site hata veriyor.
Title: Re: Password Protect Boards
Post by: live627 on July 29, 2011, 11:37:45 PM
English please?
Title: Re: Password Protect Boards
Post by: Neol on September 01, 2011, 08:22:12 AM
I would like to include admins a moderators too. The board should be viewable only for those with the password, no matter what status they have. How to do this?
Title: Re: Password Protect Boards
Post by: stuttboksa on September 20, 2011, 02:32:04 PM
Quote from: Spoogs on June 29, 2011, 11:05:40 AM
go to... Admin>> Package Manager... scroll down, click Advanced, change 2.0 to 2.0 RC4, then install the package.

Sorry for the lack of knowledge on my part, but how do I install the package?  :-[
Title: Re: Password Protect Boards
Post by: nixlike on October 01, 2011, 03:27:44 AM
hi Yağız...
are you going to come up with a new version for SMF 2.0.1 as well? Im looking forward to it ;)
Title: Re: Password Protect Boards
Post by: Yağız... on October 01, 2011, 04:46:05 AM
Quote from: nixlike on October 01, 2011, 03:27:44 AM
hi Yağız...
are you going to come up with a new version for SMF 2.0.1 as well? Im looking forward to it ;)
Done :)
Title: Re: Password Protect Boards
Post by: nixlike on October 01, 2011, 07:25:20 AM
that was a very quick one, respect! if you dont see me in here again, everything worked out fine with the installation. if not I'll be back here. thanks for the quick reaction ;)
Title: Re: Password Protect Boards
Post by: revengelove on December 09, 2011, 10:06:30 PM
for 2.0rc3 in attachment


edit,

revengelove, Since this mod does not state any license, it is considered to be under a propietary/closed license, that is, you cannot redistribute the package without the mod's author permission.
Title: Re: Password Protect Boards
Post by: Kevin1 on February 21, 2012, 01:54:24 PM
Please for 2.0.2
Title: Re: Password Protect Boards
Post by: NanoSector on February 21, 2012, 02:26:39 PM
The 2.0.1 version should work on 2.0.2 :)

Just click "Advanced" in the Browse Packages screen, and enter "SMF 2.0.1", then click Save and install.
Title: Re: Password Protect Boards
Post by: Kevin1 on February 22, 2012, 02:23:20 AM
@Yoshi2889
Sorry for bumpning the thread, and it is working fine in 2.0.2 without changing the advance option..
great mod..
But any way to hide the total Posts & Topics of the password protected board from the members??
Title: Re: Password Protect Boards
Post by: NanoSector on February 22, 2012, 05:04:36 AM
Quote from: Akram210712 on February 22, 2012, 02:23:20 AM
@Yoshi2889
Sorry for bumpning the thread, and it is working fine in 2.0.2 without changing the advance option..
great mod..
But any way to hide the total Posts & Topics of the password protected board from the members??
Try this:

In Themes/your_theme/BoardIndex.template.php, find:

<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '


Replace all of that with:

<p>', ($board['passwd'] && !$context['user']['is_admin'] ? '-' : comma_format($board['posts'])), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', (($board['passwd'] && !$context['user']['is_admin']) ? '- ' . $txt['board_topics'] : ($board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'])), '


Sadly, you'll have to do that in all themes :(

EDIT: Fixed a bug in which guests would get "1" displayed.
Title: Re: Password Protect Boards
Post by: Kevin1 on February 23, 2012, 01:16:38 AM
There is no such text in the index file of the albaanaigh theme..
Title: Re: Password Protect Boards
Post by: NanoSector on February 23, 2012, 03:27:55 AM
Quote from: Akram210712 on February 23, 2012, 01:16:38 AM
There is no such text in the index file of the albaanaigh theme..
You did look in BoardIndex.template.php, right?
Title: Re: Password Protect Boards
Post by: Kevin1 on February 25, 2012, 05:24:34 AM
Bro there is no file named "BoardIndex.template.php"

There are
Quotecss
images
languages
Settings.template.php
Settings.template.php~
index.php
index.template.php
license.html
theme_info.xml
Title: Re: Password Protect Boards
Post by: Kevin1 on February 25, 2012, 05:32:10 AM
Sorry i found that file, it is under default theme..
Thanks alot.. it worked..
Title: Re: Password Protect Boards
Post by: NanoSector on February 25, 2012, 04:45:19 PM
Quote from: Akram210712 on February 25, 2012, 05:32:10 AM
Sorry i found that file, it is under default theme..
Thanks alot.. it worked..
Oh of course, I should have said "If it's not in that theme, it's under  the default theme", my bad :-[

Glad it worked though :)
Title: Re: Password Protect Boards
Post by: -=[Vyorel]=- on April 15, 2012, 06:40:04 PM
Nice mod, but how to resolve this error?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.unapproved_topics, b.unapproved_posts FROM smf_boards AS b LEFT JOIN smf' at line 6
Title: Re: Password Protect Boards
Post by: Mishqa on May 16, 2012, 09:01:41 AM
: Hi there. Well I installed the Passwd Protect mod to my forum/site but I dont know how to use it, I was reading Installation Instructions for 2.0. And all I see are codes. But I dont know how to use them. Where am I suppose to put the code? In a post or something? I don't understand how to use these codes or what I'm suppose to do after the Psswd Protect package is installed in my site. D
Title: Re: Password Protect Boards
Post by: NanoSector on May 17, 2012, 03:39:12 AM
Hi Mishqa,

You can set a password for a board at Admin > Forum > Boards > (the board you wish to set a password for) > Modify (on the right).
Now regular members have to fill in that password when entering the board :)
Title: Re: Password Protect Boards
Post by: Mishqa on May 17, 2012, 06:07:42 AM
Okay I think I got it now, I can only provide one password to all?  is there a way to hide certain post from the members who have the password to protected board? See I have consultants on my site and the board that is protected is for members who need to communicate with my consultants in a confidential way? Is that possible for a member to creat a topic and hide it from the other users on the board? Did I explain myself?  :o
Title: Re: Password Protect Boards
Post by: NanoSector on May 17, 2012, 07:58:12 AM
Quote from: Mishqa on May 17, 2012, 06:07:42 AM
Okay I think I got it now, I can only provide one password to all?
From what I've seen, yes.

Quoteis there a way to hide certain post from the members who have the password to protected board? See I have consultants on my site and the board that is protected is for members who need to communicate with my consultants in a confidential way? Is that possible for a member to creat a topic and hide it from the other users on the board? Did I explain myself?  :o
No idea, you could use the Approving system to mark topics as unapproved and then hide them from the members.
Title: Re: Password Protect Boards
Post by: Mishqa on May 17, 2012, 03:18:42 PM
And how do I do that?  :laugh:
Title: Re: Password Protect Boards
Post by: NanoSector on May 21, 2012, 03:01:13 PM
Quote from: Mishqa on May 17, 2012, 03:18:42 PM
And how do I do that?  :laugh:
First, go to Admin > Core Features > tick "Post Moderation" so the On switch is green. Save.

Go to Admin > Forum > Boards. Go to the board you have password protected. there should be a new switch that says something about approving topics, tick that.

Then, unapprove any topic in that board you don't want certain people to see.
Title: Re: Password Protect Boards
Post by: Mishqa on May 21, 2012, 05:29:36 PM
Will the member who started the topic be able to see and respond tho the unapproved topic if I do that? So that the member and I can post back and forth with out anyone being able to see it.

See I would like to have a confidential conversations with certain members who decide to use this password protected board. I would love it if these guys can talk about "personal" stuff to consultants with out feeling uncomfortable about others in the psswrd protected board being able to read them as well.  :laugh:
Title: Re: Password Protect Boards
Post by: Arantor on May 21, 2012, 05:48:26 PM
Well, if you want the whole consultants thing, password protected boards (unless it's one per person) won't really solve that for you.

Moderation will go so far (it will mean only moderators see all of them, while otherwise users only see their own) but it does mean people must not approve topics.

On the other end of the scale, SimpleDesk will achieve what you want (and be more rugged and reliable at it) but I suspect it's a lot more complicated than you want it to be.
Title: Re: Password Protect Boards
Post by: FireDitto on July 17, 2012, 08:28:06 AM
We'd like to be able to password protect boards from everyone - admin, global and regular mods.

How would we go about this?
Title: Re: Password Protect Boards
Post by: Arantor on July 17, 2012, 09:26:55 AM
Um, why?

The big thing, though, is that password protection is not really a measure of security, it's only as strong as the people who are being trusted not to give the password out. Experience suggests this is surprisingly low.
Title: Re: Password Protect Boards
Post by: FireDitto on July 19, 2012, 06:24:11 AM
Oh, it's not for anything major.

Admin A, Admin B and Admin C all work together, but we'd like to be able to exclude each other from mini-plot boards; eg

Board 1 is for Admin A and Admin B
Board 2 is for Admin A and Admin C
Board 3 is for Admin B and Admin C

We just want to easily make it difficult to view the boards, without having to screw around with membergroups and stuff. It'd just make life that little bit easier.
Title: Re: Password Protect Boards
Post by: JTVaughn on October 11, 2012, 06:11:36 AM
Is there any way to increase the session time? I plan on having quite a few passworded boards but it may prove annoying if I have to keep entering the password several times a day.
Title: Re: Password Protect Boards
Post by: Rain Forest on October 20, 2012, 01:16:53 PM
Fatal error: Call to undefined function passwdBoardFailed() in /var/www/vhosts/website../httpdocs/forum/Sources/Load.php on line 856
Title: Re: Password Protect Boards
Post by: Rain Forest on October 24, 2012, 06:22:00 AM
Bump :)
Title: Re: Password Protect Boards
Post by: eQuuS on April 01, 2013, 11:03:02 PM
Hi,

I have a problem with the above. modification. I installed, I set the password in the departments and now I can not see the board / thread, as it receives this message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.unapproved_topics, b.unapproved_posts, t.approved, t.id_member_started FROM ' at line 6
Modification uninstalled manually and with machine and nothing (after the first re-installed the automatic installation of thinking that something will). Removing went 100% correct code agrees with what is proposed parser, the board removed in a xxx_boards. When you add a query on the phrase "passwd" in phpMyAdmin there is nothing interesting except (I think) this (column data type text and not the value of the function below):
session_value|s:32:"6b12dc86f59fd80b92dc17ed792f1488";session_var|s:7:"cdb8e3b";robot_check|i:1364603266;mc|a:7:{s:4:"time";i:1364598723;s:2:"id";i:0;s:2:"gq";s:3:"0=1";s:2:"bq";s:3:"0=1";s:2:"ap";a:0:{}s:2:"mb";a:0:{}s:2:"mq";s:3:"0=1";}ban|a:5:{s:12:"last_checked";i:1364603266;s:9:"id_member";i:0;s:2:"ip";s:14:"213.186.75.122";s:3:"ip2";s:14:"213.186.75.122";s:5:"email";s:0:"";}log_time|i:1364603266;timeOnlineUpdated|i:1364598719;old_url|s:18:"http://adres/";USER_AGENT|s:124:"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1350.0 Iron/24.0.1350.0 Safari/537.17";verification_image_reload|i:0;failed_image_verification|i:0;verification_image_loop|i:0;avatar_rand|s:32:"d7e024139064e1f0ad843a4b16a9dd4b";AvatarsToShow|a:10:{i:0;a:2:{i:0;s:20:"Actors/Brad_Pitt.jpg";i:1;s:32:"60e7e266bfa1e061111df832039422c6";}i:1;a:2:{i:0;s:30:"Actors/Christopher_Lambert.jpg";i:1;s:32:"d4b03061f70b568146e6ee99d0ec3384";}i:2;a:2:{i:0;s:22:"Actors/David_Spade.jpg";i:1;s:32:"51c5e68d9049e177c0d5c02995e0bb00";}i:3;a:2:{i:0;s:26:"Actors/Denise_Richards.jpg";i:1;s:32:"a2314950aa0610bf983cf0a5f32aec45";}i:4;a:2:{i:0;s:24:"Actors/Eva_Habermann.jpg";i:1;s:32:"3b9d1c6982743114312ac6da3f163b7e";}i:5;a:2:{i:0;s:26:"Actors/Gwyneth_Paltrow.jpg";i:1;s:32:"d740422e9d3a0e8c4a35e217a75831de";}i:6;a:2:{i:0;s:27:"Musicians/Avril_Lavigne.jpg";i:1;s:32:"e357b058b9987f4d161a60bde9a4fe03";}i:7;a:2:{i:0;s:24:"Musicians/Bob_Marley.jpg";i:1;s:32:"4622216b670990c805a836b904479a4e";}i:8;a:2:{i:0;s:26:"Musicians/Jon_Bon_Jovi.jpg";i:1;s:32:"045c79066486a2f7ae538dba251a9288";}i:9;a:2:{i:0;s:22:"Musicians/No_Doubt.jpg";i:1;s:32:"5e3d509944034f4db085d23a19dae1c4";}}RightAvatar|a:1:{i:0;a:2:{i:0;s:38:"QWN0b3JzL0RlbmlzZV9SaWNoYXJkcy5qcGc%3D";i:1;s:32:"a2314950aa0610bf983cf0a5f32aec45";}}register_vv|a:5:{s:5:"count";i:4;s:6:"errors";i:0;s:8:"did_pass";b:0;s:1:"q";a:0:{}s:4:"code";s:6:"CEYRAH";}login_adrescookie|s:33:"a:3:{i:0;i:0;i:1;s:0:"";i:2;i:0;}";admin_time|i:1364597722;id_msg_last_visit|s:1:"3";rc|a:3:{s:2:"id";s:1:"1";s:4:"time";i:1364579579;s:7:"reports";s:1:"0";}unread_messages|i:0;last_read_topic|i:8;forms|a:8:{i:0;i:11481249;i:1;i:10771379;i:2;i:8118812;i:3;i:9578437;i:4;i:15934397;i:5;i:12839994;i:6;i:8383499;i:7;i:8934148;}last_backup_for|s:17:"passwdBoard.zip$$";visual_verification_code|s:6:"DBDWWK";temp_attachments|a:0:{}move_to_topic|i:21;pretty|a:0:{}board_access|a:0:{}approved_image_verification|s:11:"got through";registration_agreed|b:1;
The second value (based on the table above):
session_value|s:32:"ce484916a5deb47cfe4a84847845cdce";session_var|s:9:"fb1c3cb0e";robot_check|i:1364867783;mc|a:7:{s:4:"time";i:1364869352;s:2:"id";s:1:"1";s:2:"gq";s:3:"1=1";s:2:"bq";s:3:"1=1";s:2:"ap";a:1:{i:0;i:0;}s:2:"mb";a:0:{}s:2:"mq";s:3:"0=1";}ban|a:5:{s:12:"last_checked";i:1364867793;s:9:"id_member";i:0;s:2:"ip";s:14:"213.186.75.122";s:3:"ip2";s:14:"213.186.75.122";s:5:"email";s:0:"";}log_time|i:1364870058;timeOnlineUpdated|i:1364870058;old_url|s:18:"http://adres/";USER_AGENT|s:124:"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1350.0 Iron/24.0.1350.0 Safari/537.17";login_adresciasteczka|s:95:"a:4:{i:0;s:1:"1";i:1;s:40:"0745d47bfe50fc1f2a17d5ccf104a02dad0dec9a";i:2;i:1364871393;i:3;i:1;}";admin_time|i:1364867793;id_msg_last_visit|s:2:"10";rc|a:3:{s:2:"id";s:1:"1";s:4:"time";i:1364867793;s:7:"reports";s:1:"0";}unread_messages|i:0;forms|a:2:{i:0;i:4982461;i:1;i:3859418;}last_backup_for|s:17:"passwdBoard.zip$$";board_access|a:0:{}

In addition to this are the logs (and pretty acp) in phpMyAdmin.

Plug-ins do not emulate, worked without. Translated by Google.
Title: Re: Password Protect Boards
Post by: Vladimir Samoilov on July 20, 2013, 04:01:19 PM
After installation this modification
"Show new replies to your posts" link don't work.
and "Quote" don't work too.
Title: Re: Password Protect Boards
Post by: Skaty on July 26, 2013, 11:23:56 AM
This mod is not working with Tapatalk.  How can i hide a category in tapatalk or make it work with it ?
Title: Re: Password Protect Boards
Post by: UndergroundVol on March 03, 2014, 08:56:37 PM
Well I tried what I thought would be an easy mod to try first since I had it on my site before transferring to a new server. Gonna have to copy and paste cause the snipping tool and print screen doesn't work here at work. Also, I was wondering if it might be a good idea to delete the two mods I have downloaded and start from scratch, in case there were some changes made to it due to the move? TIA


Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.




Installations actions for "Password Protect Boards"
Installing this package will perform the following actions:
Type Action Description
* 1. Execute Modification ./Sources/Load.php Test successful
* 2. Execute Modification ./Sources/Subs-BoardIndex.php Test failed
1. Add After ./Sources/Subs-BoardIndex.php Test successful
2. Add After ./Sources/Subs-BoardIndex.php Test successful
3. Add Before ./Sources/Subs-BoardIndex.php Test successful
4. Replace ./Sources/Subs-BoardIndex.php Test failed
5. Replace ./Sources/Subs-BoardIndex.php Test failed
* 3. Execute Modification ./Sources/Subs-Boards.php Test successful
* 4. Execute Modification ./Sources/ManageBoards.php Test successful
* 5. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
* 6. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
* 7. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
9. Execute Modification ./Themes/default/languages/Modifications.english_british.php Skipping file
10. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Skipping file
11. Adapt Database add_settings_20.php
12. Extract File ./Sources/passwdBoard.php
13. Extract File ./Themes/default/passwdBoard.template.php




Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
Core Theme
Execute Modification ./Themes/core/BoardIndex.template.php Test successful
Orangeline
Execute Modification ./Themes/Orange_Line/BoardIndex.template.php Test failed
1. Add Before ./Themes/Orange_Line/BoardIndex.template.php Test successful
2. Replace ./Themes/Orange_Line/BoardIndex.template.php Test failed
Title: Re: Password Protect Boards
Post by: lastlight2703 on June 10, 2014, 04:29:01 PM
hi,

i got a group call 'premium member' group

how can i let them view all the board without keying in the password like admin

thanks
Title: Re: Password Protect Boards
Post by: jack_1985 on October 06, 2014, 07:07:44 AM
Hi everyone,

I stumbled upon the following problem:

I change the board passwords on a regular basis. But members that never log out of the forum, never need to re-enter a password... The boards just remains accessible for them, even if they didn't provide the new password. Does anyone have an idea how to force them to re-enter the password after it has changed (or just after a day or so)?

Thanks in advance.  :)
Title: Re: Password Protect Boards
Post by: ittiphol on November 29, 2015, 07:27:31 AM
please help

error no enter board

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.unapproved_topics, b.unapproved_posts FROM smf_boards AS b LEFT JOIN smf' at line 6

anything works fine  :'(
Title: Re: Password Protect Boards
Post by: dougiefresh on November 29, 2015, 07:47:47 AM
Quote from: jack_1985 on October 06, 2014, 07:07:44 AM
I change the board passwords on a regular basis. But members that never log out of the forum, never need to re-enter a password... The boards just remains accessible for them, even if they didn't provide the new password. Does anyone have an idea how to force them to re-enter the password after it has changed (or just after a day or so)?
Cache the password as a cookie on the user's browser, and check it before allowing them to access the board.  If password doesn't match, prompt for new password....
Title: Re: Password Protect Boards
Post by: ittiphol on November 30, 2015, 10:12:11 AM
Quote from: dougiefresh on November 29, 2015, 07:47:47 AM
Quote from: jack_1985 on October 06, 2014, 07:07:44 AM
I change the board passwords on a regular basis. But members that never log out of the forum, never need to re-enter a password... The boards just remains accessible for them, even if they didn't provide the new password. Does anyone have an idea how to force them to re-enter the password after it has changed (or just after a day or so)?
Cache the password as a cookie on the user's browser, and check it before allowing them to access the board.  If password doesn't match, prompt for new password....

i can't open any board and i'm not use password before

sorry my english
Title: Re: Password Protect Boards
Post by: aegersz on June 13, 2021, 10:25:25 PM
I use this on my 2.0.18 system and it protects child boards as well (as long as you set the password)

I had to install it without using Emulation mode.