[opal][theme][profile box][random user pic in profile]

Dec 04, 2004 08:59

Ok lots of goodies today. This makes a profile box like component has but its for opal. This also makes you have a random user pic that generates inside the profile box =^.^=

Red is things you can customize
Black is very important please do not remove
Green are my comments
#Insert this code directly after the stylesheet codes end.
function Page::lay_print_sidebar() {

var string[] pic;
#These are the user pics that i use, change them to your own, continue on with the whole 15     $pic[0]="http://www.livejournal.com/userpic/17731587/760252";
    $pic[1]="http://www.livejournal.com/userpic/17731568/760252";
var int randpic = rand(0, ((size $pic) - 1));

#This starts the new box
var string header = "";
var string body   = "";
$header = "";
$body   = """



#Insert stuff you want in the box, aim names email etc.
"""; print_box($header, $body);

$this->lay_print_freetext();
$this->lay_print_calendar();
$this->print_linklist();
#End Customization Error Free
Edit: I used
tags and no auto format.. no idea why its so spaced like that..

!all, layout opal, sidebar box

Previous post Next post
Up