Re: Hilfe... 2x Quote
Verfasst: 29.03.2014 11:43
Versuch mal folgendes,
Finde in deiner
Ersetze es damit:
Finde in deiner
posting.php
dashier:
Code: Alles auswählen
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n"; //Edit by Luc to support quoting attachments
if ($post_data['attach_id'])
{
if(isImage($post_data['real_filename'])){
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "\n[img]". getPageURL() . "download/file.$phpEx?id=" . $post_data['attach_id'] . "[/img][/quote]\n";
} else {
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "\n[url=". getPageURL() . "download/file.$phpEx?id=" . $post_data['attach_id'] . "]" . $post_data['real_filename'] . "[/url][/quote]\n";
}
}
else
{
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n";
}
//End of Edit
Code: Alles auswählen
// Decode text for message display
$post_data['bbcode_uid'] = ($mode == 'quote' && !$preview && !$refresh && !sizeof($error)) ? $post_data['bbcode_uid'] : $message_parser->bbcode_uid;
$message_parser->decode_message($post_data['bbcode_uid']);
if ($mode == 'quote' && !$submit && !$preview && !$refresh)
{
if ($config['allow_bbcode'])
{
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n"; //Edit by Luc to support quoting attachments
if ($post_data['attach_id'])
{
if(isImage($post_data['real_filename'])){
$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "\n[img]". getPageURL() . "download/file.$phpEx?id=" . $post_data['attach_id'] . "[/img][/quote]\n";
}
}
//End of Edit