New Plugins System

Tags And Keywordsplugins system


Subject: New Plugins System
Hi guys,
I'm glad to announce that I have almost finished the new Plugins framework for Icy Phoenix.

Some details about the new Plugins System:
  • Plugins may be installed by copying files in the plugins folder (then you will be able to enable the Plugin in ACP).
  • Only few files are required to create a new plugin from scratch.
  • Unfortunately some core files still need do be edited where some special operations are required for the plugin to work, but I'm planning to code an Hook System to avoid at least some basic edits in core files.
  • I strongly encourage MOD writers to use the Plugins System while creating / porting mods to Icy Phoenix.
  • The Plugins System requires only a small cache request in common.php.


After some tests it seems to be working as expected, but I would like some of you helping me in debugging.

If someone is willing to help in debugging, please contact me privately and I will exactly tell what I need to be tested.

I also need to port some Icy Phoenix features to the new Plugins System: this task is not easy, but it is a great way to get introduced into how Icy Phoenix works and would greatly help in creating own plugins. If someone is interested in helping in this task please contact me, and I'll provide all the info and the help needed.

Some basic requirements for those who wants to apply:
  • Basic PHP skills (at least being able to read and understand PHP code)
  • Good knowledge about Icy Phoenix features and structure
  • Good HTML and CSS skills


If you think you have these requirements and you wish to actively contribute to this project, please write me privately and I will provide further instructions.

Thanks.

Subject: Re: New Plugins System
Great news.

What are actual plugins ? KB, Arcade & DL, right ?

Last edited by Informpro on Tue 01 Dec, 2009 17:19; edited 1 time in total
Profile PM  
Subject: Re: New Plugins System
Plugins System will great improve the flexibility of Ice Phonenix :) cant wait :oops:

Profile PM  
Subject: Re: New Plugins System
This is great news :mryellow: . hope it gets out soon

Subject: Re: New Plugins System
Bug in activity mod.

trying to install Activity mod ( found in extras ) , i got the first error.

Quote:
unable to drop table `ina_last_playtype`,


amod is trying to drop tables before install.

problem was here:
Code: [Download] [Hide] [Select]
if ($mode == "upgrading" || $mode == "fresh_install" || $mode == 'remove')
{
if (($mode == "fresh_install" || $mode == "remove") && ($mode != "upgrading"))


i solved it this way:
Code: [Download] [Hide] [Select]
if ($mode == "upgrading" || $mode == "fresh_install" || $mode == 'remove')
{
if (($mode == "remove") && ($mode != "upgrading"))





second problem:

after successful install off amod, I bunch installed the gamespack, created a test cat, and trying to assign a game to this Cat, the next surprise: In the dropdown list I only had amod root files listed.

Subject: Re: New Plugins System
Thanks for your reporting, I will try to fix Activity Bugs after I have finished with the core Plugins code.

In the meantime you can have a look at this post: Guestbook Plugin

Subject: Re: New Plugins System
Great news hopefully when finished i can easily update my mods to work with it...

Subject: Re: New Plugins System
Maybe the update is not that easy... but it would be worth all the efforts.

Have a look at the Guestbook in SVN so you can get an idea on how the new system should work (still some things to be fine tuned).


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.8012s (PHP: 2% SQL: 98%)
SQL queries: 18 - Debug Off - GZIP Enabled