How do you a external panel admin phpbb3?

Discussion forum for MOD Writers regarding MOD Development.
CorniI
Registered User
Posts: 38
Joined: Tue Apr 03, 2007 1:45 pm
Location: Germany

Re: How do you a external panel admin phpbb3?

Post by CorniI »

why don't you just create own acp modules as needed?
Just either look at the wiki (there's a sample acp page) or @how phpbb does it, so you basically have own tabs in the ACP you already have, and then, you can even use permissions for them.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

No.

I would like two ACP. ;)
CorniI
Registered User
Posts: 38
Joined: Tue Apr 03, 2007 1:45 pm
Location: Germany

Re: How do you a external panel admin phpbb3?

Post by CorniI »

Is there a reason you can't extend ucp/mcp/acp?
:P
Else you'd probably want to copy the ACP code and rename most of it's stuff and then you can program plugins for acp2...
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

Ouch, sorry for not getting back to you on this.

You want a second, exact copy of the admin panel? ... you don’t want to just move it, but you want a duplicate of it somewhere?
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

I prefer a duplicate (personal reason) to separate. ;)
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

In that case, simply duplicate the /adm/ directory and name it whatever you wish.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

And the tabs and Modules? How?
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

Dakin Quelia wrote:And the tabs and Modules? How?
Just duplicate the adm directory, I’m sorry I can’t be any more specific than that. :|
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

Yes, I did but I have all modules acp. :)

I would like my own tabs and my own modules. ;)

Thanks.
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

Dakin Quelia wrote:No.

I would like two ACP. ;)
And that's what you have, now you are saying you don't want two ACP's?
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

Two different ACP.

So I have two ACP: one for the site (with my own tabs and modules) and one for the forum (with standards modules).
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

Do you know how to program in PHP?
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

I have some knowledge but insufficient to do my ACP Site Web.

ps: I'm sorry for my bad English because I speak French.
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: How do you a external panel admin phpbb3?

Post by Highway of Life »

Without sufficient PHP knowledge, you will not be able to achieve any of this, but here is all you need to know to get you going.

First, create a new directory in phpBB, name it 'admin' or whatever you wish.
Create a new index.php file, you can duplicate the /adm/index.php file here if you wish, which is the easiest method.
Change the line:

Code: Select all

$module->list_modules('acp'); 
to

Code: Select all

$module->list_modules('sacp'); 
All your module files will need to be placed in: /includes/sacp/
info files will need to go into: /includes/sacp/info/
Template files will need to go into: /admin/style/

Modules can be added using UMIL. Managing these modules will require an edit in the /includes/acp/acp_modules.php file.

Language files can be automatically included or called upon directly. To automatically include language files, use /language/fr/mods/info_sacp_whatever.php

That’s it. If you cannot determine what to do from there, you likely do not have enough programming knowledge to achieve your goal here.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: How do you a external panel admin phpbb3?

Post by Dakin Quelia »

I understand. ;)

Thanks very much :)

Edit: I have an error:
Module not accessible
Locked

Return to “[3.0.x] MOD Writers Discussion”