THT Community (TCom)

Full Version: [Huge Project] Universal Mod Installer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Universal Mod Installer, in short UMI, is going to be an evolution on THT's Plugin System. UMI itself is a plugin, but it will control thousands of other sub-plugins. UMI helps you to install plugins for THT easily, in just some steps:

1 - Download from our Community or other Resource Sites
2 - Upload via browser at THT->UMI
3 - Click Install
4 - Configure The Plugin
5 - You're Done!

Removing is even easier. Guess by yourself. Just go to the list, Delete then you're done.

A few examples of what UMI could do:
The following will install a plugin called "Hello World" and will add a link called "Hello World" to the Client CP and AdminCP, with the icon user.png, as the last item in the sidebar (before logout)
The plugin files are going to be fetched from plugins.thehostingtool.com, as an example.

Code:
<umi>
<plugininfo>
<name>Hello World</name>
<author>Jimmie Lin</author>
<version>0.1.0 (Codename Byte)</version>
</plugininfo>
<instructions install="yes" upgradefrom="0.0.9">
<runsqlquery>
<addmenu>
<option>client</option>
<option>admin</option>
<title>Hello World</title>
<icon>user.png</icon>
<pos>last</pos>
<phpfile>helloworld.php</phpfile>
</addmenu>
</runsqlquery>
<fetchfile>
<files>
http://plugins.thehostingtool.com/umi/test/1.php allocate as class
http://plugins.thehostingtool.com/umi/test/2.php allocate as phpfile
</files>
</fetchfile>
</instructions>
</umi>

Interesting, right? Smile Look forward for it!
Nice! Kinda like the UMI for IPB Tongue This would make installing plugins easier Big Grin
If you need any help putting together an API, just give me a shout! Wink
Erizo, it IS sort-of the UMI for IPB. I figured out how to make a XML Parser.... 5 hours.
That's what i said, lol.
Wow! great project, hope it goes well for you Smile
Until now, I think that I should give an update.
The XML parser is quite changed since the last thing that I showed you. So this is the actual XML which works.
Code:
<umi>
<plugininfo>
<name>Hello World</name>
<author>Jimmie Lin</author>
<version>0.1.0 (Codename Byte)</version>
</plugininfo>
<instructions install="yes">
<runsqlquery>
<addmenu>
<option>client</option>
<option>admin</option>
<title>Hello World</title>
<icon>user.png</icon>
<pos>last</pos>
<phpfile>phpfile.php</phpfile>
</addmenu>
<customquery>
[CUSTOM QUERY HERE]
</customquery>
</runsqlquery>
<fetchfile>
<files>
<phpfile>http://umi.thehostingtool.com/files/phpfile.php</phpfile>
<tpl>http://umi.thehostingtool.com/files/tpl.tpl</tpl>
</files>
</fetchfile>
</instructions>
</umi>
Is this finished yet?
No, last time i checked Jonny was considering how to include this in a future release, probably 1.3 or later.
No, its not finished. I dropped it tbh. Its in my windows partition which I don't know where it is Sad
Pages: 1 2
Reference URL's