ManiaLib 2.0.1 for Maniaplanet

Open source, lightweight PHP framework for Manialink and Web development.

Moderator: NADEO

Post Reply
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

ManiaLib 2.0.1 for Maniaplanet

Post 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:
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
vitessepure
Posts: 10
Joined: 05 Jun 2011, 20:17
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post 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() ?
}
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post 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.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
vitessepure
Posts: 10
Joined: 05 Jun 2011, 20:17
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post by vitessepure »

I am not sure. ManiaScript in ManiaPress 0.3 doesn't work but when i add this ";" it works.
User avatar
w1lla
Posts: 2396
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaLib 2.0 for Maniaplanet

Post 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 ;)
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post 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
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0 for Maniaplanet

Post by gouxim »

Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
Jojo_44
Posts: 500
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLib 2.0.1 for Maniaplanet

Post 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
Image
my english sounds very unfriendly but it isn´t ;)
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0.1 for Maniaplanet

Post by gouxim »

I'll commit the file tomorow, it's pretty simple.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
gouxim
Nadeo
Nadeo
Posts: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 2.0.1 for Maniaplanet

Post 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
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
Post Reply

Return to “ManiaLib”

Who is online

Users browsing this forum: No registered users and 1 guest