General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- Registered User
- Posts: 1
- Joined: Wed Nov 23, 2016 1:27 pm
I created a simple blog CMS and after some time I really didn't see the point of having a user database + creating the whole security from scratch for the blog since I'm using phpBB.
What I want is for the forum administrators to have acces to the blog admin panel.
I read some (old) phpBB topics and what I ended up with is basically this:
Code: Select all
$phpbb_root_path = $_SERVER['DOCUMENT_ROOT'];
$phpbb_root_path .= '/forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
Check the user privilege:
Code: Select all
<?php if ($auth->acl_gets('a_')): ?>
My question is, is this enough or even recommended ?
: Oh, I'm sorry, my bad.
Last edited by Gherom
on Wed Nov 23, 2016 3:40 pm, edited 2 times in total.
- Front-End Dev Team Lead
- Posts: 905
- Joined: Sat Dec 25, 2010 9:02 pm
This is the development forums for the project. Topics posted here are meant for to further progression and development of the project itself. I think you may want to ask your question in the support forums on phpbb.com
Donations welcome via Paypal