Seite 1 von 1

e-Donkey link prblm!!

Verfasst: 20.04.2003 23:46
von AzRail
Hallo,

hab mir heute den eDonkey mod von sica eingebaut aber bekomme leider die folgende fehlermeldung:

Code: Alles auswählen

Parse error: parse error, unexpected '$' in /www/htdocs/v072598/phpBB2/includes/bbcode.php on line 739

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/viewtopic.php on line 555

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 511

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 513

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 514
und so sieht mein bbcode.php nach der veränderung aus (Zeile 731 - 750):

Code: Alles auswählen

// matches an email@domain type address at the start of a line, or after a space.
	// Note: Only the followed chars are valid; alphanums, "-", "_" and or ".".
	$ret = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);

// make the file links clickable - eDonkey MOD
$ret = preg_replace("#([\n ])(ed2k://\|file\|(.*)\|\d+\|\w+\|/?)#", '$1ed2k: <a href="$2">$</a>", $ret);

// make the server links clickable - eDonkey MOD
$ret = preg_replace("#([\n ])(ed2k:(//)?\|server\|([\d\.]+)\|(\d+)\|/?)#", '$1ed2k: <a href="$2">$4 at $5 </a>', $ret);

	// Remove our padding..
	$ret = substr($ret, 1);

	return($ret);
}

/**
 * Nathan Codding - Feb 6, 2001
 * Reverses the effects of make_clickable(), for use in editpost.
 * - Does not distinguish between "www.xxxx.yyyy" and "http://aaaa.bbbb" type URLs.
Ich benutze den bbcode-box, kann das vielleicht deswege sein???

Bedanke mich im voraus für eure hilfe!!

Mfg Az

Verfasst: 21.04.2003 14:30
von AzRail
niemand ne idee :(