Im IRC werden die Sachen zwar übertragen, aber da wo der Name des Posters erscheinen sollte kommt nichts.
Habe mir mal das Script angesehen, und es sucht in der Posting.php nach folgender Variable $poster. Die gibt es aber nicht in der Plusversion, habe die mal mit $username ausgetauscht aber das geht auch nicht. Es kann schon sein, dass ich einen Fehler gemacht habe.
Kann mir bitte jemand sagen welche Variable ich statt $Poster angeben soll?
Hier mal der code nach dem ich in der posting.php suchen sollte, diesen gibt im phpbb plus nicht. Da kommt die Variable $poster vor, die es im Plus nicht gibt.
Code: Alles auswählen
Suche:
if ( $error_msg == '' )
{
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length, $max_vote, $hide_vote, $tothide_vote, $k_id, $topic_calendar_time, $topic_calendar_duration);
$poster = ($userdata['session_logged_in']) ? $userdata['username'] : '';
$postdate = create_date($board_config['default_dateformat'], time(), $board_config['board_timezone']);
Einfuegen:
// ---- 23net-thread - Output ----
include ("bot.php");
Notiz: Die If-Klausel endet darunter mit....:
}
break;