aveleh: Close up picture of a vibrantly coloured lime (Default)
abby ([personal profile] aveleh) wrote in [site community profile] dw_styles2009-04-13 10:50 pm
Entry tags:

For those of you that are using non-official core2 styles

Hey guys,

We have some really exciting changes coming up in the next few days. However, it's going to break the styles of some people who are using core2-based non-official layers. That means that those of you who liked being on the cutting edge and so fiddled with a style to make it work with core2 or made changes to the functions in a core2 style to make your own style, you may end up having problems using your style as expected, or even getting it to compile.

I know we've already changed the names of the module function twice, but we've done it again, this time in a way that makes it more flexible. I can promise that when you see the way that [personal profile] nova designed and [personal profile] afuna implemented the modules, you won't care that you need to make some more edits. The new module functionality is amazing. If you're not already using Negatives, switch to it and see the Modules in action.

Anyway, core2 is giant enough that we're wanting to remove the depreciated functions earlier rather than later, especially for things like the modules which are already confusing. So, if you're a non-official core2 style user, you probably need to:

  1. Do a find and replace to replace print_module_group_one() with print_module_group( "one" ), and the same for two and/or three and/or four.

  2. Do a find for any instances of print_linkbar and replace it with print_management_links for EntryLite (entries and comments), and with print_interaction_links for UserLite.

  3. Do a find for any instances of print_entry_poster. This may say something like $p->print_entry_poster($e). It should now be $e->print_poster().

  4. Do a find for lang_user_wrote. Think about replacing it with print_entry_poster.

  5. Bookmark this post so you can yell at me for not properly making sure we documented our overhaul.

We're going to be making a series of posts in the next couple of days talking about the overhaul and porting process, and better explaining how what we've done isn't just renaming a few functions, and how this is going to be really awesome for everyone in the long run. This is, of course, just in preparation of getting some good official documentation aimed for users of all levels and interest.

In the meantime, I'm working [personal profile] afuna, [personal profile] av8rmike, [personal profile] dani_the_girl, [personal profile] draigwen, [personal profile] jadelennox, [personal profile] liv, [personal profile] nova, [personal profile] rich, and [personal profile] ysobel as hard as possible, so please don't hesitate to give them love.
rhialto: Me under a waterfall (Default)

[personal profile] rhialto 2009-04-14 11:40 pm (UTC)(link)
I've taken a quick course and dived right into the S2 style system. On lj, they were on the one hand encouraging people away from S1 (deprecated, etc) but on the other hand you could not switch to S2 since that is for paid accounts only. So I didn't know anything about it at all.

So basically I managed to hack into the core 2 style the two things I wanted: the yellow/red colour scheme, and the European style time/date (I find am/pm extremely confusing (I much prefer 21:38 over 9:38 pm)), and also the silly putting the day and the year next to each other and the month somewhere else (April 15 2009) is rather strange to my eyes.

So I managed to make date/time formats for that.

I don't know if/how other people can look at my styles, but it is i18nc layer #3594 named "Rhialto's date/time changes".

Maybe that, or something like it, can be supplied to people who also prefer European date formats.
Edited 2009-04-14 23:41 (UTC)
rhialto: Me under a waterfall (Default)

[personal profile] rhialto 2009-04-15 12:09 am (UTC)(link)
Ah good. Since that is basically what I want now, I think I'll be happy with that. Maybe I'll want more later, who knows :-) If you make the documentation available even to people who can't edit layers, they can see what they are missing out on and possibly will decide to get a paid account. (That is always better than to pay for something unseen and hoping it will be good enough)
av8rmike: (styles)

[personal profile] av8rmike 2009-04-15 04:41 am (UTC)(link)
You don't need a Paid account to use S2 on LJ. Maybe at the very beginning, but it hasn't been that way for years, if ever.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2009-04-16 08:31 am (UTC)(link)
I wonder if what the poster meant was that on LJ, tinkering with the S2 styles system in the way they're describing is only available to paid users? You can use an S2 style on LJ, but you can't modify the S2 code.