Page 2 of 2
Re: Manialinks
Posted: 08 Aug 2012, 11:00
by The_Big_Boo
jonthekiller wrote:If 5.3, it's maybe when you haven't a value in the $_GET['name'].
Even with older versions of PHP it will fail if $_GET['name'] doesn't exist ^^
Anyway, when you got an 'Invalid manialink', the best thing to do is to test it in your web browser so you'll see PHP errors.
Re: Manialinks
Posted: 08 Aug 2012, 11:29
by danodude
I have PHP 5.3.13, and thanks The_Big_Boo. I'll have to work something out

Re: Manialinks
Posted: 08 Aug 2012, 11:30
by danodude
Ah ok thank you The_Big_Boo

I'll have to fix that somehow...
Re: Manialinks
Posted: 13 Aug 2012, 15:53
by kroff
Hi !
I saw on the maniahome station some button styles that are not referenced on the manialink "exemple" for example ! I'd like to know what is the style or substyle of these colorful squared buttons !

I saw there's a small range of these buttons (green, orange, blue, grey, ...) Is it possible to use them or is it only possible for the maniahome station ?
Thanks to the one which could answer me !

Re: Manialinks
Posted: 13 Aug 2012, 17:04
by The_Big_Boo
It's available to everyone because it's in fact a small manialink hack.
With some styles, labels with a link got a focusable background that you can change with attributes focusareacolor1 (normal) and focusareacolor2 (mouse over). Each attribute takes a value of the form "rgb" or "rgba" so you have any color you want ^^.
Moreover, to make this kind of buttons freely, we're using actually 2 labels: one for the text and one the "button".
Anyway, there should be soon a new attribute bgcolorfocus for quads which will does the same thing but in a more logical way.
Edit: if you don't want to wait for updated quads, consider to go on
labels manialink to see all available styles (and so those on which focusareacolors are working)
Re: Manialinks
Posted: 13 Aug 2012, 19:59
by kroff
I just tried it and this is... fabulous !
Thanks for sharing the trick !

I'm looking forward the update though !