https://www.icyphoenix.com/viewtopic.php?f=1&t=6730
-----------------------------------
Mighty Gorgon
Tue 01 Dec, 2009 13:24

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:
[list][*]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.[/list]

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:
[list][*]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[/list]

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.


-----------------------------------
Informpro
Tue 01 Dec, 2009 13:52

Re: New Plugins System
-----------------------------------
Great news.

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


-----------------------------------
ancraz
Tue 01 Dec, 2009 15:29

Re: New Plugins System
-----------------------------------
Plugins System will great improve the flexibility of Ice Phonenix :) cant wait  :oops:


-----------------------------------
Nirose
Wed 02 Dec, 2009 13:05

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


-----------------------------------
spydie
Tue 27 Apr, 2010 19:56

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`,[/quote]

amod is trying to drop tables before install. 

problem was here:
[code linenumbers=false]if ($mode == "upgrading" || $mode == "fresh_install" || $mode == 'remove')
		{
		if (($mode == "fresh_install" || $mode == "remove") && ($mode != "upgrading"))[/code]

i solved it this way:
[code linenumbers=false]if ($mode == "upgrading" || $mode == "fresh_install" || $mode == 'remove')
		{
		if (($mode == "remove") && ($mode != "upgrading"))[/code]

[hr]

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.


-----------------------------------
Mighty Gorgon
Sat 08 May, 2010 11:09

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: [url=http://www.icyphoenix.com/viewtopic.php?f=1&t=7143]Guestbook Plugin


-----------------------------------
DWho
Sat 08 May, 2010 12:45

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


-----------------------------------
Mighty Gorgon
Sat 08 May, 2010 12:49

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).


