[DEV] Plugin/hook System

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

[DEV] Plugin/hook System

Post by EXreaction »

I've been working on a plugin system for phpBB3 and mods lately.
https://svn.lithiumstudios.org/pluginEX.zip

This close to the same system used by the User Blog Mod and I wanted to build something for other mods of mine as well so I decided to make it an entire separate system.

I don't have any demo's for what can be done with it yet, but I'd like to hear your thoughts on it.
Last edited by EXreaction on Thu Jul 17, 2008 10:18 pm, edited 3 times in total.
User avatar
david63
Registered User
Posts: 18852
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Plugin/hook System

Post by david63 »

I thought phpBB3 had its own built in hook system.
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
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Plugin/hook System

Post by EXreaction »

It's completely different from this.
User avatar
david63
Registered User
Posts: 18852
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Plugin/hook System

Post by david63 »

Perhaps if there was a valid link to what you are doing then it might make more sense. The link that you have is returning "Secure Connection Failed"
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
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Plugin/hook System

Post by Paul »

Moved to MODs in development, please update according to the forum rules.
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: Plugin/hook System

Post by Gleasonator »

david63 wrote:Perhaps if there was a valid link to what you are doing then it might make more sense. The link that you have is returning "Secure Connection Failed"
FireFox blocks it.

On the bottom of that error there's a link to add an exception. Just add an exception for the site and it works.
Sorry for my bad Engrish !
gleason|design

Image
User avatar
david63
Registered User
Posts: 18852
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Plugin/hook System

Post by david63 »

Gleasonator wrote:FireFox blocks it.

On the bottom of that error there's a link to add an exception. Just add an exception for the site and it works.
I am quite well aware of that - but I should not have to do it if the certificate was valid. On principle I never go to any site with an invalid certificate.
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
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: Plugin/hook System

Post by Gleasonator »

david63 wrote:
Gleasonator wrote:FireFox blocks it.

On the bottom of that error there's a link to add an exception. Just add an exception for the site and it works.
I am quite well aware of that - but I should not have to do it if the certificate was valid. On principle I never go to any site with an invalid certificate.
OK, here then.

http://gleasonator.com/downloads/pluginEX.zip
Sorry for my bad Engrish !
gleason|design

Image
User avatar
david63
Registered User
Posts: 18852
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [DEV] Plugin/hook System

Post by david63 »

Would I be right in thinking that this is a mod that you would need to install so that you could use mods that utilise these features - if that is the case then it is of no use as no mod will be accepted into the moddb that is dependant upon another mod being installed. The only other option would be to code the mod so that it can run "stand alone" or with the plugin system - which would make more work for mod authors.

Perhaps I am missing something but surely any plugin system has to be built into the core of phpBB3.

Do not get me wrong, I believe that a plugin system would make life a lot easier but it HAS to be in the core.
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
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] Plugin/hook System

Post by Gleasonator »

Yeah but... notice how he didn't even originally post in the "MODs in Development" section? I think his intent isn't to get validated, just to get his code out there. He also says "Other mods of mine" to imply that it's intended to be used with his mods... so mod authors aren't expected to do anything.

I haven't downloaded it, but is sounds great. As soon as there's a plugin to use it with, I'll be one of the first to try it out. :)
Sorry for my bad Engrish !
gleason|design

Image
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: [DEV] Plugin/hook System

Post by EXreaction »

Gleasonator is correct.

I'd like to make plugins for it, however I currently have a different project that I need to finish first. Plus I have yet to decide on how I'd release it if I do. To be usable it would almost require a fork of the phpBB code with a bunch of hooks integrated. I'd like to see something like this integrated into the core, however, the developers have made it sound like that is something they would never do.
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] Plugin/hook System

Post by Gleasonator »

Any updates on this? I'd love to see something like this happen.
Sorry for my bad Engrish !
gleason|design

Image
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: [DEV] Plugin/hook System

Post by EXreaction »

An extended plugins system will be available in 3.2. Adding something like this in 3.0 would pretty much require a fork of it (aka, premod). I don't have the time or energy to support something like that.

Once Automod becomes more stable, a plugin system will lose many of it's advantages.
splitice
Registered User
Posts: 104
Joined: Mon Oct 29, 2007 6:00 am

Re: [DEV] Plugin/hook System

Post by splitice »

Sorry to bump a old thread but I was looking at making my own plugin system myself, do you have any examples of code that utilises your plugin system?
User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: [DEV] Plugin/hook System

Post by EXreaction »

It's basically the same system used in my User Blog Mod
Locked

Return to “[3.0.x] MODs in Development”