Seite 1 von 1

php bbcode fehler

Verfasst: 18.11.2004 22:30
von tobi-webnet
hallo,

ich habe heute den php bbcode installiert.

jetzt zeigt er aber im post nur z.B. das an
[php:1:9f0741ced5]<?php
phpinfo();
?>[/php:1:9f0741ced5]

kann mir jemand sagen, wo der fehler lieget.

danke tobi-webnet

Verfasst: 18.11.2004 22:31
von Leuchte
Kannst mal einen Link zum Mod und zur .txt Version deiner includes/bbcode.php posten?

Verfasst: 18.11.2004 22:33
von tobi-webnet

Verfasst: 18.11.2004 22:40
von Leuchte
Finde

Code: Alles auswählen

         $text = str_replace( "[php:1:$uid]", "[php:1:$uid]<?", $text);
         $text = str_replace( "[/php:1:$uid]", "?>[/php:1:$uid]", $text);
      }
      else if ( !eregi( "\\<\\?...", $text) )
      {
         $text = str_replace( "[php:1:$uid]", "[php:1:$uid]<?", $text);
      }
      else if ( !eregi( "\\?\\>", $text) )
      {
         $text = str_replace( "[/php:1:$uid]", "?>[/php:1:$uid]", $text);
Ersetze mit

Code: Alles auswählen

         $text = str_replace( "[php:$uid]", "[php:$uid]<?", $text);
         $text = str_replace( "[/php:$uid]", "?>[/php:$uid]", $text);
      }
      else if ( !eregi( "\\<\\?...", $text) )
      {
         $text = str_replace( "[php:$uid]", "[php:$uid]<?", $text);
      }
      else if ( !eregi( "\\?\\>", $text) )
      {
         $text = str_replace( "[/php:$uid]", "?>[/php:$uid]", $text);
Kannst mal einen Link zum Mod [...] posten?
Hachja...

Verfasst: 18.11.2004 22:55
von tobi-webnet
es funzt immer noch nicht.

hier ist mal ein link zu meinen forum

http://www.tobi-webnet.de/phpBB2

Verfasst: 19.11.2004 15:23
von Matze_1
...lol
das hilft keinem. Plz lese erstmal die Beitraege richtig.. hilft garantiert immer
DANKE! :roll:

Verfasst: 19.11.2004 16:15
von tobi-webnet
sorry, hab ich etwas falsch verstanden!!

Link zu mod

http://www.phpbbhacks.com/download/1400