Page 1 of 1

ManiaLib 2.0.1 for Maniaplanet

Posted: 10 Jan 2012, 16:29
by gouxim
Hi fellow coders,

We are releasing the first official version of ManiaLib for Maniaplanet!

ManiaLib is a lightweight PHP framework for Manialink and Web developement. It provides a set of object-oriented libraries to help you save time on classic Manialink (and Web) tasks.

ManiaLib is meant to be a very flexible framework that doesn't get in the way of the developer.

You will find a couple of example of what you can actually do with ManiaLib on the homepage of the project at http://code.google.com/p/manialib/

For now, it lacks documentation but we will progressively write it. If you have any questions, don't hesitate to create a topic and ask for help, we will write documentation depending on what questions people are asking!

Download is here: http://code.google.com/p/manialib/downloads/list

Have fun :thumbsup:

Re: ManiaLib 2.0 for Maniaplanet

Posted: 10 Jan 2012, 21:42
by vitessepure
Maybe I'm wrong but you forgot a ";" in Manialib/Maniascript/Main.php (line 30) :

Code: Select all

static function loop()
{
	Manialink::appendScript('manialib_main_loop()');   // ";" after manialib_main_loop() ?
}

Re: ManiaLib 2.0 for Maniaplanet

Posted: 10 Jan 2012, 22:37
by gouxim
Yes indeed, thanks. :thumbsup:
It actually was working because most the time a "}" end up just after that so apprently the ";" is not needed in that case.

Re: ManiaLib 2.0 for Maniaplanet

Posted: 10 Jan 2012, 23:08
by vitessepure
I am not sure. ManiaScript in ManiaPress 0.3 doesn't work but when i add this ";" it works.

Re: ManiaLib 2.0 for Maniaplanet

Posted: 10 Jan 2012, 23:18
by w1lla
Thanks for making Manialib 2.0 :P

As for documentation its also wise to let the community help you for some generous reasons ;)

Re: ManiaLib 2.0 for Maniaplanet

Posted: 11 Jan 2012, 12:05
by gouxim
vitessepure wrote:I am not sure. ManiaScript in ManiaPress 0.3 doesn't work but when i add this ";" it works.
You're right. I'm so dumb :oops: . Im quickly releasing manialib 2.0.1 and maniapress 0.3.1 to fix that

Re: ManiaLib 2.0 for Maniaplanet

Posted: 11 Jan 2012, 12:15
by gouxim

Re: ManiaLib 2.0.1 for Maniaplanet

Posted: 05 Mar 2012, 21:43
by Jojo_44
I guess I have to create the rewrite rules myself because I didn´t find it in the package ?

best regards, Jojo

Re: ManiaLib 2.0.1 for Maniaplanet

Posted: 05 Mar 2012, 23:56
by gouxim
I'll commit the file tomorow, it's pretty simple.

Re: ManiaLib 2.0.1 for Maniaplanet

Posted: 06 Mar 2012, 11:15
by gouxim
Jojo_44 wrote:I guess I have to create the rewrite rules myself because I didn´t find it in the package ?

best regards, Jojo
http://forum.maniaplanet.com/viewtopic.php?f=40&t=8985