Help - Search - Members - Calendar
Full Version: Friends page not working
Forums > Resource Center > Support Center > Livejournal Support > Livejournal Resolved Topics
Plucko
I didn't write this override but I got it from a friend of mine, but the friends page isn't working properly as my friends aren't showing up and it gave me an error before (sorry I don't remember the exact error because I appeared to have fixed it).

I *think* it has something to do with my FRIENDS* codes but I ain't sure so if you need anything else just ask. :)

Here's the 'friends_' parts of my code:

CODE
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>


CODE
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>


CODE
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 hope anyone's able to help me out. Thanks in advance!
Libertie
If you're JUST using this part of the code, you should be fine:

CODE
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>


Any of the rest is repetitive or unneeded. _smile.gif
Plucko
QUOTE(Libertie @ Jun 22 2006, 12:33 AM) *
If you're JUST using this part of the code, you should be fine:

CODE
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>


Any of the rest is repetitive or unneeded. _smile.gif


Thanks a lot, but the friends still don't show up on my friends page ermm.gif http://plucko.livejournal.com/friends.

My current coding:

CODE
LASTN_TALK_READLINK=><a href="%%urlread%%"><b>%%messagecount%%</b></a>

CALENDAR_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>
<=CALENDAR_WEBSITE

LASTN_DATE_FORMAT=><font color="202020">%%daylong%% %%dth%% %%monlong%% %%yyyy%% %%24h%%:%%min%%</font>

LASTN_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>
<=LASTN_WEBSITE

GLOBAL_HEAD<=
<style type="text/css">
body {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    scrollbar-face-color: #CCE2CA;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #CCE2CA;
    scrollbar-darkshadow-color: #CCE2CA;
    scrollbar-track-color: #CCE2CA;
    scrollbar-arrow-color: #000000;

    background-color: #CCE2CA;

    border: 0px;

}
textarea, input, iframe {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    background: #EAF9E8;

    border: 2px solid #FFFFFF;
}
A:link {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:visited {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:active {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
A:hover {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
div {
    text-align: center;
}
div div {
    width: 100%;
}
table div {
    text-align: center;
}
table {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    width: 450px;
}
table table,
table table table table {
    border: 0px;

    background-color: transparent;

}
table table table {
    background-color: transparent;

    border: 0px;

    width: auto;
}
td, tr {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
}
b {
    font-family: Tahoma;
    color: #829F7F;
}
i {
    font-family: Tahoma;
    color: #829F7F;
}
u {
    font-family: Tahoma;
    color: #829F7F;
}
img {
    border: 0px;
}
tr.caption{
display:none
}
.shadowed td div{
visibility: hidden;
position: absolute;
top: 1px
}
.shadowed img{
visibility:hidden;position:absolute;top:0
}
p .index {
color: #60755E;
font-family: Tahoma;
font-size: 9px;
}
</style>
<=GLOBAL_HEAD

DAY_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>
<=DAY_WEBSITE

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

CALENDAR_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>
<=CALENDAR_WEBSITE

LASTN_DATE_FORMAT=><font color="202020">%%daylong%% %%dth%% %%monlong%% %%yyyy%% %%24h%%:%%min%%</font>

LASTN_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>
<=LASTN_WEBSITE

GLOBAL_HEAD<=
<style type="text/css">
body {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    scrollbar-face-color: #CCE2CA;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #CCE2CA;
    scrollbar-darkshadow-color: #CCE2CA;
    scrollbar-track-color: #CCE2CA;
    scrollbar-arrow-color: #000000;

    background-color: #CCE2CA;

    border: 0px;

}
textarea, input, iframe {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    background: #EAF9E8;

    border: 2px solid #FFFFFF;
}
A:link {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:visited {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:active {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
A:hover {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
div {
    text-align: center;
}
div div {
    width: 100%;
}
table div {
    text-align: center;
}
table {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    width: 450px;
}
table table,
table table table table {
    border: 0px;

    background-color: transparent;

}
table table table {
    background-color: transparent;

    border: 0px;

    width: auto;
}
td, tr {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
}
b {
    font-family: Tahoma;
    color: #829F7F;
}
i {
    font-family: Tahoma;
    color: #829F7F;
}
u {
    font-family: Tahoma;
    color: #829F7F;
}
img {
    border: 0px;
}
tr.caption{
display:none
}
.shadowed td div{
visibility: hidden;
position: absolute;
top: 1px
}
.shadowed img{
visibility:hidden;position:absolute;top:0
}
p .index {
color: #60755E;
font-family: Tahoma;
font-size: 9px;
}
</style>
<=GLOBAL_HEAD

DAY_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>
<=DAY_WEBSITE

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>
<=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>



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
Libertie
edit; Oops, I guess nothing shows up on my friends page anyway. Hold on.

You were just missing the closing tags at the end of FRIENDS_WEBSITE. I added them and cleaned up the code a bit..

CODE
GLOBAL_HEAD<=
<style type="text/css">
body {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    scrollbar-face-color: #CCE2CA;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #CCE2CA;
    scrollbar-darkshadow-color: #CCE2CA;
    scrollbar-track-color: #CCE2CA;
    scrollbar-arrow-color: #000000;

    background-color: #CCE2CA;

    border: 0px;

}
textarea, input, iframe {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;

    background: #EAF9E8;

    border: 2px solid #FFFFFF;
}
A:link {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:visited {
    font-family: Tahoma;
    font-size: 9px;
    color: #C3D3C2;

    font-weight: bold;
    text-decoration: none;
}
A:active {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
A:hover {
    font-family: Tahoma;
    font-size: 9px;
    color: #9EAA9D;

    font-weight: bold;
    text-decoration: none;
}
div {
    text-align: center;
}
div div {
    width: 100%;
}
table div {
    text-align: center;
}
table {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    width: 450px;
}
table table,
table table table table {
    border: 0px;

    background-color: transparent;

}
table table table {
    background-color: transparent;

    border: 0px;

    width: auto;
}
td, tr {
    font-family: Tahoma;
    font-size: 9px;
    color: #6D6D6D;
}
b {
    font-family: Tahoma;
    color: #829F7F;
}
i {
    font-family: Tahoma;
    color: #829F7F;
}
u {
    font-family: Tahoma;
    color: #829F7F;
}
img {
    border: 0px;
}
tr.caption{
display:none
}
.shadowed td div{
visibility: hidden;
position: absolute;
top: 1px
}
.shadowed img{
visibility:hidden;position:absolute;top:0
}
p .index {
color: #60755E;
font-family: Tahoma;
font-size: 9px;
}
</style>
<=GLOBAL_HEAD

LASTN_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>
<=LASTN_WEBSITE

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

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

LASTN_DATE_FORMAT=><font color="202020">%%daylong%% %%dth%% %%monlong%% %%yyyy%% %%24h%%:%%min%%</font>



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_TALK_READLINK=><a href="%%urlread%%"><b>%%messagecount%%</b></a>

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_DATE_FORMAT=><font color="202020">%%daylong%% %%dth%% %%monlong%% %%yyyy%% %%24h%%:%%min%%</font>



DAY_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>
<=DAY_WEBSITE

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

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

DAY_DATE_FORMAT=><font color="202020">%%daylong%% %%dth%% %%monlong%% %%yyyy%% %%24h%%:%%min%%</font>


CALENDAR_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>
<=CALENDAR_WEBSITE
Plucko
Thank you, but it still ain't working :(
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.