In the version 6.3.x it was necessary slightly to finish:
in showflat.php:
#
# Find:
#
// -----------------------
// Cycle through the posts
$query = "
SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_Rating,t2.U_Rates,t2.U_RealRating,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName,t1.B_ParentUser
#
# Change to:
#
// -----------------------
// Cycle through the posts
$query = "
SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_Rating,t2.U_Rates,t2.U_RealRating,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName,t1.B_ParentUser,t2.U_Visible
#
# Find:
#
for ($i=0; $i <$totalthread; $i++) {
list ($Number,$Username,$Posted,$IP,$Subject,$Body,$File,$Open,$Approved,$Picture,$Reged,$Title,$Color,$Icon,$Poll,$ParentPost,$PostStatus,$Signature,$LastEdit,$LastEditBy,$Location,$TotalPosts,$Registered,$Rating,$Rates,$stars,$picwidth,$picheight,$usernum,$downloads,$anonname,$ParentUser) = $dbh -> fetch_array($sth);
#
# Change to:
#
for ($i=0; $i <$totalthread; $i++) {
list ($Number,$Username,$Posted,$IP,$Subject,$Body,$File,$Open,$Approved,$Picture,$Reged,$Title,$Color,$Icon,$Poll,$ParentPost,$PostStatus,$Signature,$LastEdit,$LastEditBy,$Location,$TotalPosts,$Registered,$Rating,$Rates,$stars,$picwidth,$picheight,$usernum,$downloads,$anonname,$ParentUser,$Visible) = $dbh -> fetch_array($sth);
#
# Find:
#
$rateimage = "";
Online = "";
$postrow[$i] = "";
$postrow[$i]['Registered'] = "";
$postrow[$i]['Location'] = "";
$postrow[$i]['filelink'] = "";
$postrow[$i]['Rating'] = "";
$postrow[$i]['UserStatus'] = "";
$postrow[$i]['Picture'] = "";
$postrow[$i]['TotalPosts'] = "";
$postrow[$i]['Signature'] = "";
$postrow[$i]['replylinkstart'] = "";
$postrow[$i]['replylinkstop'] = "";
$postrow[$i]['editlinkstart'] = "";
$postrow[$i]['editlinkstop'] = "";
$postrow[$i]['quotelinkstart'] = "";
$postrow[$i]['quotelinkstop'] = "";
$postrow[$i]['addfavlinkstart'] = "";
$postrow[$i]['addfavlinkstop'] = "";
$postrow[$i]['notifylinkstart'] = "";
$postrow[$i]['notifylinkstop'] = "";
$postrow[$i]['mailpostlink'] = "";
$postrow[$i]['replyto'] = "";
$postrow[$i]['ParentPost'] = $ParentPost;
if ( ($Reged == 'y') && ($usernum != 1)){
#
# Change to:
#
$rateimage = "";
Online = "";
$postrow[$i] = "";
$postrow[$i]['Registered'] = "";
$postrow[$i]['Location'] = "";
$postrow[$i]['filelink'] = "";
$postrow[$i]['Rating'] = "";
$postrow[$i]['UserStatus'] = "";
$postrow[$i]['Picture'] = "";
$postrow[$i]['TotalPosts'] = "";
$postrow[$i]['Signature'] = "";
$postrow[$i]['replylinkstart'] = "";
$postrow[$i]['replylinkstop'] = "";
$postrow[$i]['editlinkstart'] = "";
$postrow[$i]['editlinkstop'] = "";
$postrow[$i]['quotelinkstart'] = "";
$postrow[$i]['quotelinkstop'] = "";
$postrow[$i]['addfavlinkstart'] = "";
$postrow[$i]['addfavlinkstop'] = "";
$postrow[$i]['notifylinkstart'] = "";
$postrow[$i]['notifylinkstop'] = "";
$postrow[$i]['mailpostlink'] = "";
$postrow[$i]['replyto'] = "";
$postrow[$i]['ParentPost'] = $ParentPost;
if ( ($Reged == 'y') && ($usernum != 1)){
// Start of Online Users hack
if ( $Visible == "yes" && in_array( $usernum, $OnlineUsers ) ) {
$postrow[$i]['online'] = "<b>Online!</b>";
} else {
$postrow[$i]['online'] = "Offline";
}
// End of Online Users hack
---------------------------------
Similarly in showthreaded.php
#
# Find:
#
list ($Number,$Posted,$Username,$IP,$SubjectMain,$Body,$File,$Open,$Approved,$Picture,$Reged,$Title,$Color,$Icon,$Poll,$ParentPost,$PostStatus,$Signature,$LastEdit,$LastEditBy,$Location,$TotalPosts,$Registered,$Rating,$Rates,$stars,$picwidth,$picheight,$usernum,$downloads,$anonname) = $dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);
$Rating = "";
$color = "darktable";
if ( ($Reged == "y") && ($usernum != 1) ){
#
# Change to:
#
list ($Number,$Posted,$Username,$IP,$SubjectMain,$Body,$File,$Open,$Approved,$Picture,$Reged,$Title,$Color,$Icon,$Poll,$ParentPost,$PostStatus,$Signature,$LastEdit,$LastEditBy,$Location,$TotalPosts,$Registered,$Rating,$Rates,$stars,$picwidth,$picheight,$usernum,$downloads,$anonname,$Visible) = $dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);
$Rating = "";
$color = "darktable";
if ( ($Reged == "y") && ($usernum != 1) ){
// Start of Online Users hack
$Online = "";
if ( $Visible == "yes" && in_array( $usernum, $OnlineUsers ) ) {
$Online = "<b>Online!</b>";
} else {
$Online = "Offline";
}
// End of Online Users hack
---------------------------------
All rest without changes...