Hi,
Today we are releasing ManiaLib 1.0 beta !
Why a beta? While the code is stable, the documentation is still light, therefore the package is better made for experienced developers.
You just need to download the package, unzip it, and follow the instructions of the Readme.
To get the latest version: http://manialib.com
To see the API reference: http://api.manialib.com
To see the demo manialink: ManiaLib
Have fun, and don't hesitate to give us your feedback !
ManiaLib 1.0 beta
Moderator: NADEO
ManiaLib 1.0 beta
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

- Knutselmaaster
- Posts: 1206
- Joined: 15 Jun 2010, 18:03
- Manialink: intr
- Location: Somewhere between Paris and Disney in France.
- Contact:
Re: ManiaLib 1.0 beta
Thank you!
I have been told that now it is possible to sell tags directly on a ManiaLink, that is really a big advantage for my tagshop.
Instead of using a messaging system and asking the customer to pay me first, before they receive the tag they will be able to choose one and buy it right away.
I have been told that now it is possible to sell tags directly on a ManiaLink, that is really a big advantage for my tagshop.
Instead of using a messaging system and asking the customer to pay me first, before they receive the tag they will be able to choose one and buy it right away.

Re: ManiaLib 1.0 beta
Fantastic guys! Will take a look at this as soon as possible! 

Mania Exchange - Share your maps!
ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti
Need technical help for ManiaPlanet? Click here.
ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti
Need technical help for ManiaPlanet? Click here.

Re: ManiaLib 1.0 beta
Hey guys,
I'm coding a little manialink (first with WampServer
), and I can't find how to use addplayerid ?
I watched http://api.manialib.com/ManiaLib/GUIToo ... ddPlayerId and http://api.manialib.com/__filesource/fs ... .html#a297 but still can't find
OOP is very abstract for me, so i apologize for my question which i'm sure is very simple
Thanks.
I'm coding a little manialink (first with WampServer

I watched http://api.manialib.com/ManiaLib/GUIToo ... ddPlayerId and http://api.manialib.com/__filesource/fs ... .html#a297 but still can't find

OOP is very abstract for me, so i apologize for my question which i'm sure is very simple

Thanks.
Re: ManiaLib 1.0 beta
Hey,
You can use it like that:
Hope it helps
You can use it like that:
Code: Select all
$ui = new Label();
$ui->setText('Some label with a link');
$ui->setManialink('http://mymanialink.com/page');
$ui->addPlayerId();
$ui->save();
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

Re: ManiaLib 1.0 beta
Yeah, thanks, I had forgotten to look at the cheat-sheet 

Re: ManiaLib 1.0 beta
If it's not already the case, you should consider using an IDE. I strongly suggest Eclipse PDT which is IMO the best free php IDE (well, even the best PHP IDE...). http://www.eclipse.org/pdt/
One of the most useful feature is the autocompletion.
Let's say you write:
If your cursor is just after the ">", you can press CTRL-SPACE and you'll have all the availble methods for the Label class. Pretty damn usefull, especially when working with a full OO architecture.
And it also has real-time PHP parsing that helps you keep track of stupid errors like a forgotten ";"...
One of the most useful feature is the autocompletion.
Let's say you write:
Code: Select all
$ui = new Label();
$ui->
And it also has real-time PHP parsing that helps you keep track of stupid errors like a forgotten ";"...
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

- Knutselmaaster
- Posts: 1206
- Joined: 15 Jun 2010, 18:03
- Manialink: intr
- Location: Somewhere between Paris and Disney in France.
- Contact:
Re: ManiaLib 1.0 beta
Aseco gave me the link to that program, it is a very nice and complete program, but a bit overwhelming too for a semi noob like me.
I still don't understand most of the functionality.
I still don't understand most of the functionality.
Re: ManiaLib 1.0 beta
I agree with you. But believe me, you will be glad that you did in a while.
It's like going from Paint to Photoshop
It's like going from Paint to Photoshop

Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

Re: ManiaLib 1.0 beta
Eclipse is really awesome, gives you stuff like auto formating, usage of test units, a nice debugger and i guess the same counts if you use it with php (used it a lot for java).
And asmentioned, the autocomplete is one of the best things for fast programming.
And asmentioned, the autocomplete is one of the best things for fast programming.
Who is online
Users browsing this forum: No registered users and 2 guests