Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Nao
7891
Plugins / Re: Converting WedgeDesk
« on September 9th, 2011, 02:41 PM »
Yup.

We should also check for consistency in current hooks.
7892
Plugins / Re: Converting WedgeDesk
« on September 9th, 2011, 02:33 PM »
Should we be careful to namespace the hooks? (Yes of course but...)
7893
Off-topic / Re: Baidu bloody loves me.
« on September 9th, 2011, 01:54 PM »
I may have access to iptables, but... Why exactly would I stop Baidu? As long as it's not killing the bandwidth, I could care less about it...

If you don't like seeing it in the who's online area, I can remove it from the list of recognized bots... :P
7894
Plugins / Re: Converting WedgeDesk
« on September 9th, 2011, 01:53 PM »
Feel free to add as many hooks as you'd like in places you want... If you feel other mods might make use of them :)
7895
Features / Re: Template skeleton!
« on September 9th, 2011, 01:47 PM »
Quote from Arantor on September 9th, 2011, 12:59 AM
Before worrying about implementation, nail down the exact details of how it's supposed to work, where avatars and attachments should be stored (one folder for each, multiple folders?),
Oh, it's already been nailed on for a while... First time an avatar is created, an album is silently created, using /media/avatars/ as its target folder. Same for attachments, with /media/files/. The folders are already in my local copy but I just noticed they're not in SVN...
Anyway-- they'll behave like normal albums, i.e. new sub-folders created after a sub-folder is full. The idea is that whatever the obfuscation setting is, thumbnails will always be visible to everyone, because it'd be stupid to expect a web server to take dozens of extra PHP connections just for these. (Or maybe we could put a dummy avatar if user doesn't have the right to view them... Anyway, this kind of thing is done via Load.php anyway, not through the usual AeMe codepath.)
Other than that... I don't see any biggie.
Quote
how that should be referenced in the code (new album, mythical album 0 or something else?) and stuff like that.
No, it can't be album 0 because we need different albums for avatars and files. It's easier internally to help people choose their avatar from an existing pool. (They can always move their files to the avatar album later if they want to use them as avatars...)
Quote
It's a complex job and it has consequences that are far reaching, so best to look at that first before touching the code, IMO.
I don't think it has that many consequences. The main consequence is that many, MANY functions and settings will have to go, and that's probably the part I'm a bit scared to screw up...
Other than that, I don't think there would be any reason to use different album settings for avatars and files, compared to other albums. It's just... easier to apply the same settings to everything. The only difference being that Wedge will directly retrieve avatars from the media table.

Oh, and I'm also not looking forward to dealing with the Attachment feature in post pages... I mean, I like the 'simplicity' of it, and I'd like to do something between our current popup and the current attachment solution for that.
7896
Features / Re: Template skeleton!
« on September 9th, 2011, 01:15 PM »
So, Bjorn, what do you think about the latest changes to Wedge...? The skeleton in general I know you like, but how about the semantic pseudo-elements?

It's only there as a canvas. Ideally, designers should tell me what the list of pseudo-elements would be eventually -- i.e. whatever helps a designer make a semantically solid theme.

Just watched Tucker & Dale vs. Evil... What a fun movie :lol:
7897
Features / Re: New revs - Public comments
« on September 9th, 2011, 11:30 AM »
- Debate, guys! :P

- A "SID metal" band... I'm not a big metal fan (apart from my holy trinity of SUGIZO, Anathema and Symphony X and a vague Angra album, my knowledge is close to zero), but they topped a top 10 video on Youtube about great indie video game soundtracks... I wanted to know if there was anything as good as Aquaria or Braid in that respect. Well, made me discover Machinae Supremacy's soundtrack for Jets'n'guns, and Module's soundtrack for Shatter. Both are soundchippy, and both are fantastic. The Shatter OST was like a drug to me for a month or so -- now I switched to the J&G drug :P
7898
Features / Re: New revs
« on September 9th, 2011, 11:25 AM »
rev 989
(13 files, 15kb)

+ Added a semantic definition feature for skeletons. When defining a layer, you can specify a layer type next to it (position on the page, navigation role...), for instance <layer:side,left,top> means that this layer wants to receive data sent to ':side' (the main sidebar), ':left' (the left of the page) and ':top' (top of the page). Have a seen a greedier layer in your life? I haven't. Should I apply the same system to sub-templates? (Load.php, index.template.php, Warm/skin.xml)

* Turned 'sidebar' and 'top' into array(':side', 'sidebar') and array(':top', 'top') in loadSubTemplates calls. And no, you don't have to do the same, it's just that I'm trying to give a good example. (index.php, Admin.php, Calendar.php, Display.php, Aeva-Gallery.php, MessageIndex.php, Profile.php, Subs-Menu.php, Unread.php, UnreadReplies.php)
7899
Features / Re: New revs - Public comments
« on September 9th, 2011, 10:54 AM »
I think it's a debate that could be launched, but really, all I did was to make the field bigger if the thing is collapsed. I figured if I always made it bigger, people might complain that it takes too much room on all pages when it's open opened shown by default. You know, the kind of detail that eventually makes Wedge look better, and people say, "how come I never thought about that before?!"... Don't worry, we didn't either :lol:

Oh, it's a good day starting for me...
http://forum.machinaesupremacy.com/index.php?action=credits
Technically, I have my name in the credits of the official Machinae Supremacy website. And I didn't even know about them until a few weeks ago. 8-)
7900
Features / Re: New revs
« on September 9th, 2011, 10:15 AM »
rev 988
(12 files, ??kb -- not too big)

* Renamed template blocks to 'macros', i.e. from a generic term to a description of what they can actually do. (Load.php, Subs-Cache.php, Subs.php, index.template.php)

* If the quick reply box is collapsed by default, increase its textarea height to 150px. Because we can. (Display.php)

* Cleaned up a bit of the quick reply area: got rid of the empty anchor and moved it to the quickreplybox div (now renamed quickreply), shortened a few of the other IDs, removed a useless div... (Display.template.php, Media.template.php, index.ie6.css, sections.css, Warm/index.css)

* Tweaked and improved category title fonts. Or more specifically, removed the tweak that was only for the quick reply bar, and moved it over there. (index.css, Warm/index.css)

! Fixed a stupid bug where topic pages wouldn't display at all... Hmm, not exactly smart of me to name both the main layer and main sub-templates 'main', but it works for now... Until I get to improve this. (index.template.php, Warm/skin.xml)
7901
Features / Re: New revs
« on September 9th, 2011, 10:15 AM »
Lol, I just realized that the post number (the thing next to the post date) is exactly the rev number, off by one... It wouldn't even be off by one if I hadn't recently merged two small commit changelogs together :P

So I'm posting this totally unrelated post to make them match exactly... :niark:
7902
Off-topic / Re: Baidu bloody loves me.
« on September 9th, 2011, 07:44 AM »
Do you want me to add a robots.txt for that page to push baidu away? I can even change the page for it, to post a message to them :P
7903
Features / Re: Template skeleton!
« on September 9th, 2011, 07:40 AM »
How about we assign a left:right:bottom:top var to layer names in skeletons? Only one per direction per skeleton.

<main_wrap:left>

Would mean "if a mod asks to add a subtemplate to the left, use this layer." like a shortcut!

We could have more directions or even other hints, as separated by commas.

And loadSubtemplate('tempy', array('left', 'hello')) would mean add a subtemp to the left-hinted layer, and fallback to the hello layer if not found.
Heck. I can even have a global fallback to the main layer or whatever!

What a smart idea :eheh:
7904
The Pub / [Archive] Re: Logo Madness
« on September 9th, 2011, 01:06 AM »
Uploaded the first icon (with a stronger drop shadow) to the website header. What do you think...? Possibly a bit dull, but looks very professional.
7905
Features / Re: Template skeleton!
« on September 9th, 2011, 12:57 AM »
Skeleton = structure not position.
It's only a helper it won't do the cooking for you :)

Positioning is up to CSS. I'll commit on a few minutes. Bloc, I suggest you look into the new system and determine if you think something can be done with it. I'll accept any patches, algorithms or suggestions. With pleasure.
Posted: September 9th, 2011, 12:34 AM

It's up :)
Hopefully it'll work for both of you, Pete and Bjorn... Take your time to study it but make sure to feel your first feeling about it!
I'll try and update the demo site this week-end... I guess I'm going to have to release it to the public anyway. Ahhhh, and I'm still not using AeMe for avatars and attachments... The agony, I always postpone this big chunk!