Das waren meine Schritte:
1. db_field_definitions.php
$additional_user_fields['user_signature'] = array($lang['user_signature'], "text", 0);
2. page_header.php
"lang_signature" => $lang['signature'],
3. detail.php
$sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").get_user_table_field(", u.", "user_signature").$additional_sql.", u.userpic
FROM ".COMMENTS_TABLE." c
3.a.
elseif ($is_image_owner) {
$admin_links .= ($config['user_edit_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=editcomment&".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['edit']."</a> ";
$admin_links .= ($config['user_delete_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=removecomment&".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['delete']."</a>";
}
$signature = format_text($comment_row[$i]['user_signature'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
if ($boardconfig['alow_sig'] == 1) {
$sig = '<br><br>' . $signature ;
} else {
$sig = "";
}
$site_template->register_vars(array(
"comment_id" => $comment_row[$i]['comment_id'],
"lang_comments_per_page" => $lang['comments_per_page'],
3.b.
"comment_user_ip" => $comment_user_ip,
"comment_sig" => $sig,
"comment_userpic" => ($config['userpic'] && $comment_row[$i]['us
4. comment_bit.html
</table>
<hr size="1" />
{comment_text}
-{comment_sig}- </td>
</tr>
Das wars soweit, in der db gibt es ja durch das board schon das feld user_signature
Grüße Darkness