Log in

No account? Create an account
02 April 2002 @ 01:33 pm
Refried Paper Override: How to Display a Userpic  
Many LiveJournal users using the system 'Refried Paper' template wish to put the his/her userpics in the menu sidebar on the right of the recent entries ('lastn') view. A direct solution is only available to LiveJournal paid members: modification of those links under the LASTN_PAGE segment of a personal style template created based on the Refried Paper style; or override of LASTN_PAGE, which remains permissible for LiveJournal paid members.

However, customization of putting a userpic in the Refried Paper can be accomplished by all LiveJournal users, even free account holders. The override code for doing so starts with putting the below override code in the 'Style Override' box located at the bottom of 'Modify Journal' (http://www.livejournal.com/modify.bml).


<tr><td bgcolor="#000000"><img src="http://img.livejournal.com/dot.gif" width="1" height="1"></td></tr>

<tr><td bgcolor="#CCCCCC"><font class="subhead">my picture</font></td></tr>

<tr><td bgcolor="#000000"><img src="http://img.livejournal.com/dot.gif" width="1" height="1"></td></tr>

<tr><td align=center class="links"><div align=center><img src="http://www.livejournal.com/userpic/1406629" height="100" width="100"></div>

Because the override is not using the system variable %%userpic%%, whenever the LiveJournal user wants to change the default userpic, the override will need to be updated to reference the new userpic being used. This is denoted above in red. The user will be available to use his/her own wordings to the title bar that will appear above the image, denoted in yellow.

This override will be operational only if the livejournalist actually specifies a personal website under the profile settings. In the sample code given above, the website link is not actually carried through, since all links are being erased here anyway.

Variable Reference: LASTN_WEBSITE


Only one override is permitted for each specific override block.
If you are currently using a LASTN_WEBSITE override to accomplish other customizations,
this would need to be combined with that existing override.
Current Music: The Corrs - Radio
Aaron B. Russellidigital on April 2nd, 2002 10:54 am (UTC)
Cool :) (Userpics will be there in RP1.1... whenever that's finished ;)
Life is a Highwayhighway on April 2nd, 2002 10:59 am (UTC)
Heheh ...no hurry :)
LJ Overrideljoverride on April 5th, 2002 03:50 pm (UTC)
minor correction
unless i'm just too plain tired, "based on the Generator style" in the first paragraph should be "based on the Refried Paper style"

if so, then feel free to delete this note after it's served its purpose
Life is a Highwayhighway on April 5th, 2002 08:44 pm (UTC)
Re: minor correction
Changed... thanks.