No Permissions to view portal in ACP after update to 3.1.7-
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
- Active Member
- Posts: 2
- Joined: 29. January 2016 15:08
- phpBB.de User: marian0810
- phpBB.com User: marian0810
- Location: The Netherlands
- Contact:
Re: No Permissions to view portal in ACP after update to 3.
A refresh solved the problem, thanks
“We’re all stories, in the end. Just make it a good one, eh?”
Re: No Permissions to view portal in ACP after update to 3.
Kirk,Kirk wrote:Thanks for the solution
You can insert it so:Code: Select all
static public function getSubscribedEvents() { return array( 'core.user_setup' => 'load_portal_language', 'core.viewonline_overwrite_location' => 'viewonline_page', 'core.page_header' => 'add_portal_link', 'core.permissions' => 'permission', ); } /** * Load permission event */ public function permission($event) { $permissions = $event['permissions']; $permissions += array( 'u_view_portal' => array( 'lang' => 'ACL_U_VIEW_PORTAL', 'cat' => 'misc' ), 'a_manage_portal' => array( 'lang' =>'ACL_A_MANAGE_PORTAL', 'cat' => 'misc' ), ); $event['permissions'] = $permissions; }
Thanks for adding the cleaner coding, As you can tell I am not a coder so my apologies on the dirty code but you can't argue with success and it did fix it.
Tmod
Re: No Permissions to view portal in ACP after update to 3.
Whether it's a bug in phpBB or at the portal I can not answer.
Gruß Udo
Re: No Permissions to view portal in ACP after update to 3.
Yeah I posted over on the phpbb board and they gave me the boot and told me to contact the extension author, Strange since it did not have any issues until the 3.1.7 update.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: No Permissions to view portal in ACP after update to 3.
This was already solved in the current development version a while back and will make its way into the next version of Board3 Portal:
https://github.com/board3/Board3-Portal/pull/650
https://github.com/board3/Board3-Portal/pull/650
-
- Active Member
- Posts: 5
- Joined: 26. June 2016 17:05
- phpBB.com User: Austeyr
- Location: Australia
- Contact:
Re: No Permissions to view portal in ACP after update to 3.
This work around really helped guys cheers. Thought i was going nuts when i got on a test account and saw portal had disappeared.
Oxaus Notice: Consider checking out & Registering at Oxaus.com Community forum.
My Favourite Quote
“ The only thing necessary for the triumph of evil is for good men to do nothing.” ~Edmund Burke
My Favourite Quote
“ The only thing necessary for the triumph of evil is for good men to do nothing.” ~Edmund Burke