Author Topic: Hm.  (Read 3781 times)

Offline Lava

  • Ex GB Member
  • I am a one-man-stack
  • *******
  • Posts: 1568
Hm.
« on: February 15, 2005, 11:22:03 AM »
Hm.
« Last Edit: March 27, 2008, 02:13:49 AM by Gandalf The White »

Offline Bretwalda

  • Make me commander
  • ******
  • Posts: 820
PHP Problem!!!
« Reply #1 on: February 15, 2005, 12:16:07 PM »
Sound interesting - I'm not a programmer  :roll: can't help much.

Offline pkk

  • Administrator
  • Newbies!
  • *****
  • Posts: 3511
    • pkk's Allegiance Blog
PHP Problem!!!
« Reply #2 on: February 20, 2005, 05:14:06 PM »
It's an phpbb problem.

includes/bbcode.php, line 293:
Code: [Select]
// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(jpg|jpeg|gif|png)))\[/img\]#sie", "'[img:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/img:$uid]'", $text);

Offline pkk

  • Administrator
  • Newbies!
  • *****
  • Posts: 3511
    • pkk's Allegiance Blog
PHP Problem!!!
« Reply #3 on: February 20, 2005, 05:25:10 PM »
Oder ich ändere den Code vom Board... :roll:

Offline pkk

  • Administrator
  • Newbies!
  • *****
  • Posts: 3511
    • pkk's Allegiance Blog
PHP Problem!!!
« Reply #4 on: February 20, 2005, 05:39:30 PM »
Da übliche, zu faul dazu... ;)

Offline pkk

  • Administrator
  • Newbies!
  • *****
  • Posts: 3511
    • pkk's Allegiance Blog
PHP Problem!!!
« Reply #5 on: February 20, 2005, 06:24:09 PM »
So, hab jetzt 20 Minuten dafür aufgewendet, bekomme nur hin, das .php[/img] läuft, aber nicht mit Variablen...