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.
No Permissions to view portal in ACP after update to 3.1.7-
EDIT: Just realised it's the update to 3.1.7-pl1 that's caused the permission problem and removed the "Can view the Portal" option in permissions.
Your Portal Version: 2.1.0
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://phpbbmods.co.uk/
Description and Message
Hi
The setting "Can view the Portal" is missing for all groups and NRU and Registered users cannot see the portal. Admins, global mods, guests can see the portal.
I've installed on localhost to test and the same setting is missing there for all groups aswell
http://s19.postimg.org/jncwnodoz/pic.png
User: test
Pass: test123
I've uninstalled and reinstalled with no joy.
Thanks
Update: When a user gets removed from the NRU group and they're only in the Registered user group that's when they can't see the portal - If I leave them in the NRU then they can see the portal.
EDIT: Just realised it's the update to 3.1.7-pl1 that's caused the permission problem and removed the "Can view the Portal" option in permissions.
Your Portal Version: 2.1.0
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://phpbbmods.co.uk/
Description and Message
Hi
The setting "Can view the Portal" is missing for all groups and NRU and Registered users cannot see the portal. Admins, global mods, guests can see the portal.
I've installed on localhost to test and the same setting is missing there for all groups aswell
http://s19.postimg.org/jncwnodoz/pic.png
User: test
Pass: test123
I've uninstalled and reinstalled with no joy.
Thanks
Update: When a user gets removed from the NRU group and they're only in the Registered user group that's when they can't see the portal - If I leave them in the NRU then they can see the portal.
EDIT: Just realised it's the update to 3.1.7-pl1 that's caused the permission problem and removed the "Can view the Portal" option in permissions.
Last edited by ShocK on 20. January 2016 14:37, edited 1 time in total.
Re: No Permissions to view portal in ACP
Anyone else noticed this permission problem with 3.1.7-pl1 ?
Re: No Permissions to view portal in ACP
yep its done the same for me. just checked it with my local install which i havn't updated and the option is there but on the newest phpbb the option is not there.
Creating board3 website? check the sites out below for board3 compatible extensions
Talonos: Pretereo stormrage EU OFFLINE!
Talonos: Pretereo stormrage EU OFFLINE!
Re: No Permissions to view portal in ACP
I have the same problem. No access rights settings.
Re: No Permissions to view portal in ACP
Me too - No Permissions to view portal in ACP
-
- Sponsor
- Posts: 134
- Joined: 30. November 2009 16:11
- phpBB.de User: Scanialady
- phpBB.com User: Scanialady
- Contact:
Re: No Permissions to view portal in ACP
May be it is caused by this bug https://tracker.phpbb.com/browse/PHPBB3-14407
sorry for my bad english - I'm german and google is my friend
Re: No Permissions to view portal in ACP
Any updates as to what exactly caused this issue?
Terry
Terry
Re: No Permissions to view portal in ACP
Just checked into this further and this was my solution to registered users not being able to see the portal. Admins and Guests could always see it but when a registered user logged in then it dis-appeared.
ACP > Users And Groups > Group Permissions > Registered Users > Hit submit > Role= Standard Features > Apply Permissions
Now they should be able to see the portal, Worked for me so hopefully it works for others that have this issue.
Terry
ACP > Users And Groups > Group Permissions > Registered Users > Hit submit > Role= Standard Features > Apply Permissions
Now they should be able to see the portal, Worked for me so hopefully it works for others that have this issue.
Terry
Re: No Permissions to view portal in ACP
Thank youTmod wrote:Just checked into this further and this was my solution to registered users not being able to see the portal. Admins and Guests could always see it but when a registered user logged in then it dis-appeared.
ACP > Users And Groups > Group Permissions > Registered Users > Hit submit > Role= Standard Features > Apply Permissions
Now they should be able to see the portal, Worked for me so hopefully it works for others that have this issue.
Terry
Re: No Permissions to view portal in ACP
Nicely figured out This workaround works for me too.Tmod wrote:Worked for me so hopefully it works for others that have this issue.
Re: No Permissions to view portal in ACP after update to 3.
Ok I installed a vanilla version of 3.1.6 and a vanilla version of 3.1.7 pl1 and installed board3 portal on both and the option in the ACP misc tab on 3.1.7 pl1 is missing compared to 3.1.6. I have installed 3.1.7 pl1 a total of three times and the same result each time.
phpBB 3.1.6
phpBB 3.1.7 pl1
So the issue does exist, Now the question is why?
Tmod
phpBB 3.1.6
phpBB 3.1.7 pl1
So the issue does exist, Now the question is why?
Tmod
Re: No Permissions to view portal in ACP after update to 3.
Ok found the file and code that was causing the issue for me. includes/acp/auth.php. When I commented out the code below the "Can view the portal" option returned in 3.1.7 pl1. Checking the same file in 3.1.6 it does not have the same code listed below.
This was after multiple clean vanilla installs of 3.1.7 pl1 and just adding Board3 Portal so I know it was not any mod that caused this issue.
Pre comment out includes/acp/auth.php
Post comment out includes/acp/auth.php
Code: Select all
if (!$phpbb_permissions->permission_defined($permission))
{
continue;
}
Pre comment out includes/acp/auth.php
Post comment out includes/acp/auth.php
Re: No Permissions to view portal in ACP after update to 3.
Ok update time.
I was checking into this issue and here is my resolution without modifying any core phpbb files.
You will have to edit the listener.php file located at ext/board3/portal/events/listener.php
Open listener.php and find the following located near the top:
Now replace that entire code with the following code:
Now save and exit and upload to your site or if you edited in the ftp program you should be good.
Refresh the site and you will now be able to view the option in the ACP misc tab to either Yes/No/Never view the portal for all the groups. You will also have the ability in the admin permissions misc tab to Yes/No/Never altering the portal settings.
I was checking into this issue and here is my resolution without modifying any core phpbb files.
You will have to edit the listener.php file located at ext/board3/portal/events/listener.php
Open listener.php and find the following located near the top:
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',
);
}
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' => 'add_permission',
);
}
/**
* Load permission event
*/
public function add_permission($event)
{
$permissions = $event['permissions'];
$permissions['u_view_portal'] = array('lang' => 'ACL_U_VIEW_PORTAL', 'cat' => 'misc');
$permissions['a_manage_portal'] = array('lang' => 'ACL_A_MANAGE_PORTAL', 'cat' => 'misc');
$event['permissions'] = $permissions;
}
Refresh the site and you will now be able to view the option in the ACP misc tab to either Yes/No/Never view the portal for all the groups. You will also have the ability in the admin permissions misc tab to Yes/No/Never altering the portal settings.
-
- 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.
That works for me, however the portal settings are still not showing up for me on the Extensions tab in my ACP
“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.
Thanks for the solution
You can insert it so:
@marian0810:
Have you the permission "Can alter Portal settings"?
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;
}
Have you the permission "Can alter Portal settings"?
Gruß Udo