phpBB Digests

digest sends out threads in password protected forums - phpBB Digests

digest sends out threads in password protected forums

Postby QuiltingChaos » Sun Jul 31, 2011 7:55 am

Hi. We (actually, our group's admin) just installed your mod for digests. We are testing it and we have several forums that are password protected. The digest sends out threads/posts from all the password protected forums to anybody.

One of our password protected forums is only visible to a certain user-defined groups and all of the members in that group have the password, so, that is not such a big deal. Since those forums do not show up in the check lists for other people the threads don't get sent.

I was hoping to avoid creating a new group each time we have a password protected forum.

The digest feature is the one mod that people in our group are really clamoring for so I hope there's a way to fix this...

I am going to shut off the digest until we have a solution.

Thanks,
Margie
QuiltingChaos
Registered User
 
Posts: 13
Joined: Fri May 13, 2011 8:38 pm

Re: digest sends out threads in password protected forums

Postby MarkDHamill » Sun Jul 31, 2011 1:31 pm

Users must have read permissions for a particular forum in order to get posts and topics in that forum in the digest. I don't believe password protected forums is a feature of phpBB. If I overlooked this please let me know.
Get the latest versions of my Digests and Smartfeed mods.
MarkDHamill
Registered User
 
Posts: 2117
Joined: Fri Aug 02, 2002 12:36 am
Location: Oak Hill, Virginia USA

Re: digest sends out threads in password protected forums

Postby QuiltingChaos » Sun Jul 31, 2011 3:36 pm

There is a password option for forums - it says that permissions are the preferred way to go, though.

Here's the screenshot. Near the bottom it says, "forum password"
Attachments
Fullscreen capture 7312011 81309 AM.jpg
QuiltingChaos
Registered User
 
Posts: 13
Joined: Fri May 13, 2011 8:38 pm

Re: digest sends out threads in password protected forums

Postby MarkDHamill » Sun Jul 31, 2011 3:43 pm

Thanks. It's a feature that I suspect is not widely used but digests should support it. It's not an easy thing to do, however, because the User Control Panel interface would potentially need a field next to every forum for the password that would be used to read the forum, and the password would need to be stored and probably encrypted in the phpbb_users table as well. Strange no one has complained about this until now. I'll consider it for a future version. It may be simpler at least in the short term to add a security constraint that does not allow digests for password protected forums.
Get the latest versions of my Digests and Smartfeed mods.
MarkDHamill
Registered User
 
Posts: 2117
Joined: Fri Aug 02, 2002 12:36 am
Location: Oak Hill, Virginia USA

Re: digest sends out threads in password protected forums

Postby QuiltingChaos » Sun Jul 31, 2011 4:42 pm

Well, your short term solution would work very well for me. I don't have many password protected forums, and I'm happy to tell them to choose between digest and password. In the mean time, I will deal with the group and permission structure...
Thanks!
QuiltingChaos
Registered User
 
Posts: 13
Joined: Fri May 13, 2011 8:38 pm

Re: digest sends out threads in password protected forums

Postby MarkDHamill » Mon Aug 01, 2011 1:21 am

Based on my testing, posts in password protected forums do not show up in the digest. I'm not entirely sure why it doesn't, but I assume phpBB's acl_raw_data_single_user function is handling it.
Get the latest versions of my Digests and Smartfeed mods.
MarkDHamill
Registered User
 
Posts: 2117
Joined: Fri Aug 02, 2002 12:36 am
Location: Oak Hill, Virginia USA

Re: digest sends out threads in password protected forums

Postby QuiltingChaos » Mon Aug 01, 2011 4:06 am

I haven't done any of the work for the mod. So I don't know anything about the function that is handling it. I just set things on the forums and test them.

I have one forum that is both password protected and only has a few members with permission. That forum shows up in the digests for members w/permission.

I have another forum that is password protected but all members have permission. It shows up in the digest is well.

I will have the guy who is our admin read this and see if he can add anything to the discussion.

Thanks.
QuiltingChaos
Registered User
 
Posts: 13
Joined: Fri May 13, 2011 8:38 pm