ricker |
12-10-2005 03:48 PM |
Quote:
Originally Posted by :Judge:
Would you care to show any of that?
|
You bet! Here is the last section of code I have for the plugin ... it looks like I commented out a couple of lines:
Code:
$FRIENDSFOES = "<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\"
cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">";
$FRIENDSFOES .= "<tr>";
if ($whichlist == "buddylist") { $FRIENDSFOES .= "<td class=\"tcat\" colspan=\"3\">$userinfo[username]s Friends ($inoutcounter) <!--... $mutual% Mutual--></td>"; }
// if ($whichlist == "ignorelist") { $FRIENDSFOES .= "<td class=\"tcat\" colspan=\"2\">$userinfo[username]s Foes ($inoutcounter) <!--... $mutual% Mutual--></td>"; }
$FRIENDSFOES .= "</tr><tr>";
$FRIENDSFOES .= "<td class=\"alt2\" colspan=\"2\">";
$FRIENDSFOES .= " <table>";
$FRIENDSFOES .= " <tr>";
$FRIENDSFOES .= $inoutuserlist;
$FRIENDSFOES .= " </tr>";
$FRIENDSFOES .= " </table>";
$FRIENDSFOES .= "</td>";
$FRIENDSFOES .= "</tr></table>";
and I actually set up a conditional so that each user can specify in their profile whether or not they want to have their friends shown ...
Code:
<if condition="$post[field24] == Yes">
$FRIENDSFOES
</if>
Example: here. If you click on any of my "friends," odds are they haven't activated the profile field yet and their "friends" will be at the default of off.
|