... so, bin dabei einige kleine Bugs zu beseitigen ...
@Sebas Bonito bzw. Schnick und Schnack
... mit dem Profillink für Gäste hast du natürlich Recht ...
... mit folgender Änderung werden bei Kommentareinträgen von Gästen deren Namen nicht mehr als Link zum Profil angezeigt ...
... finde in comments_all.php ...
if ( $user_info['user_level'] == GUEST ) {
$comment_user_profile_link = "";
} else {
$comment_user_profile_link = $site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$comment_user_id);
}
$comment_user_profile_link = ($comment_user_profile_link) ? "<a href=\"".$comment_user_profile_link."\">".$comment_user_name."</a>" : $comment_user_name;
... und ersetzte es durch ...
if ( $user_info['user_level'] == GUEST ) {
$comment_user_profile_link = "";
} else {
if ( $comment_user_id == -1 ) {
$comment_user_profile_link = "";
} else {
$comment_user_profile_link = $site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$comment_user_id);
}
}
$comment_user_link = ($comment_user_profile_link) ? "<a href=\"".$comment_user_profile_link."\">".$comment_user_name."</a>" : $comment_user_name;
... im MOD-Post auf der ersten Seite erfolgte ein Update ...
@Sun
... I can't find any solution ...
... maybe there is a bug in my paging class ... in includes/paging.php ...
@V@no
... I think, $num_comments is very needed ...
... and your $sql - hint ... I can't understand it ...
... will your hints resolved the paging bug ... ?