learnedax ([personal profile] learnedax) wrote2006-04-14 11:47 pm

LJ hacking; may not make sense even to most geeks

And this, of course, is the problem with hacking a system in ways not anticipated by the architects: the new format of voicepost entries breaks my custom S2 layer. I had my data-munging hacks as well isolated as I could, and I backed off of them in a way that should have restored the most vanilla LJ style, but no luck. Creating a brand new child of the same parent fixes the problem, but loses my layout tweaks, colors, comment hack, auto-cutting long posts, and the admittedly scattershot quiz-blocker. I don't know whether it will be easier to debug the error in my current style or recode that stuff starting with the updated layer code. Either way it's kind of annoying; I appreciate the high degree of flexibility LJ allows me, but given that they let me do so much I wish they wouldn't toss in those few major hurdles that make S2 development such a pain.

Hmm. I could just add voiceposts to my set of widgets to be blocked... but it's probably better ultimately to do a clean rework.
jducoeur: (Default)

[personal profile] jducoeur 2006-04-18 10:06 pm (UTC)(link)
Ah, interesting -- hadn't occurred to me, but I'll bet the format change is breaking my style as well. I had noticed one instance of a page being cut off after a voice post, but hadn't realized that it might be anything more than a one-time flakiness. Special.

Do you have any idea *what* it is about voiceposts that causes the problem? I haven't looked into it at all yet...

[identity profile] learnedax.livejournal.com 2006-04-18 10:56 pm (UTC)(link)
Well, the essential change is embedded playing of voiceposts, rather than linking to them. I don't yet know what the specific data change is, or what code changed to handle it.