default icon / profile link

Feb 15, 2009 12:42

First off, I love this community.

Secondly, my problem...
1. Journal you are trying to modify: rumblefish
2. Account Level (basic, plus, paid): Paid
3. What are you trying to accomplish?: I would like to remove the border that is above the title of my journal and remove the "wrote in" text on the friends page.

EDIT: Also, I would like to use a layer code ( Read more... )

text, borders, friends page

Leave a comment

ex_uniquewo February 15 2009, 20:28:42 UTC
Here's your code then:
set active_theme = "x0";
set theme_css = "x-1-1.css";

set text_user_posts_in = "";

function _taglist(int max, int multiplier) {
var Page p = get_page();
var TagDetail[] total_tags = $p->visible_tag_list();
var int most_count = 1;
var TagDetail[] tags;
var int tcount = 0;
var string[] links = [];
var int[][] graph;
var int skipped = 0;
if (size $total_tags > $max) {
var int toskip = size $total_tags - $max;
foreach var TagDetail tag ($total_tags) {
$graph[$tag.use_count][size $graph[$tag.use_count]] = $tcount;

$tcount++;

}
var int T1c = 0;
foreach var int[] T1 ($graph) {
if ($T1) {

var int[] newT1;
if (size $T1 <= $toskip) {
$toskip = $toskip - size $T1;
$graph[$T1c] = $newT1;
$skipped++;
} elseif (size $T1 > $toskip and $toskip > 0) {
foreach var int T2 (reverse $T1) {
if ($toskip > 0) {
$toskip = $toskip - 1;
} else {
$newT1[size $newT1] = $T2;
}
}
$graph[$T1c] = reverse $newT1;
}
}
$T1c++;
}
$tcount = 0;
foreach var TagDetail tag ($total_tags) {
var bool ok = false;
foreach var int tc ($graph[$tag.use_count]) {
if ($tc == $tcount) {
$ok = true;
}
}
if ($ok) {
$tags[size $tags] = $tag;
}
$tcount++;

}
} else {
foreach var TagDetail tag ($total_tags) {
$tags[$tcount] = $tag;
$tcount++;
}

}

foreach var TagDetail tag ($tags) {

if ($tag.use_count > $most_count) {
$most_count = $tag.use_count;
}
}
$most_count = $most_count - $skipped;
foreach var TagDetail tag ($tags) {
var string text = "1";
var string text2 = "1";
var int use_count = $tag.use_count - $skipped;
var string count_text = get_plural_phrase($tag.use_count, "text_tag_uses");
if ($use_count > 1) {
var int whole = ($use_count*$multiplier/$most_count) + 100;
var string mod = string($whole%100);
$text = string($whole/100) + "." + (($mod->length()==1)?"0$mod":$mod);
}

if ($*tag_display == "list") {
$links[size $links] = """ $tag.name""";
} else {
$links[size $links] = """ $tag.name""";
}

}
var string delimiter = "";
var int scount = 0;
if ($*tag_display == "list") {
"""
    """;
    foreach var string s ($links) {
    print safe """
  • $s
  • """;
    }
    if (size $total_tags > $max) {
    """
  • …
  • """;
    }
    """
""";
} else {
foreach var string s ($links) {
if ($scount != (size $links - 1)) {
$delimiter = """, """;
} else {
$delimiter = "";
}
$scount++;
print safe """$s$delimiter""";
}
if (size $total_tags > $max) {
""", …""";
}
}
}

You shouldn't lose anything if you use a theme layer and not a user layer. Your default theme colors are included if you set them in the theme (that's what the set active_theme and set theme_css bits are for) but theme layers have nothing to do with custom colors and other customizations done in LJ's interface.

Reply

ex_rumblefi February 15 2009, 20:41:34 UTC
It worked perfectly. Thank you so much for all of your help :)

Reply

ex_uniquewo February 15 2009, 20:43:17 UTC
Glad it does. You're most welcome!

Reply


Leave a comment

Up