Topic Restriction

Topic restriction permission enabled by default - Topic Restriction

Topic restriction permission enabled by default

by Mauron » Sat Aug 20, 2016 8:37 am

I like the extension but it was a real pain to change it to Yes for all the non default roles I created.
Would you mind to set it as Yes by default for all existing groups, Rich?
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: Topic restriction permission enabled by default

by RMcGirr83 » Sun Aug 21, 2016 11:05 am

It is a forum based permission, not a user based permission and all regular roles (not groups, but rather group forum roles) in the forum are already set to yes.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Topic restriction permission enabled by default

by Mauron » Sun Aug 21, 2016 11:20 pm

Not in my case: I had to switch it to Yes for forum roles I created.
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: Topic restriction permission enabled by default

by RMcGirr83 » Mon Aug 22, 2016 9:06 am

Mauron wrote:Not in my case: I had to switch it to Yes for forum roles I created.


Well of course, there is no way for the system to know what custom roles you have made.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re:

by Mauron » Mon Aug 22, 2016 1:21 pm

Well, can't it be Yes by default for every role so it doesn't interfere with actual board working the moment it gets activated?
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: Topic restriction permission enabled by default

by RMcGirr83 » Mon Aug 22, 2016 1:52 pm

Try:

uninstall the extension and delete the data. Find this line in the migrations\v_100.php file

array('permission.add', array('f_topic_view', false)),

and change it to this

array('permission.add', array('f_topic_view')),

re-enable the extension in the ACP.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Topic restriction permission enabled by default

by Mauron » Fri Aug 26, 2016 5:10 pm

I'm sorry but when I opened this thread I already enabled manually the permission where needed; moreover, I installed it on a live board so I could not test that anyway.

Yes, I know you'd like the reports to get way earlier but unfortunately I'm not using my test board anymore.
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: Topic restriction permission enabled by default

by RMcGirr83 » Sat Aug 27, 2016 9:05 am

Then there is nothing left for me to do.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Topic restriction permission enabled by default

by Fast_Eddie » Sat Sep 03, 2016 1:22 pm

Wonder if this extension would work with auto-groups? Will try it out when I get home! :)
User avatar
Fast_Eddie
Registered User
Posts: 260
Joined: Tue Jun 09, 2015 8:32 pm
Name: Ed

Re: Topic restriction permission enabled by default

by USMCmatt » Sun Sep 25, 2016 8:59 pm

Is there a way to make it to where the topic titles aren't viewable either, so the forum itself says you aren't authorized?
USMCmatt
Registered User
Posts: 5
Joined: Sun Sep 25, 2016 8:06 pm

Re: Topic restriction permission enabled by default

by RMcGirr83 » Mon Nov 28, 2016 3:56 pm

That is already part of phpBB. You just don't give them the ability to view the forum.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Topic restriction permission enabled by default

by genshijin » Fri Aug 28, 2020 1:57 pm

You do not have access to the topics in this forum. Please login to view the posts.


As soon as I enabled this extension it forbid viewing of topics for all guests in every board by default. If it is permission based it should not do anything until the permission is set.
Admin has to go through every board permission to change it rather than setting the permission for the boards it is intended for.
genshijin
Registered User
Posts: 128
Joined: Fri Nov 09, 2018 2:03 pm
Location: Uk and sometimes Japan
Name: andy duggan

Re: Topic restriction permission enabled by default

by RMcGirr83 » Sat Aug 29, 2020 2:07 am

Actually no, the extension doesn't default to no. One has to actually set the permission.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22092
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr