Problem:hide hack

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Olaf

Problem:hide hack

Beitrag von Olaf »

Hi Hab den Hide Hack installiert:
Folgende Probleme:

Auf der Portal.php erscheint das
Parse error: parse error in /home/webuser/web2/html/includes/bbcode.php on line 332

Warning: Cannot add header information - headers already sent by (output started at /home/webuser/web2/html/includes/bbcode.php:332) in /home/webuser/web2/html/includes/page_header.php on line 511

Warning: Cannot add header information - headers already sent by (output started at /home/webuser/web2/html/includes/bbcode.php:332) in /home/webuser/web2/html/includes/page_header.php on line 513

Warning: Cannot add header information - headers already sent by (output started at /home/webuser/web2/html/includes/bbcode.php:332) in /home/webuser/web2/html/includes/page_header.php on line 514
Fatal error: Call to undefined function: make_clickable() in /home/webuser/web2/html/portal.php on line 396

Der hide hack an sich funzt auch nit... der button is zwar da aber sonst..
Olaf

Beitrag von Olaf »

Posten kann ich auch nich...
$text = preg_replace("#\[i\](.*?)\[/i\]#si", "[i:$uid]\\1[/i:$uid]", $text);

// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\]((ht|f)tp://)([^\r\n\t<\"]*?)\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);
//[hide]message[/hide]
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","[hide:$uid]\\1[/hide:$uid]", $text)
// Remove our padding from the string..
return substr($text, 1);;

} // bbencode_first_pass()

/**
* $text - The text to operate on.
* $uid - The UID to add to matching tags.
* $open_tag - The opening tag to match. Can be an array of opening tags.
* $close_tag - The closing tag to match.
* $close_tag_new - The closing tag to replace with.
* $mark_lowest_level - boolean - should we specially mark the tags that occur
olaf

Beitrag von olaf »

das war Zeile 332 in bbcode

Hier ist Zeile 194, die is auch fehlerhaft
// prepare array for use in regexps.
$bbcode_tpl = prepare_bbcode_template($bbcode_tpl);
}

//

Code: Alles auswählen

 and 
for posting code (HTML, PHP, C etc etc) in your posts.
$text = bbencode_second_pass_code($text, $uid, $bbcode_tpl);

//
and
for posting replies with quote, or just for quoting stuff.
$text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text);
$text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text);

// New one liner to deal with opening quotes with usernames...
// replaces the two lin
Olaf

Beitrag von Olaf »

Also irgendwo muss ich ja den Fehler eingebaut haben...
Zusätzliches Problem... ich bin völlig neu in der Board-branche :(
Bitte um schnelle Hilfe,thx
Antworten

Zurück zu „phpBB 2.0: Mod Support“