Okay here is my trial go at it (no laughing

)
Quote:
RUN THIS QUERY:
ALTER TABLE user ADD postorder smallint(6) unsigned NOT NULL
OPEN SHOWTHREAD.PHP AND FIND AROUND LINE 111:
// oldest first or newest first
if ($postorder==0) {
$postorder="";
} else {
$postorder="DESC";
}
AND CHANGE TO THIS:
// oldest first or newest first
if ($bbuserinfo[postorder]==0) {
$postorder="";
} else {
$postorder="DESC";
}
OPEN MEMBER.PHP AND FIND AROUND LINE 637:
if ($bbuserinfo[showsignatures]) {
$showsignatureschecked="checked";
$showsignaturesnotchecked="";
} else {
$showsignatureschecked="";
$showsignaturesnotchecked="checked";
}
ADD BEFORE IT:
if ($bbuserinfo[postorder]) {
$postorderchecked="checked";
$postordernotchecked="";
} else {
$postorderchecked="";
$postordernotchecked="checked";
}
FIND AROUND LINE 841:
$options=iif($showsignatures=="yes",1,0);
ADD BEFORE IT:
$options=iif($postorder=="yes",1,0);
UPLOAD SHOWTHREAD.PHP AND MEMBER.PHP
OPEN TEMPLATE MODIFY OPTIONS AND FIND:
<tr>
<td bgcolor="#1C5780"><normalfont><b>Show user's signatures in their posts?</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont>
<input type="radio" name="showsignatures" value="yes" $showsignatureschecked> yes
<input type="radio" name="showsignatures" value="no" $showsignaturesnotchecked> no
</normalfont></td>
</tr>
ADD BEFORE IT:
<tr>
<td bgcolor="#1C5780"><normalfont><b>Show posts in decending order?</b></normalfont></td>
<td bgcolor="#1C5780"><normalfont>
<input type="radio" name="postorder" value="yes" $postorderchecked> yes
<input type="radio" name="postorder" value="no" $postordernotchecked> no
</normalfont></td>
</tr>
|
What do I need to work on to get it working correctly?