View Full Version : Friends page not working


Naz
06-21-2006, 01:41 PM
I got the overrides from a friend of mine a while back and everything works fine except my friends page is not working as my friends aren't showing up there.

I think it has something to do with either FRIENDS_PAGE or FRIENDS_TALK_LINKS so I just posted those snippets from my overrides:

FRIENDS_TALK_LINKS<=
<tr>
<td align="right" colspan="2" width="100%" bgcolor="%%color:weak_back%%" class="comments">
%%readlink%%<a href="%%urlpost%%">Reply</a>
</td>
</tr>
<=FRIENDS_TALK_LINKS

FRIENDS_TALK_READLINK=><a href="%%urlread%%"><b>%%messagecount%%</b></a>

FRIENDS_WEBSITE<=
<style type="text/css">
<!--
table table table table .meta {
visibility: hidden; position: absolute; top: 1px
}
table table table table table .meta {
visibility: visible; position: relative; top: 1px
}
-->
</style>
<tr><td colspan="5" width="100%">
<table style="float:right" cellspacing="0" border="0" cellpadding="0">
<tr><td class="meta">
<=FRIENDS_WEBSITE

FRIENDS_TALK_LINKS<=
<tr>
<td align="right" colspan="2" width="100%" bgcolor="%%color:weak_back%%" class="comments">
%%readlink%%<a href="%%urlpost%%">Reply</a>
</td>
</tr>
<=FRIENDS_TALK_LINKS

FRIENDS_TALK_READLINK=><a href="%%urlread%%"><b>%%messagecount%%</b></a>



FRIENDS_WEBSITE<=
<style type="text/css">
<!--
table table table table .meta {
visibility: hidden; position: absolute; top: 1px
}
table table table table table .meta {
visibility: visible; position: relative; top: 1px
}
-->
</style>
<tr><td colspan="5" width="100%">
<table style="float:right" cellspacing="0" border="0" cellpadding="0">
<tr><td class="meta">
<center>
<a href="http://www.livejournal.com/userinfo.bml?user=plucko&mode=full">User info</a> &hearts; <a href="http://livejournal.com/users/plucko/calendar">Calendar</a> &hearts; <a href="http://www.silent-emotion.org" target="_blank">Personal site</a> &hearts; <a href="http://plucko.livejournal.com/">Home</a>
</center>
</td></tr></table></td></tr>
<=FRIENDS_WEBSITE

FRIENDS_PAGE<=
<tr>
<td colspan="5" width="100%">
<table style="float:right" cellspacing="0" border="0" cellpadding="0"
<tr><td class="meta">
%%username%%
</td></tr></table></td></tr>
<=FRIENDS_PAGE

LASTN_TALK_LINKS<=
<tr>
<td align="right" colspan="2" width="100%" bgcolor="%%color:weak_back%%" class="comments">
%%readlink%% | <a href="%%urlpost%%">reply</a>
</td>
</tr>
<=LASTN_TALK_LINKS

</td></tr></table></td></tr>
<=FRIENDS_WEBSITE


I'm wondering what's wrong with the overrides? Could anyone help me? Thanks in advance.

bourdelson
06-25-2006, 09:12 PM
The problem is that you're using FRIENDS_PAGE to define the overall page, when that is not a valid variable in LiveJournal overrides.

Change FRIENDS_PAGE to FRIENDS_HEAD and see if it works.

Also, you have an extra <=FRIENDS_WEBSITE at the bottom of the third portion of code you posted.

Another also, do you have a personal website listed in your LJ profile? Because if you don't, then the *_WEBSITE override will not work, and that could also cause problems.