Search found 355 matches

by m4rcel
10 Feb 2015, 20:41
Forum: ManiaLink
Topic: [Done] Make <include> cachable
Replies: 2
Views: 611

Re: [Suggestion] Make <include> cachable

I did a quick test, and including a <timeout> in the included file seems to work as intended: The file gets cached and re-requested after the specified timeout.

Thanks for the information :)
by m4rcel
02 Jan 2015, 20:53
Forum: Maniaplanet Web Services
Topic: [Solved] Different Session Timeouts?
Replies: 4
Views: 1165

Re: Different Session Timeouts?

The player data is cached in the session. So additional calls of getPlayer() do not result in additional ManiaConnect requests, but the cached values are used instead. This is only true for the player data; all other data is always re-requested from the webservices. (Dump $_SESSION after you authori...
by m4rcel
29 Dec 2014, 18:48
Forum: ManiaLink
Topic: [Fixed] textprefix ignored when changing opacity through MS
Replies: 3
Views: 652

Re: [Fixed] textprefix ignored when changing opacity through

Actually I use this feature/glitch/whatever quite often, especially when elements get manipulated with ManiaScript. After looking through my styles, I found the following case which (currently) can only be achieved with style+textprefix: Having a black shadow on a nearly-black font. (Which looks nic...
by m4rcel
29 Dec 2014, 11:15
Forum: ManiaLink
Topic: [Fixed] textprefix ignored when changing opacity through MS
Replies: 3
Views: 652

[Fixed] textprefix ignored when changing opacity through MS

I came across another bug when using the new styles of ManiaLink version 2. Description: When a <label> gets both style and textprefix set through a <style>, then the textprefix gets ignored as soon as the opacity of the <label> is changed using ManiaScript. This bug seems to only invole the textpre...
by m4rcel
23 Dec 2014, 20:18
Forum: ManiaLink
Topic: [Fixed] Styles not applied correctly to Quads
Replies: 4
Views: 843

Re: [Bug] Styles not applied correctly to Quads

Electron wrote:The behavior doesn't make any sense but equates the documentation:
noyranea wrote:- quads having a stylesheet style with "bgcolor" and no "style"/"image" attribute are blue...
Oh, didn't saw this when I read the post. Definitely "good to know" (and very un-intuitive). Thanks :)
by m4rcel
23 Dec 2014, 18:44
Forum: ManiaLink
Topic: [Done] Make <include> cachable
Replies: 2
Views: 611

[Done] Make <include> cachable

I have a request regarding the <include> tag to include other XML files into the ManiaLink: Enable caching for these ressources. A possible use case for this would be to extract static content to a separate file, and to <include> it into the main ManiaLink. Such static content could be a ManiaScript...
by m4rcel
23 Dec 2014, 18:32
Forum: ManiaLink
Topic: [Fixed] Styles not applied correctly to Quads
Replies: 4
Views: 843

[Fixed] Styles not applied correctly to Quads

So I took the time to look into the new Manialink Version 2 thing, and especially experimented with the new style feature, which sounds very nice -- If it works as expected :D Description When applying a style to a Quad, it seems to get not correctly applied unless the either image or style/substyle...
by m4rcel
12 Nov 2014, 21:43
Forum: Maniaplanet Web Services
Topic: Policy for automated ManiaHome notification posting
Replies: 4
Views: 5700

Re: Policy for automated ManiaHome notification posting

Are there any rules or conventions for naming the group, or can we use anything we want? And are the groups shared between all notifications, or does each MPWS-user/ManiaLink has its own set of groups? (E.g. if I post a notification with the group "download:magnetik", will it be grouped together wit...
by m4rcel
12 Nov 2014, 18:40
Forum: Maniaplanet Web Services
Topic: MediaUrl and Groups on private notifications?
Replies: 2
Views: 751

MediaUrl and Groups on private notifications?

So after some time I started to messing around again with the MPWS and checking out the features which have been added meanwhile. I came across the mediaUrl in notifications to display an image instead of an icon. My question is: Why does this feature not exist for private notifications? I modified ...
by m4rcel
05 Mar 2014, 18:56
Forum: ManiaLib
Topic: ManiaLib\Manialink: our (new) PHP lib for building XML
Replies: 19
Views: 5365

Re: ManiaLib\Manialink: our (new) PHP lib for building XML

Starting from scratch sometimes is the best way to improve a project. I know this from my own projects ^^ I looked through the code, and I have some suggestions on how you can improve the quality of it and to make it easier to understand and thus to use. 1. Add PHP Docblocks It is important, that yo...

Go to advanced search