extension control panel

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

extension control panel

Post by Meis2M » Sat May 04, 2019 7:26 am

Hello
is it possible have an extesnion control panel in a special address and different style and theme? ( for example this address example.com/ggpanel/ )
please help me in this case.
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16092
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: extension control panel

Post by david63 » Sat May 04, 2019 8:11 am

You can certainly style an extension control panel - just add your own .css file in the template.

Adding a new tab for an extension is possible via your migrations file if that is what you want. If you are asking can the control panel be somewhere totally different than your board then I suppose it could be done just as long as it has access to the database, but it is not something that I have ever heard of before.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: extension control panel

Post by Meis2M » Sat May 04, 2019 8:40 am

most of extensions are in acp and we should configure and settings in there.
Yes my point is have a new different panel with new address , without using acp style and default style of board. ( own style )
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16092
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: extension control panel

Post by david63 » Sat May 04, 2019 8:45 am

Meis2M wrote:
Sat May 04, 2019 8:40 am
my point is have a new different panel with new address , without using acp style and default style of board. ( own style )
Why can you not have your own style on your settings page (I do it all the time)? Trying to put settings at a "new address" is making things more complicated than necessary and I suspect that it would not pass validation (if that is your ultimate intention)
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: extension control panel

Post by Meis2M » Sat May 04, 2019 9:01 am

it is not possible with route system?

my plan is create a bootsrap dashboard for my control panel by using this:
https://demos.creative-tim.com/material ... /user.html

is it possible?
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16092
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: extension control panel

Post by david63 » Sat May 04, 2019 9:03 am

Are you talking about ACP, MCP, UCP or all of them?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: extension control panel

Post by Meis2M » Sat May 04, 2019 9:08 am

no i am talking about my own extension control panel, it is different from acp , mcp ,...
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16092
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: extension control panel

Post by david63 » Sat May 04, 2019 9:14 am

Let me try and understand this. You have a board at www.mysite.com and you want to put your control panel at www.mysite.com/controlpanel. If that is correct then it does not conform to extension rules where everything must be self contained within the extension.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: extension control panel

Post by Meis2M » Sat May 04, 2019 9:55 am

david63 wrote:
Sat May 04, 2019 9:14 am
Let me try and understand this. You have a board at www.mysite.com and you want to put your control panel at www.mysite.com/controlpanel. If that is correct then it does not conform to extension rules where everything must be self contained within the extension.
yes that is what i say. :!:
ok so it is negative !

so please guide me if i want to use this dashboard https://demos.creative-tim.com/material ... /user.html in acp of my panel, let me think is it possible?
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
david63
Registered User
Posts: 16092
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: extension control panel

Post by david63 » Sat May 04, 2019 10:20 am

Could you not put your files in a separate folder within the extension and then link to there from wherever is appropriate?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16981
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: extension control panel

Post by DavidIQ » Sat May 04, 2019 10:48 am

Are you talking about just having a separate route? If so then you're welcome to set that up within your extension and handle accordingly. From there you'd load bootstrap if you want. It might be possible to generate the HTML from included template files and just send that out to the browser overriding the default style similar to what happens in AJAX calls.

If what you mean is having an entirely separate directory outside of your extension then the answer is no.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: extension control panel

Post by Meis2M » Sat May 04, 2019 11:30 am

DavidIQ wrote:
Sat May 04, 2019 10:48 am
Are you talking about just having a separate route? If so then you're welcome to set that up within your extension and handle accordingly. From there you'd load bootstrap if you want. It might be possible to generate the HTML from included template files and just send that out to the browser overriding the default style similar to what happens in AJAX calls.

If what you mean is having an entirely separate directory outside of your extension then the answer is no.
not entirely separate directory outside of my extension, all of the files must be in my ext folder but i should have a separate panel with special link:
example.com/forum/scp/

the

Code: Select all

scp
is my admin extension control panel, that is not using acp theme.
i don't know can create a virtual address scp in phpbb or not. but the scp must be in my ext folder.
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
canonknipser
Registered User
Posts: 1965
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: extension control panel

Post by canonknipser » Sat May 04, 2019 11:51 am

I guess you can do that the same way as eg. the pages extension does it: Create a route as described in https://area51.phpbb.com/docs/dev/exten ... pp#routing
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

Post Reply

Return to “Extension Writers Discussion”