pasithea: glowing girl (Default)
[personal profile] pasithea
Why do [livejournal.com profile] kinkyturtle's and only his voice posts break my f***ing LJ style and make me have to jump around them? Why why why why?

(no subject)

Date: 2007-01-25 05:36 am (UTC)
ext_646: (Default)
From: [identity profile] shatterstripes.livejournal.com
Hmm, it breaks right at the little Flash player, too. I remember having problems just like this when they first introduced that. LJ's HTML cleaner is kinda stupid, and just STOPS when it gets to a FORBIDDEN TAG.

Having other people's voice posts show up is weird, though. For me, everybody's voice posts started crashing my LJ style until I found a fix:
# this is because some wilson at LJ thought the flash players for voice posts would be k00l.
if ($e.text_must_print_trusted)
{
"""
"""; $e->print_text(); "
";
} else {
var string replaced_text;
$replaced_text = replace_text ($e.text,"

","

");
"""

"""+$replaced_text+"""
""";
}


(the 'replace_text' function is one I found somewhere; I turn paired BRs into Ps.)

(no subject)

Date: 2007-01-25 05:41 am (UTC)
ext_646: (Default)
From: [identity profile] shatterstripes.livejournal.com
pardon my forgetting to escape brackets.


# this is because some wilson at LJ thought the flash players for voice posts would be k00l.
if ($e.text_must_print_trusted)
{
   """
   <div class="contents">"""; $e->print_text(); "</div>";
} else {
   var string replaced_text;
   $replaced_text = replace_text ($e.text,"<br /><br />","<p>");
   """
   <div class="contents">"""+$replaced_text+"""</div>""";
}


basically, if the entry's text_must_print_trusted field is 'true' the you HAVE to use routines that live in the trusted LJ style code to print it, rather than ones in your own custom style - because LJ is afraid you could do Bad Things with embedded Flash.

(no subject)

Date: 2007-01-25 05:44 am (UTC)
ext_646: (Default)
From: [identity profile] shatterstripes.livejournal.com
And if you're not using your own custom LJ style layers in ay way shape or form, then this error probably means someone at LJ forgot to update the style you use to deal with the advent of printing Flash-tainted posts; try using a different style and see if KT's voice posts come through (they do when I log in as me and go to http://dv-girl.livejournal.com/friends?style=mine ) and then decide if you want to fuck around with finding and customizing a new LJ look, or bitching at LJ until they fix it.

February 2012

S M T W T F S
   1234
567891011
12 131415161718
19202122232425
26272829   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 1st, 2026 12:18 pm
Powered by Dreamwidth Studios