(no subject)

May 25, 2009 13:01

So I checked through all the entries tagged with "linkbar" and "metadata", and did not find my answer.

Is there anyway to stick the linkbar directly after the entries or the metadata? I'm having an adjustable layout that spans the whole monitor, so if people do not put enough text, the usericon pushes the linkbar down and there's a gap. ( for example in this picture, you can see it happening on the top & bottom entries; the middle entry is long enough and looks fine ). Any idea how to do this? The linkbar would have to snap to the metadata or, if the user has not put any metadata, the entry itself.
SOLVED! thank you semitohelo 8'''D

--

Aaaaand, because I am a twitter-hating miser, here's some code for filtering out twitter posts:

function Entry::lay_print(Page p, Color bg, Color fg, bool usecolour) {
# ---------------------------------------------------- FILTER TWITTER
# filter twitter on FRIENDS view
if ( $p.view=="friends" ) {
"""""";
var string entryOriginal = $.text;

# IF IT HAS TWEETS; don't print
if ($entryOriginal->contains("LoudTwitter") ) {
return;
# ELSE PRINT
} else {
"""
""";
$this->lay_print_subjectline($bg,$fg,$usecolour);
"""""";
if ($*layout_position_userinfo_entry=="left" or $*layout_wrapping_userinfo_entry ) {
$this->lay_print_userinfo();
if (not $*layout_wrapping_userinfo_entry) {"""""";}
}
if ($*layout_position_metadata=="above") { $this->print_metadata(); }
"""
"""; $this->print_text(); """""";
if ($*layout_position_metadata=="below") { $this->print_metadata(); }
if ($*layout_position_userinfo_entry=="right" and not $*layout_wrapping_userinfo_entry) {
"""""";
$this->lay_print_userinfo();
}
"""""";
$this->print_linkbar();
"""""";
}
}
}

Right now it just filters out all posts containing the phrase "Loud-Twitter" (w/o dash) when you're looking at your friends page. But you can switch this so that your or your friends' tweets show up in different colors and styles, &c, by containing everything in
boxes and stuff, and then changing up the css.

Ssssssoooo, yea. 8D

link bar

Previous post Next post
Up