wer kann mir helfen ??
der Code für die passage des selfmods ist :
viewforum.php
#
#-----[ FIND ]------------------------------------------------
#
// Grab all the basic data (all topics except announcements)
// for this forum
//
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Self auth MOD
//$self_sql = ( intval($is_auth['auth_read']) == AUTH_SELF ) ? " AND t.topic_poster=".$userdata['user_id'] : "";
$self_sql = ( intval($is_auth['auth_read']) == AUTH_SELF ) ? " AND t.topic_poster='".$userdata['user_id']."'" : "";
// End add - Self auth MOD
#
#-----[ FIND ]------------------------------------------------
#
$sql = "SELECT t.*
FROM
WHERE t.forum_id = $forum_id
#
#-----[ IN-LINE FIND ]----------------------------------------
#
WHERE t.forum_id = $forum_id
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
$self_sql
#
#-----[ FIND ]------------------------------------------------
#
$s_auth_can .= ( ( $is_auth['auth_reply'] ) ?
#
#-----[ IN-LINE FIND ]----------------------------------------
#
$lang['Rules_reply_can']
#
#-----[ IN-LINE REPLACE WITH ]--------------------------------
#
(( intval($is_auth['auth_reply']) == AUTH_SELF) ? $lang['Rules_reply_can_own'] : $lang['Rules_reply_can'])
und der muss ja irgendwie mit diesem
viewforum.php
#
#-----[ FIND ]-----------------------------------
#
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]-------------------------------------------
#
$sql = "SELECT post_text FROM " . POSTS_TEXT_TABLE . " WHERE post_id=" . $topic_rowset[$i]['topic_last_post_id'];
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$last_post = $row['post_text'];
$char_limit = '775';
if (strlen($last_post) > $char_limit)
{
$last_post=substr($last_post, 0, $char_limit) . "....";
}
$last_post = preg_replace("/\[.+\]/iU",'',$last_post);
$last_post = str_replace(array('"', '\''), array('"e;', '\''), $last_post);
#
#
#-----[ FIND ]-----------------------------------
#
'LAST_POST_TIME' => $last_post_time,
#
#-----[ AFTER, ADD ]-------------------------------------------
#
'LAST_POST_RESULT' => $last_post,
verknüpft werden ... denke mir das sollte eine if Anweisung sein ... oder ??
Danke für eure Hilfe!!
Danke !!!