News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Password Protect Boards

Started by Yağız..., May 29, 2011, 02:35:56 PM

Previous topic - Next topic

Mishqa

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:

Arantor

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.
Holder of controversial views, all of which my own.


FireDitto

We'd like to be able to password protect boards from everyone - admin, global and regular mods.

How would we go about this?
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Arantor

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.
Holder of controversial views, all of which my own.


FireDitto

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.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

JTVaughn

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.

Rain Forest

Fatal error: Call to undefined function passwdBoardFailed() in /var/www/vhosts/website../httpdocs/forum/Sources/Load.php on line 856

Rain Forest


eQuuS

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.

Vladimir Samoilov

After installation this modification
"Show new replies to your posts" link don't work.
and "Quote" don't work too.

Skaty

This mod is not working with Tapatalk.  How can i hide a category in tapatalk or make it work with it ?

UndergroundVol

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

lastlight2703

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

jack_1985

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.  :)

ittiphol

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  :'(

dougiefresh

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

ittiphol

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

aegersz

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.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Advertisement: