sovay: (Sovay: David Owen)
sovay ([personal profile] sovay) wrote2016-06-06 05:27 am

You can call out me mother, me sister and me brother, but for Christ's sake don’t call me

Right. End of an era. After a vain month of waiting for LJ-support to get back to me about the problems with the now-unsupported style Refried Paper, I have changed my livejournal style for the first time since I started this thing at the very end of 2004. I wasted about two hours tonight trying to make the new one resemble my dear dead style as much as possible in color, font, and layout, but I didn't have the coding proficiency to make it look anything but awkward. So, scaling back, does anyone have suggestions on the following tweaks: wider margins, no underlining of links, and current music listed directly under post title? The new style appears to be called "Army Attire." It may well change again.

[identity profile] ladymondegreen.livejournal.com 2016-06-09 08:44 pm (UTC)(link)
Based on my reading of the code, I think the problem may be in this line:

1366:
[Error: Irreparable invalid markup ('<td $screenedfg>') in entry. Owner must fix manually. Raw contents below.]

Based on my reading of the code, I think the problem may be in this line:

1366: <td class="dateheader"$screenedfg><a href="$.permalink_url">$*text_subject</a></td>

I think it should be

1366: <td class="dateheader"$screenedfg><a href="$.permalink_url"$*text_subject</a></td>

[identity profile] ladymondegreen.livejournal.com 2016-06-09 08:45 pm (UTC)(link)
Also, ignore the
{Error: Irreparable invalid markup ('
[Error: Irreparable invalid markup ('<td [...] {...}>') in entry. Owner must fix manually. Raw contents below.]

Also, ignore the <I>
{Error: Irreparable invalid markup ('<td {...} $screenedfg>') in entry. Owner must fix manually. Raw contents below.}</I> That's just LJ freaking out because I didn't replace my <'s with ['s.
Edited 2016-06-09 20:46 (UTC)

[identity profile] ladymondegreen.livejournal.com 2016-06-10 06:31 am (UTC)(link)
My next step would be to try rendering line 1363 as either

if($subject !="*") {

or as

if($subject !="$*text_subject") {

or possibly even

if ($subject !="$.permalink_url") {

The thing I can't know is whether one of the data variables is gone.

The original string brings up a perfect Googlewhack, to a page about your template, but the source code isn't there anymore and I have to get on a conference call. I may chase this down later when I'm not doing QA for work.

[identity profile] ladymondegreen.livejournal.com 2016-06-10 03:50 pm (UTC)(link)
It looks like someone made an more recent version of Refried Paper here, which I'm leaving in this post as a resource.

This reference thread has some good resources for user icons in the comments, as well as discussions with [livejournal.com profile] decklin and [livejournal.com profile] idigital who developed Refried Paper for LJ (It apparently started life as a Blogger Skin called Currency by Mena Trott).

I'll keep poking the CSS in the hopes of restoring the user icons for comments and the titles for the previous entries.

[identity profile] ladymondegreen.livejournal.com 2016-06-10 04:11 pm (UTC)(link)
Further research indicates that you may need to add

}
property bool show_recent_items {
des = "Show previous entries in sidebar";

in the section that has similar values near the top of the stylesheet.

It may also be worth experimenting with setting this to false.

set view_entry_disabled = true;

Still looking at the userpic issue, but I think I have isolated the section of code. Unfortunately, I don't see anything wrong with it. I'm going to recruit an actual developer to see if I can get a second opinion, because a developer I am not.

[identity profile] ladymondegreen.livejournal.com 2016-06-10 06:25 pm (UTC)(link)
Ignore previous comment. This is the issue where they display fine in comments, but for reasons no one understands the style appends text to identify them rather than just showing them normally?

I think what's causing that is in this cluster where it says picture_keyword. Try taking out just that section (and be ready to paste it back in) and see if that fixes it? Italics are mine for emphasis.

$alttext = $poster_name;
if((not $.poster->equals($.journal)) and ($.depth == 0)) {
$journal_name = $.journal.name;
$alttext = $alttext + " posting in $journal_name";
}
if($.metadata{"picture_keyword"} != "") {
$alttext = $alttext + ": " + $.metadata{"picture_keyword"};
}

if(defined $.userpic) {
$userpic = """$alttext""";
}