28.07.2007, 14:17
Ich erhalte nach der Installation von "HotEditor V.4.2 MOD for MyBB 1.2.x"
folgende Meldung:
genau nach dem Punkt wo man:
durch:
[/php]
Hilfe
folgende Meldung:
PHP-Code:
Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/dead-zone24.de/httpdocs/forum/inc/class_parser.php on line 272[/php]
genau nach dem Punkt wo man:
PHP-Code:
function cache_mycode()
{
global $cache, $lang;
$this->mycode_cache = array();
durch:
PHP-Code:
//EDITOR
//Support Table here
$standard_mycode['hoteditor_table_open']['regex'] = "#\[table\]#si";
$standard_mycode['hoteditor_table_open']['replacement'] = '<table align=center style="border-collapse: collapse;border-spacing: 0px;border: 1px solid #6CAFF7;background-color: #F4F4F4;width:98%;font-family:Verdana,Arial,Sans-Serif,Tahoma;font-size:12px;color: black;">';
$standard_mycode['hoteditor_table_close']['regex'] = "#\[\/table\]#si";
$standard_mycode['hoteditor_table_close']['replacement'] = '</table>';
$standard_mycode['hoteditor_tr_open']['regex'] = "#\[tr\]#si";
$standard_mycode['hoteditor_tr_open']['replacement'] = '<tr>';
$standard_mycode['hoteditor_tr_close']['regex'] = "#\[\/tr\]#si";
$standard_mycode['hoteditor_tr_close']['replacement'] = '</tr>';
$standard_mycode['hoteditor_td_open']['regex'] = "#\[td\]#si";
$standard_mycode['hoteditor_td_open']['replacement'] = '<td style="height:25px; border: 1px solid #6CAFF7">';
$standard_mycode['hoteditor_td_close']['regex'] = "#\[\/td\]#si";
$standard_mycode['hoteditor_td_close']['replacement'] = '</td>';
$standard_mycode['hoteditor_open']['regex'] = "#\[(sub|sup|strike|blockquote|b|i|u)\]#si";
$standard_mycode['hoteditor_open']['replacement'] = '<$1>';
$standard_mycode['hoteditor_close']['regex'] = "#\[\/(sub|sup|strike|blockquote|b|i|u)\]#si";
$standard_mycode['hoteditor_close']['replacement'] = '</$1>';
$standard_mycode['hoteditor_fontface']['regex'] = "#\[font=(.*?)\]#si";
$standard_mycode['hoteditor_fontface']['replacement'] = '<font face="$1">';
$standard_mycode['hoteditor_fontcolor']['regex'] = "#\[color=(.*?)\]#si";
$standard_mycode['hoteditor_fontcolor']['replacement'] = '<font color="$1">';
$standard_mycode['hoteditor_fontsize']['regex'] = "#\[size=(.*?)\]#si";
$standard_mycode['hoteditor_fontsize']['replacement'] = '<font size="$1">';
$standard_mycode['hoteditor_fontclose']['regex'] = "#\[\/(font|color|size)\]#si";
$standard_mycode['hoteditor_fontclose']['replacement'] = '</font>';
$standard_mycode['highlight_open']['regex'] = "#\[highlight=(.*?)\]#si";
$standard_mycode['highlight_open']['replacement'] = "<font style=\"background-color:$1\">";
$standard_mycode['highlight_close']['regex'] = "#\[\/highlight\]#si";
$standard_mycode['highlight_close']['replacement'] = "</font>";
$standard_mycode['hoteditor_align_open']['regex'] = "#\[(center|right|left|justify)\]#si";
$standard_mycode['hoteditor_align_open']['replacement'] = '<div align="$1">';
$standard_mycode['hoteditor_align_close']['regex'] = "#\[\/(center|right|left|justify)\]#si";
$standard_mycode['hoteditor_align_close']['replacement'] = '</div>';
$standard_mycode['hoteditor_flash']['regex'] = "#\[FLASH=(.*?),(.*?)\](.*?)\[\/FLASH\]#si";
$standard_mycode['hoteditor_flash']['replacement'] = '<object width="$1" height="$2"><param name="movie" value="$3"></param><param name="wmode" value="transparent"></param><embed src="$3" type="application/x-shockwave-flash" wmode="transparent" width="$1" height="$2"></embed></object>';
//EDITOR END
Hilfe