Page 1 of 2

[ABD] Topic Password Protection

Posted: Wed Aug 25, 2010 12:32 am
by 4_seven
Topic Password Protection

MOD-Title: Topic Password Protection
MOD-Version: none yet
MOD-Author: barrycarlyon (Basic Mod)
MOD-Author: 4seven (Fixes / Advanced / Further Developement)

Request by: asylem
Request-Thread: http://www.phpbb.com/community/viewtopi ... &t=2101396

License: GNU General Public License v2a

Note: Based on "Topic Password" by barrycarlyon i develope this time a fixed and clean version of this mod, bcs. original mod seems to be [abd]

MOD-Description: This Mod adds password protected topics to your board

Features:
- Topic password set by topic starter
- Admins and given moderators have full access

Feel free to post suggestions....

DEV Process: 60%

phpBB-Version: phpBB 3.0.x
phpBB-Languages: multilingual
phpBB-Styles: all Styles, that are based on prosilver, subsilver2

Demo: follows

Screen: follows

Download: follows

Image follows

Image follows

Re: [DEV] Topic Password Protection

Posted: Sat Dec 25, 2010 9:17 pm
by Tommeline
Hello and merry christmas :)

Is this mod still in developement? Since the post is from august, I started to wonder.

Re: [DEV] Topic Password Protection

Posted: Sat Dec 25, 2010 9:30 pm
by 4_seven
this is in re-dev and new version comes out till ~spring

Re: [DEV] Topic Password Protection

Posted: Mon Dec 27, 2010 11:48 am
by e-mo
hi there...

this is a nice mod! I was looking for such a mod for a long time.
will you also consider the password to be stored somewhere in the ACP, so Admins always can retrieve the password, in case a member should have forgotton it somehow?

how about these features:
- password protection for a thread/topic (all users have to enter the password, accept for admins and mods and topic starter)
- password protection with acception list (topic starter can specify who is able to read without typing the password, the rest need to know the password, accept for admins, mods)


I think this is all I could come up with for now...

cheers,

e-mo

Re: [DEV] Topic Password Protection

Posted: Mon Jun 06, 2011 8:58 pm
by Jessica
are you still working on this? I can see this as being a really good mod

Re: [DEV] Topic Password Protection

Posted: Mon Jun 06, 2011 9:05 pm
by 4_seven
It's on the top of To-Do-List right after..

..update this
..and release this
[DEV] jQuery [attachment] Upload *
http://www.phpbb.com/community/viewtopi ... &t=2101263
* Sister Mod of
[DEV] jQuery [img] Upload
http://www.phpbb.com/community/viewtopi ... &t=2125180

Re: [DEV] Topic Password Protection

Posted: Mon Jun 06, 2011 10:12 pm
by Jessica
okay good

Re: [DEV] Topic Password Protection

Posted: Sat Jul 23, 2011 4:49 pm
by Jessica
just wondering, when will this be worked on again?

Re: [DEV] Topic Password Protection

Posted: Sat Jul 23, 2011 7:56 pm
by 4_seven

Re: [DEV] Topic Password Protection

Posted: Mon Sep 05, 2011 6:54 pm
by mykee
I need this mod, my first priority, because my users can open only password based topics now with older version. No any mod like this, and I need use older version while no release this.
Please update and publish your mod if ready for release. And I hope, I can update to this from older version. :roll:

Thanks and wait update!

Re: [DEV] Topic Password Protection

Posted: Mon Sep 05, 2011 7:00 pm
by 4_seven
some of the next projects, but don't know, when i find time the next weeks/months.

old, unfixed version is here: https://rs717dt.rapidshare.com/#!downlo ... AD11C9|0|0

Re: [DEV] Topic Password Protection

Posted: Mon Sep 05, 2011 9:04 pm
by mykee
Thanks for link, and wait your version. Please check in your version UTF-8 compatible in Posting.php, because not working any words without this!

In old code need change in posting.php:
Find this:

Code: Select all

$post_data['topic_password']		= request_var('topic_password', '');
Replace with:

Code: Select all

$post_data['topic_password']		= utf8_normalize_nfc(request_var('topic_password', '', true));

And here is a second fix for admin and moderator edit in passworded topics:
In posting.php
Find this:

Code: Select all

    //as for forum do the topic
    if (($mode == 'edit')&&($post_data['topic_password']))
Replace with:

Code: Select all

   //as for forum do the topic
if ((($mode == 'edit')&&($post_data['topic_password']))&&!($auth->acl_get('a_') || $auth->acl_getf_global('m_')))

Re: [DEV] Topic Password Protection

Posted: Mon Sep 05, 2011 9:11 pm
by 4_seven
Thx. I have a fixed version, but unfortunately less time these weeks to test it out a longer time on live-board + rebuild ModX .
First Post wrote:MOD-Author: 4seven (Fixes / Advanced / Further Developement)
Stay tuned and take meanwhile the fixes from [abd] dev topic.

Re: [DEV] Topic Password Protection

Posted: Tue Sep 06, 2011 7:06 am
by mykee
Can you help me in a little problem? I updated my forum to 3.0.9, and installed old topic password mod, but I cannot open any topic with password. Redirect to index page. What's my problem? What I need modify for correct login under 3.0.9?

Re: [DEV] Topic Password Protection

Posted: Tue Sep 06, 2011 1:13 pm
by 4_seven
you should not use this mod, until a fixed and well tested version is released.