Alix Strange (agneson9) wrote in s2expressive,
Alix Strange
agneson9
s2expressive

usericons to usericons page

I would like by clicking on usericons in friends view to link to the usericons page.

I tried to do it myself but... no go. This (see cut) is what I did. Nothing changes. What should I be doing?

SOLVED.

function print_entry

var string userpic = ($showuserpic and defined $e.userpic) ? ($e.userpic + "<br />") : "";
if ($showuserpic) {
if ($bgcolor) {
"""<div class="user-icon" style="border: 1px; padding: 2px; background-color: $bgcolor;"><a href="$*SITEROOT/allpics.bml?user=$e.poster.username">$userpic</a>""";
} else {
"""<div class="user-icon"><a href="$*SITEROOT/allpics.bml?user=$e.poster.username">$userpic</a>""";

}


Tags: entries:user icons, pageviews:friends, s2:theme layer
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments