Link to Mod (http://mods.simplemachines.org/index.php?mod=237)
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.
This modification was tested using SMF 1.1 RC2. It may or may not work with RC1.
SMF 1.0.5 is up. Make sure you grab the correct file.
Thnx!
Haven't had the need for it yet, as the permission-based is sufficient ATM. But it's in my favourites!!
This is a nice mod! :)
But i wudnt recommend it
because passwords can be easily leaked
making use of usergroups for limited access is a better way! :)
Gr8 mod tho! thnx! :)
Seems I'm stuck in the middle with rc1. :'(
Sadly, when I click 'Apply Mod' it shows me this..

, also got SMF 1.0.5
What version of SMF and which file did you download?
SMF 1.0.5
passwdBoard_0-1.zip
You got the wrong version of the mod. Use
passwdBoard_0-1_SMF105.zip
Ok, thanks very much/.
THANK YOU SO MUCH! I can kiss you! This is mana from heaven! THANK YOU SO MUCH!
GOt one more question
How come theres lots of items like this in the error log?
Like what?
like the pic above.
Ok I found it, go ahead and delete the line
'passwd' => $row['passwd'],
near 1094.
It was due to the package manager finding two lines like the one I told it to search for. I'll find a better search to use.
I have corrected the problem in 1.0.5 (Doesn't appear the problem was in the SMF 1.1 version).
There is a new package up with the change and its upgradable.
Mike please help.
I downloaded it from you page but then how do I apply it?
Admin -> Package Manager -> [ Download New Packages ] -> Package to Upload: -> Choose -> Upload
Apply Mod
[ Proceed ]
Mike, Thanx.
I did that...But now I want to make one of my boards/sections password protected but I dont see the option.
Where would I find it?
NEVER MIND!!
Found it!!
Your the best!!!
the only thing that i dont REALLY like about the mod, but I can live with it, is the fact that the password boxes are on the index page, and I have like 6 password boxes, and it is really starting to look cluttered.
THe recent posts seem to get past that lil' password thingy..
Hmmm good point. Maybe the next version.
hello i use the passwdBoard_0-1.zip for RC1, but now ask me for upgrade, says failed, how can upgrade?
other thing when a board is protect and a member put into a pass he dont need do again anymore why? It sould be everytime he login or after few minutes, like admin password
I also get that now. it only wants to upgrade Load.php
The user only needs to enter the password once per session. I figured that would be the least obstrusive way while maintaining some level of security.
As far as the upgrade part is concerned, that is for 1.0.5 ONLY.
Quote from: MikeMill on December 20, 2005, 08:14:19 AM
The user only needs to enter the password once per session. I figured that would be the least obstrusive way while maintaining some level of security.
As far as the upgrade part is concerned, that is for 1.0.5 ONLY.
thanks when you thing is avaible for RC1 the new upgrade?
i forgot, thw img quick look only is avaible when i put the default therme, im using helios, you know how i fixed that? for see the quick_look
I have installed the mod and enabled password on two boards in Manage Boards section. But when I enter the password that we have kept for these two boards on the Board Index, it gives an error saying incorrect password. When we try entering it again on the error page, it doesn't accept it. We have tried different browsers- I.E., Opera, Firefox, Netscape... but no help. Any help please.
my dear frıend,ı have opened this mod download my web page.ıs ıt ok for you?
http://www.guzelforum.com/forum/index.php/board,70.0.html
sorry I don't english speak too
You may NOT redistribute this modification in any way, shape, or form. This includes putting it on your board where others can download it.
ı'm this mod to turn Turkish languages chance.
and I'm opened to download my web page
and
I give yours link my web page
ok ?
If you want to translate a turkish language file for those mods I have no problem with that. However you must only distribute the language file itself.
i have to do some codes in turkish
can this code be addapted to password protect topics, and yes I have a need.
Sorry I PMed you over this Mike, the thread I was reading was locked, I just found this one, thanks :)
You could use the same idea. Add a password column to smf_topics and then on the post page give an option to password the topic. Then change Post.php and Subs-Post.php to insert the password when its posted. Then change Load.php to look for the password when you enter a topic.
Quote from: ViV on December 28, 2005, 10:13:36 AM
I have installed the mod and enabled password on two boards in Manage Boards section. But when I enter the password that we have kept for these two boards on the Board Index, it gives an error saying incorrect password. When we try entering it again on the error page, it doesn't accept it. We have tried different browsers- I.E., Opera, Firefox, Netscape... but no help. Any help please.
No reply :(
Quote from: MikeMill on December 30, 2005, 10:36:50 AM
You could use the same idea. Add a password column to smf_topics and then on the post page give an option to password the topic. Then change Post.php and Subs-Post.php to insert the password when its posted. Then change Load.php to look for the password when you enter a topic.
Thanks for the pointer, I'll have to learn some php, but Iguess I should learn some anyway ;)
Might take a bit, but I'll pst the changes back if I can get them to work, thanks..
@ViV, reset the board's password. It IS case sensentive. Also do you have any special characters in the board name or password?
Bro... i have resetted it so many times... and passwords are nothing but one word in small letters. No use. Even tried uninstalling n re-installing mod... still no use.
If you want you can PM with a link and an account that can manage boards and I'll take a look.
I`m getting almost the same error:
8: Undefined index: passwd
File: /home/bigguy/public_html/smf/Sources/Load.php
Line: 1079
Will the updated package take care of this error to ???
Excellent MOD, works like a charm.
One question though, can Global Mods have same automatic entry as Admins.
Thanks.
All moderators have auto entry.
Bigguy: Try the fix or upgrade the version.
Quote from: MikeMill on January 02, 2006, 10:09:50 PM
All moderators have auto entry.
Not working then, I have a test account and when I make it a GMod it requires I add password to enter protected forum.
Ok I think I got that one but what is this error:
8: Undefined variable: i
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 551
That must be a different mod Bigguy as this mod doesn't touch Display.php
Have any ideas as to what it belongs to ?
The Global Mod I have added themselves to be Moderator of the password protected forum in order not to enter a password, still GMod has to enter a password, its not there end as it happens to a test account I give GMod privileges to and try it myself.
Quote from: Bigguy on January 03, 2006, 12:22:15 AM
Have any ideas as to what it belongs to ?
Just guessing, may be from the "Hide Board - Permission protect boards" (its a link under password protect boards), could've got that "Hide Board - Permission protect boards" instead.
I found out it was an error from the arcade mod. I`m looking into this now, thanks.
Quote from: ViV on December 28, 2005, 10:13:36 AM
I have installed the mod and enabled password on two boards in Manage Boards section. But when I enter the password that we have kept for these two boards on the Board Index, it gives an error saying incorrect password. When we try entering it again on the error page, it doesn't accept it. We have tried different browsers- I.E., Opera, Firefox, Netscape... but no help. Any help please.
I have the same problem, when i enter the password for the board on the error page it does nothing and this goes on forever.
Then when i go to the manage boards/modify board the field for the password is filled with dots, alot more then i typed in as a password so in other words it's creating it's own passwords, reseting has no effect.
Any idea why? http://forum.sirfanaticsholland.com/index.php the board DVD's is protected with password.
Thanks
Same here.. It creates 6 fields in the Board Manager and even if I fill in the right password 12 or 20 times it still doesn't work.. :(
Quote from: Byohki on January 04, 2006, 02:17:57 AM
Same here.. It creates 6 fields in the Board Manager and even if I fill in the right password 12 or 20 times it still doesn't work.. :(
It sounds like you applied the mod 5 times too many then. Get fresh copies of the affected files and reapply the mod.
For those who are having problems can you all do a test for me?
Open passwdBoard.template.php:
After
echo '
<div>
Add
';
if (isset($_POST['passwd']) )
{
echo 'Gave password: ', $_POST['passwd'], ' which hashed to <br />' , sha1($GLOBALS['board_info']['name'],$_POST['passwd']) , ' correct hash is <br />', $GLOBALS['board_info']['passwd'], ' but lets make sure its not the fake passwd <br/>', sha1($GLOBALS['board_info']['name'].'#FAKEPASSWORD');
else
echo 'No password Given';
If the second and third hashs are the same let me know because thats what the problem will be.
Does this mod work with RC2?
Quote from: MikeMill on January 04, 2006, 10:00:30 AM
Quote from: Byohki on January 04, 2006, 02:17:57 AM
Same here.. It creates 6 fields in the Board Manager and even if I fill in the right password 12 or 20 times it still doesn't work.. :(
It sounds like you applied the mod 5 times too many then. Get fresh copies of the affected files and reapply the mod.
For those who are having problems can you all do a test for me?
Open passwdBoard.template.php:
After echo '
<div>
Add
';
if (isset($_POST['passwd']) )
{
echo 'Gave password: ', $_POST['passwd'], ' which hashed to <br />' , sha1($GLOBALS['board_info']['name'],$_POST['passwd']) , ' correct hash is <br />', $GLOBALS['board_info']['passwd'], ' but lets make sure its not the fake passwd <br/>', sha1($GLOBALS['board_info']['name'].'#FAKEPASSWORD');
else
echo 'No password Given';
If the second and third hashs are the same let me know because thats what the problem will be.
Will that solve the problem? If so then I'm more then happy to test it out for ya.. :)
No it won't solve anything, but it might let me know why its not working. Also don't worry it won't show the actual password just the result of the hashing that is stored.
Well i tried it and it's still making it's own password ;D
Now what?
Thanks for the help btw
you tell me what the output was from those few lines :)
Quote from: MikeMill on January 04, 2006, 05:52:22 PM
you tell me what the output was from those few lines :)
Don't really know where to look for that output but i looked in the forum log and found plenty of these :D
8: Undefined index: TPortal
File: /home/teamvtec/domains/sirfanaticsholland.com/public_html/forum/Themes/default/passwdBoard.template.php (eval?)
Line: 396
7cb200bf4f179137addde94a225ed779
I'm not giving up just yet ;D
Using the change from above you should get something like:
Gave password: bleh which hashed to <br />
<some 32 character hash> correct hash is
<another 32 character hash> but lets make sure its not the fake passwd
<a third 32 character hash>
I want those lines from the error page
For those of you having problems with this mod:
Do any of the board names contain any type of special characters like ' & " etc?
If so can you try it on a board without those special characters?
Quote from: MikeMill on January 05, 2006, 12:33:43 PM
For those of you having problems with this mod:
Do any of the board names contain any type of special characters like ' & " etc?
If so can you try it on a board without those special characters?
Hehehe, it worked like a charm.... i had a board called DVD's :P
Why is it that the password does'nt work with special characters?
I think i can delete that code what you posted in the previous post?
Big thumbs up for the help ;)
Yeah you can delete the code I provided earlier. The board name is prefixed to the password prior to being hashed, however it does it after the forum does some work to the name to make it safe to put in the database. I need to look to see if the board name after that point is different the board name at the point where it checks the password.
If you all are feeling really helpful you can try it moving one thing for me and seeing if it works with special characters.
In file ManageBoards.php
1.0.5:
Find
$_POST['passwdBoard'] = !empty($_POST['passwdBoard']) ? sha1($_POST['board_name'].$_POST['passwdBoard']) : '';
and moving it above
$_POST['board_name'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['board_name']);
1.1:
Find
if ( $_POST['passwdBoard'] != "#FAKEPASSWORD" )
$boardOptions['passwd'] = !empty($_POST['passwdBoard']) ? sha1($boardOptions['board_name'].$_POST['passwdBoard']) : '';
And move it above
$boardOptions['board_description'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['desc']);
In both cases the code you are moving it above should be right before what you are trying to find. Also in both cases you'll need to go reset your password for the board. Make sure you actually type it out otherwise it won't update.
Gave me the same thing as before... not allowing special characters
ok thanks. I'll see what I can dig up.
Hey,
being new to simple machines forums (which are brilliant, well done!) I have just installed my first mod, being the passward mod by MikeMill.
I have sucessfully installed the mod, but I have been looking around for half an hour now and I cant figure out how to set a password on an individual board! How do I do it?
Thanks!
MJJOS.
If you go to make a new board/forum or to modify an exsisting one you should see it.
Oh yes, thats great now I see it. Thats great thanks Bigguy!
MJJOS
"This modification was tested using SMF 1.1 RC2. It may or may not work with RC1." I guess you wanted to say "This modification was tested using SMF 1.1 RC1. It may or may not work with RC2." In fact it isn't working with RC2. The installer tells there are some errors applying the mod, and asks if you're sure to do it. With RC1 worked fine, the pity is I upgraded to RC2 and now I can downgrade the files, but not the database (external server with only myPHPAdmin and lazy admins). So I have to stick up to RC2. Are you working in a version compliant with this new release?
I`m running RC2 and it works fine for me with no errors at all.
Then, if someone could give me a hand, I'd be grateful. What I do is go to the packages section, browse to this mod, dowload it, and then click on apply mod. And what I get is this:
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 failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.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 Code add_settings.php
8. Extract File ./Sources/passwdBoard.php
9. Extract File ./Themes/default/passwdBoard.template.php
I haven't got any other mod installed, it's a fresh upgrade from RC1 to RC2. What should I do?
Nevermind, I downloaded the right mod from here, not from the Packages option. Running fine now. Thanks. :)
Think you can ever get this mod to work with RC2? We recently upgraded to RC2.
Quote from: Bigguy on January 13, 2006, 04:21:02 PM
I`m running RC2 and it works fine for me with no errors at all.
Ok, sorry, I just don't have time to read this whole topic, so I decided to ask it, but sorry for causing any trouble.
Its no trouble. :)
I have one question about coding. In my site, I have an "admins" group besides the actual administrator user, that have full admin privileges given by the maintenance group. But they can't access password protected boards, as the admin and the moderators do. The question is, how could I check out if an user belongs to the maintenance group? And, if this can't be done, how could I know if an user belongs to an X group number? In this case, the co-admins group is the #9 one.
I know the sentences that check out users' groups are these ones, but I don't know how should I ask the board about the maintenance privileges or about a certain group:// Can they view this board?
if ( !$user_info['is_admin'] && !$user_info['is_mod'] && $board_info['passwd'] && !in_array($board, $_SESSION['board_access']) )
Any idea?
Nevermind, I did it. :D For people interested in doing that, here is the solution, with changes made to sources/Load.php showed between >>> and <<<:
'is_admin' => in_array(1, $user_info['groups']),
>>>'is_coadmin' => in_array(9, $user_info['groups']),<<<
'theme' => empty($user_settings['ID_THEME']) ? 0 : $user_settings['ID_THEME'],
[...]
// Can they view this board?
if ( !$user_info['is_admin'] >>>&& !$user_info['is_coadmin']<<< && !$user_info['is_mod'] && $board_info['passwd'] && !in_array($board, $_SESSION['board_access']) )
This allows group #9 to bypass the password protection. But only usergroup #9. If you know how to do it for all maintenance groups, please let me know.
I have a small question. No big deal really. The other day one of my members was screwing around as a guest to see if he could get any info out of the password protected boards. He found out that if you search for info with the search in smf you will find info from boards that are password protected. Is there anyway to stop ppl from being able to get info from a search. (Hope that makes sense)
The users can read the posts from the Password Protect Board in the 'recent posts'...
yes and also like Cartdestr said is there away to stop it in recent posts to.
my member also said you can read posts from a users profile as well
i downloaded this mod and not works in RC2 ! no update yet?
news? please
I have it installed on my forums. I run smf 1.1 rc2. It runs fine for me.
Mod details
Name: Password Protect Boards
Created By: Thantos
Type: Administrative
First Created: 12-12-2005, 19:39:25
Last Modified: 20-03-2006, 12:56:55
Latest Version: 0.2
Compatible With: 1.0.5, 1.1 RC1 <--- why?
Total Downloads: 2031
I`m not sure why its like that. I do have it running though like I said.
I've installed the mod, it works fine, of course with the leaks mentioned above.
I have a request to make:
can't you do anything about supporting child boards? :-[
or, is there any other mod that can help me password protect an entire category, its forums and child forums? :w00t:
I have an ideea! Is more simple just to set off showing children boards of a board?
For example. i have a board with more children boards that is public, for everyuser/guest to see, there children boards cand be shown in index but i have one more board, that is password protected where i don't want the children boards to see in the indes, only if you enter de password protected board you cand see the children of that board.
Is this possible with just some simple modificationes of some files? ??? ??? ::)
nobody? :'( up
When there will be a following version with the closed holes?
Quote from: LostProphecy on February 15, 2006, 11:08:40 PM
my member also said you can read posts from a users profile as well
Quote from: SAS75 on May 30, 2006, 03:49:22 AM
When there will be a following version with the closed holes?
Yeah ... When would be the next update ? :P
Any update on this?
Quote from: LostProphecy on February 15, 2006, 11:08:40 PM
my member also said you can read posts from a users profile as well
I have this problem too :(
They can view title of post in "Show unread posts since last visit" menu too...
Waiting for the update :P
Is this available for version 1.1 RC2?
Quote from: SurfExcelerator.com on June 29, 2006, 02:51:19 PM
Is this available for version 1.1 RC2?
Next time pls try reading the 1st post before you make any question :)
This post is taken in 1st post of this thread :)
QuoteThis modification was tested using SMF 1.1 RC2. It may or may not work with RC1.
Quote from: Vinspire on July 01, 2006, 10:23:09 AM
Quote from: SurfExcelerator.com on June 29, 2006, 02:51:19 PM
Is this available for version 1.1 RC2?
Next time pls try reading the 1st post before you make any question :)
This post is taken in 1st post of this thread :)
QuoteThis modification was tested using SMF 1.1 RC2. It may or may not work with RC1.
Thanks, but why wasn't the page that has the download updated? It says:
Compatible With: 1.0.5, 1.1 RC1
Quote from: SurfExcelerator.com on July 01, 2006, 11:12:26 AM
Thanks, but why wasn't the page that has the download updated? It says:
Compatible With: 1.0.5, 1.1 RC1
Maybe it is some spelling error. If you really want to verify this ... I think you should try PM the threadstarter about it :)
compatible with 1.0.7 also i just tried it full success and i havent had any problems :D
I just upgraded my site to SMF 1.1 RC3 from RC2
The Password Protect Boards version I had been using successfully (thank you ) for the past number of months no longer works. When I try to install I get the following
Installations actions for "Password Protect Boards":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
6. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
7. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
8. Execute Code add_settings.php
9. Extract File ./Sources/passwdBoard.php
10. Extract File ./Themes/default/passwdBoard.template.php
Is there going to be an updated version available for RC3 ???
Thanks much
Peter
I have tried the manual installation and the problem is that in RC 3 this string doesn't exist:
<search position="before"><![CDATA[
$GLOBALS['sc'] = &$_SESSION['rand_code'];]]></search>
in the Load.php
What is the solution. I need badly this mod.
Hmmmm ... it doesn't exist in the RC3 load.php file ??? or the Password Protect load.php file ???
I know from nothing about this stuff ... but ... was just thinking if its missing from the RC3 file ... maybe we should be asking the question, or pointing out the problem in a different forum???
I am as anxious as you are for a resolution. The "natives" on my site are getting restless :D
Peter
PS ... if you think its in the Password Protect load.php ... I wonder if we can just add it in ourselves someplace???
$GLOBALS['sc'] = &$_SESSION['rand_code'];
Seems to have changed to
$sc = $_SESSION['rand_code'];
in RC3. I have no idea if the mod will actually work if you edit this part of the mod's .xml file though.
Thanks Sverre ... appreciate the added info
But ... I am an admitted idiot when it comes to ANY kind of programming and that includes PHP. :D
So am hopeful maybe someone with a heck more knowledge than me can figure out a fix for me and let me know how to implement it :D
Peter
Quote from: pmhoran on September 28, 2006, 01:04:06 PM
So am hopeful maybe someone with a heck more knowledge than me can figure out a fix for me and let me know how to implement it :D
If the following information is correct:
Quote from: Syndel on September 18, 2006, 04:12:36 PM
I have tried the manual installation and the problem is that in RC 3 this string doesn't exist:
<search position="before"><![CDATA[
$GLOBALS['sc'] = &$_SESSION['rand_code'];]]></search>
in the Load.php
This should be the fix you're looking for:
Quote from: Sverre on September 28, 2006, 12:45:30 PM
$GLOBALS['sc'] = &$_SESSION['rand_code'];
Seems to have changed to
$sc = $_SESSION['rand_code'];
in RC3. I have no idea if the mod will actually work if you edit this part of the mod's .xml file though.
Why don't you try it instead of posting topic after topic about this in the support boards???
EDIT:
You have to edit the MOD's .xml file, NOT Load.php in RC3
Sverre ... I apologize for not fully understanding your original post ... and apparently trying your patience.
When it finally sunk in what you were "attempting" to tell me with your second post ... I just gritted my teeth ... edited the mods install.xml file ... zipped it into a new package. AND IT WORKED.
Most surprisingly ... it worked for me. First time I edited an XML file ... first time I tried to zip something.
Thank you VERY much for your assistance ... from myself & my forum membership.
Again ... if I got on your "wrong side" ... I am sorry.
Peter
I'm glad you got it sorted... and don't worry, you have nothing to be sorry about ;)
Hi have have SMF 1.1 RC3 & TinyPortal v0.9.5
When i go to install the password protect boards mod i get these failures.
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.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 Code add_settings.php
8. Extract File ./Sources/passwdBoard.php
9. Extract File ./Themes/default/passwdBoard.template.php
Can anyone help??? please....
Ps: Fresh install of both smf and tinyportal, no other mods installed.
could you make this mod work with RC3?
It would be greatb to have an update of this. I also have one question, in our forum, we want to be able to have clans who are members at us having private discussions on some password protected boards, so would it be possible to make the password protected forums need passwords from mods, global mods and admins as well? How do we do this if so?
Sverre
Thanks for your tip.
Installed perfectly into RC3
This mod is fixed a bit to work with SMF 1.1RC3
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip (http://mkportal.thevnchannel.com/passwdBoard_0-2.zip)
VNC
I get something even weirder, when I install the mod, I get a double password box in the "Modify Boards" section. When I enable a password, I need to enter it in both boxes otherwise it doesn't work.
Secondly, I get a double password box on each board index and then I need to enter the password twice in order to enter the board.
Third, when I'm trying to uninstall the buggy mod, it uninstalls, but I then I can't access my board index and it only shows
QuoteUnknown column 'b.passwd' in 'field list'
File: /home/content/M/y/c/MyceeAdmin/html/forums/Sources/BoardIndex.php
Line: 82
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.9, whereas your database is at version SMF 1.0.8. It is recommended that you execute the latest version of upgrade.php.
Either, how do I make the mod work or how do I uninstall it?
Thanx
[email protected]
When is this great mod upgraded to SMF 1.1 Final boards?
Quote from: [email protected] on November 04, 2006, 09:58:53 AM
I get something even weirder, when I install the mod, I get a double password box in the "Modify Boards" section. When I enable a password, I need to enter it in both boxes otherwise it doesn't work.
Secondly, I get a double password box on each board index and then I need to enter the password twice in order to enter the board.
Third, when I'm trying to uninstall the buggy mod, it uninstalls, but I then I can't access my board index and it only shows
QuoteUnknown column 'b.passwd' in 'field list'
File: /home/content/M/y/c/MyceeAdmin/html/forums/Sources/BoardIndex.php
Line: 82
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.9, whereas your database is at version SMF 1.0.8. It is recommended that you execute the latest version of upgrade.php.
Either, how do I make the mod work or how do I uninstall it?
Thanx
[email protected]
Sounds like you have double code. You need to check your code installation manually and remove the extra snippets.
Quote from: Lill-Micke on December 07, 2006, 01:29:10 AM
When is this great mod upgraded to SMF 1.1 Final boards?
Our board could use this too. :)
Is this mod not active eny more?
I hoped that it should be updated to SMF 1.1 Final.
I can't update my board until this mod is updated. :(
//Micke
Update please ;D
I am also ancious waiting for the 1.1 final update, but as Thantos writes in his signature, Important Note to Mod Users: I am planning on updating my mods after Dec 16th. we will have to wait for a while.
This Mod is just what i need.
Works on 1.1.1 ;) Thanks! It is great!
Quote from: vnc on October 29, 2006, 05:25:49 PM
This mod is fixed a bit to work with SMF 1.1RC3
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip (http://mkportal.thevnchannel.com/passwdBoard_0-2.zip)
VNC
Thank you VNC! This seems to work perfectly with the latest version ^_^
Thank you for this mod, It has come very handy in my forum
Quote from: the budha2000 on October 14, 2006, 02:41:19 AM
Hi have have SMF 1.1 RC3 & TinyPortal v0.9.5
When i go to install the password protect boards mod i get these failures.
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.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 Code add_settings.php
8. Extract File ./Sources/passwdBoard.php
9. Extract File ./Themes/default/passwdBoard.template.php
Can anyone help??? please....
Ps: Fresh install of both smf and tinyportal, no other mods installed.
I get that too, only I'm using 1.1.1 with TinyPortal.
It would be really great if someone could tell us what we're doing wrong. :)
I'm getting an error when I try installing the mod.
SMF Version: 1.1.1
Installed Mods: http://i23.photobucket.com/albums/b358/drgnfireinferno/mods.jpg (http://i23.photobucket.com/albums/b358/drgnfireinferno/mods.jpg)
the currently uninstalled ones are the ones that are giving me errors.
Error Message:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Quote from: drgnfireinferno on February 09, 2007, 09:15:39 PM
I'm getting an error when I try installing the mod.
SMF Version: 1.1.1
Installed Mods: http://i23.photobucket.com/albums/b358/drgnfireinferno/mods.jpg (http://i23.photobucket.com/albums/b358/drgnfireinferno/mods.jpg)
the currently uninstalled ones are the ones that are giving me errors.
Error Message:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
it's not written for 1.1.1
Will this mod be updated for 1.1.2?
I have been looking for a compatible mod like this for some time for the recent versions of SMF.
Yes would be great if we could work with this mod for latest forums like 1.1.2. :P
Yes, i am also hoping for an update of this mod to work with 1.1.2
Thank you Thantos for your excellent mod and thank you VNC for the fix.
Invaluable stuff. Much appreciated.
So, are you going to update this mod for SMF 1.1.2?
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip
Works with 1.1.RC3 and 1.1.2
Quote from: Digger on March 26, 2007, 10:32:56 PM
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip
Works with 1.1.RC3 and 1.1.2
Are u sure, I mean could a mod from another site be installed in SMF?
Quote from: babjusi on March 26, 2007, 10:37:09 PM
Are u sure, I mean could a mod from another site be installed in SMF?
I tested it on 1.1.2
It looks like working :)
Quote from: Digger on March 26, 2007, 10:41:32 PM
Quote from: babjusi on March 26, 2007, 10:37:09 PM
Are u sure, I mean could a mod from another site be installed in SMF?
I tested it on 1.1.2
It looks like working :)
I guess it''s ok then, although myself, I wouldn''t install any mod at all which doesn''t come from here and has not been tested and approved by the guys here
Quote from: babjusi on March 26, 2007, 10:47:15 PM
I guess it''s ok then, although myself, I wouldn''t install any mod at all which doesn''t come from here and has not been tested and approved by the guys here
It works not so good. :(
There are many ways to read messages from protected board for anauthorized users.
it works very well
thanks
awesome..thanks for the update on this mod
Quote from: Digger on March 28, 2007, 10:51:54 PM
Quote from: babjusi on March 26, 2007, 10:47:15 PM
I guess it''s ok then, although myself, I wouldn''t install any mod at all which doesn''t come from here and has not been tested and approved by the guys here
It works not so good. :(
There are many ways to read messages from protected board for anauthorized users.
that doesnt sound like it's doing what it's supposed to :(
will there be an official update of this mod for 1.1.2?
I am no longer able to keep my mods up to date since I'd rather spend the time I have on developing SMF. As such the following mods are up for the taking. I give my permission to update and/or modify and restribute under your name this mod. All I request is that you let the Customization Team know if / when you post a new version of the mod so that they can remove my version. thanks.
thanks fur the update thantos, if anyone could update this mod for 1.1.2, it would be really cool
Hi all.
I installed the mod on Ver 1.1.2
Got an error with "BoardIndex.template.php".
OK, I thought, mayne no problem :D
I made a backup of this file and installed a fresh one from the install package of 1.1.2.
All was OK then. Fine install and fine mod.
Then I compared the 2 files and copied the new text to my old template.
Voila !
Working 8) 8) 8)
Hmmmm, found a little bug :'( :'( :'(
When you protect a board, the child boards are not protected.
You can go with a direct link into the boards.
Or you protect the child boards, too.
But then you have to give a password for the board and then a password for the child board.
Quote from: JungleBunny on April 20, 2007, 02:35:40 PM
Hmmmm, found a little bug :'( :'( :'(
When you protect a board, the child boards are not protected.
You can go with a direct link into the boards.
Or you protect the child boards, too.
But then you have to give a password for the board and then a password for the child board.
it says in the first post that this mod does not protect the child boards
humm..
the temporary fix for 1.1.2 that was posted earlier no longer exists.. can anyone provide me a copy if they have it?
Hi Nolefan,
uploaded it on rapidshare.com :D :D
http://rapidshare.com/files/28029460/passwdBoard_0-2gehtmit112.zip
JungleBunny
Just installed and tested on my board and it works perfectly.
Here's another mirror too: http://audiohosting.org/smf/passwordboard-smf112.zip
Quote from: peterstannard on April 26, 2007, 10:59:53 AM
Just installed and tested on my board and it works perfectly.
Here's another mirror too: http://audiohosting.org/smf/passwordboard-smf112.zip
It may work but I would caution not to download and use any kind of mod which isn''t downloaded from this site and what''s more important hasn''t been tested by the guys here. Anyway this is a personal opionion and a friendly suggestion
It works so i'm happy.
thanks guys.. got it!
Quote from: Drakhart on January 13, 2006, 06:17:28 PM
Then, if someone could give me a hand, I'd be grateful. What I do is go to the packages section, browse to this mod, dowload it, and then click on apply mod. And what I get is this:
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 failed
2. Execute Modification ./Sources/BoardIndex.php Test failed
3. Execute Modification ./Sources/ManageBoards.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.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 Code add_settings.php
8. Extract File ./Sources/passwdBoard.php
9. Extract File ./Themes/default/passwdBoard.template.php
im having the same problems... can someone tell me what I need to do to the make modifications manually? Not how to ... just what needs to be added/removed/replaced.
i downloaded a pack from some other site and it worked..
man.. I just can't figure out what's wrong with this add-on.
I uploadit to the server, install it and all is good. However, when I go to a board's page to try and set a password, I don't see all the options I should see. I just see a small box where I guess the password needs to go. I put it in and bingo. the board is passowrd protected but any attempt to enter it results in an error.
just weird
What is the exact error that you get nolefan? What version of smf are you using?
I'm using 1.1.2 right now.
the error log shows the following:
8: Undefined index: passwdBoard1
File: /home/raoul/public_html/Themes/default/ManageBoards.template.php (eval?)
Line: 412
8: Undefined index: passwdBoard2
File: /home/raoul/public_html/Themes/default/ManageBoards.template.php (eval?)
Line: 413
Anyone at all ?
The install goes just fine and it passes all the tests... I've removed and reinstalled the mod so many times but to no avail...
thanks guys...
Quote from: nolefan on May 29, 2007, 12:31:35 PM
Anyone at all ?
The install goes just fine and it passes all the tests... I've removed and reinstalled the mod so many times but to no avail...
thanks guys...
I think that this mod isn''t supported or ugraded anymore. If you read through the posts a couple of pages before someone has attached a password mod from another site that works fine with smf 1.1.2, but I have to caution you that if you want to use that, do so at your own risk. I just tested that mod in my test forum and it worked fine, but personally I would advise anyone against installing mods that aren''t downloaded from this very site.
I've installed the updated one for 1.1.2 that was linked to a few posts earlier. It seems to install just fine and then it starts returning errors when I try to access the password protected board
Then I should suggest to uninstall it. There are some other mods which can be used to keep a certain group of members away from a certain board, not by setting a requirement to enter a password like this mod does, but by checking the permissions.
By the way, when you installed that mod first, did it gave you any error message or none?
the install itself was fine! I only noticed the error when I checked the error log.
then, after i set-up one of the boards with a password, I went to enter said password . Once I did that, I just landed in a page with a box to enter the password and an error message
Then I would repeat my earlier suggestion to you, uninstall it, don''t use it
layout broken when i use with joomla-smf
any suggestion?
I wish this would become a default feature...
Quote from: ExistenZ on July 09, 2007, 04:01:38 PM
I wish this would become a default feature...
That would be indeed great
Quote from: babjusi on July 09, 2007, 04:18:57 PM
Quote from: ExistenZ on July 09, 2007, 04:01:38 PM
I wish this would become a default feature...
That would be indeed great
Personally I think this would be a very 'bloat' feature to have. Why? Because there is already a much more convenient and secure way to handle board access. Passwords get leaked easily and you can set up group access without nagging the user to type in a password once per login session. Maybe it is a 'fun' thing to have for some, but I think this would definitely be better as a mod.
The only thing is that I don't want 10 000 usergroups to allow different people access to different places.
That is why passwords are a nice thing to have.
And you are probably right - they are a nice-to-have, but it would be so much nicer if it were default. Or, at least, the mod was updated regularly.
Quote from: ExistenZ on July 09, 2007, 04:01:38 PM
I wish this would become a default feature...
I agree 1000%. This would save the hassle of dealing with upgrades and loosing functionality.
I actually switched forums from "Vanilla" to "SMF" just a few months back and this mod was one of the elements that swang the balance, alas.. when it was time to use it. it was incompatible. I ended up having to create so many different user profiles just to do what this mod could have allowed.
The mod doesn't work on my forum.
The boards can still be accessed. =|
Quote from: LunaGirl on July 15, 2007, 10:39:59 AM
The mod doesn't work on my forum.
The boards can still be accessed. =|
Hey Luna,
the mod is currently not supported! here's to hoping that someone with better coding skills than myself picks it up and updates it.
Thanks for informing me. I downloaded from the other site instead. Thanks!
working on 1.1.3 ?
So is the current version not working? Because it's displaying an error message for me.
http://custom.simplemachines.org/mods/index.php?mod=237 (http://custom.simplemachines.org/mods/index.php?mod=237)
This mod hasn´t been updated for almost a year now.
Yes, it should be updated because I really want to use it.
I have it installed. It will work with a small tweak to the package-info.xml file.
Quote from: Bigguy on July 26, 2007, 12:46:29 PM
I have it installed. It will work with a small tweak to the package-info.xml file.
Can you share the tweaks? I looked at the file and was having trouble. Of course I'm not a programmer no matter how you define it...
Hi all,
Could this mod be available with the 1.1.3 version?
You can use it on newer SMF versions at your own risk by using version emulate:
Put ;emulate_version=1.1 RC2 at the end of the Package Manager URL
Quote from: TrueSatan on August 08, 2007, 05:07:01 PM
You can use it on newer SMF versions at your own risk by using version emulate:
Put ;emulate_version=1.1 RC2 at the end of the Package Manager URL
With this suggestion, if something goes wrong. How would you manually undo the Mod Add without screwing up the files that it edited?
I just found that if you do not set the board permissions right, any member can see the posts in password protected boards simply by clicking 'View the most recent posts on the forum' link.
Any way to bypass this?
Thanks.
It doesn't work with mine. It says something about corrupted file.
Any ideas how to fix this?
Well, i downloaded the 0.2 version. Wich version did you use? It works fine with me. All pretty and such, but any user can access the posts simply by clicking the options to view recent posts. So, or didn't install it correctly in my theme or there's a major security flaw in this mod.
Quote from: pintas on August 20, 2007, 04:22:47 PM
Well, i downloaded the 0.2 version. Wich version did you use? It works fine with me. All pretty and such, but any user can access the posts simply by clicking the options to view recent posts. So, or didn't install it correctly in my theme or there's a major security flaw in this mod.
I used the 0.2 version as well. I don't know what I'm doing wrong.
Download it here:
http://mkportal.thevnchannel.com/passwdBoard_0-2.zip
In Themes/[YOUR THEME]/languages/Modifications.english.php
add this to the end of the file:
$txt['passwdBoard1'] = "Password for this board";
$txt['passwdBoard2'] = "Leave blank for no password";
$txt['passwdBoard3'] = "Please enter the board password: ";
$txt['passwdBoard4'] = "Enter Board";
$txt['passwdBoard5'] = "This board is password protected and you have not provided the correct password during this session";
$txt['passwdBoard6'] = "Board Unlocked";
In Themes/[YOUR THEME]/BoardIndex.template.php
find:
// Show some basic information about the number of posts, etc.
add before:
if ( !$context['user']['is_admin'] && !$context['user']['is_mod'] && !isset($board['moderators'][$context['user']['id']]) && $board['passwd'] && !in_array($board['id'], $_SESSION['board_access']) )
echo '<br/>
', $txt['passwdBoard3'], '
<form style="display:inline" action="', $board['href'], '" method="post">
<input type="password" name="passwd" />
<input type="submit" value="', $txt['passwdBoard4'], '" />
</form>';
else if ( $board['passwd'] )
echo '<img src="', $settings['images_url'], '/icons/quick_lock.gif" style="vertical-align:bottom" title="', $txt['passwdBoard6'], '" />';
Install the mod, and you should have the option to pasword protect boards.
However, don't forget to check that error i mentioned.
This mod needs a TOTAL UPDATE, I mean it should be able to do the following:
- Protect Child Board
- Work with current version of SMF
I know you can use member groups and such but that is just a HASSLE. So what if passwords are leaked THEY CAN BE CHANGED :D WOW.
Some ppl would LOVE this ability.
is this going to be made available for 1.1.3?
can we make mods non exempt so that only admin can access the boards without a password?
do the topics show up in the statistics and the recent posts??
Doesn't work on smf 1.1.3 :'( :'(
Please Thantos update to smf 1.1.3 :'(
i agree with these crying people ;)
Please update the mod
An update of this mod is made by Dragoon, but I think it is still waiting approval
So when will be finish compatible version with smf 1.1.3
Quote from: kamili34 on September 20, 2007, 01:32:11 PM
So when will be finish compatible version with smf 1.1.3
It depends when it will get approved
1.1.3 Version is out :).
See http://www.simplemachines.org/community/index.php?topic=195938.0
Quote from: Dragooon on September 21, 2007, 11:38:02 AM
1.1.3 Version is out :).
See http://www.simplemachines.org/community/index.php?topic=195938.0
This will make a lot of people happy
Will the 1.1.3 version work in SMF 1.1.4?
Please see http://custom.simplemachines.org/mods/index.php?mod=922 (http://custom.simplemachines.org/mods/index.php?mod=922) That is the latest version of this mod and it has its own support topic on this board.