bbcode Esel funktioniert nicht

bigdad
Hallo zusammen....

Hab ein kleines problem mit dem Esel bbcode...und zwar ist der störisch wie ein Esel...löl.

Hab gesehen, das wenn ich Ihn anklicke, immer ein <br /> mit in den link eingefügt wird obwohl es im link nicht vorkommt.
Wo könnte da der fehler sein ?. Ich vermute mal in der bbcodes_button Template.
Habe Sie unten mal eingefügt, weil ich mich damit nicht so gut auskenne....
Freue Mich auf Eure hilfe.

php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
<table cellspacing="0" cellpadding="0">
 <tr class="tablea_fc">
  <td align="left" colspan="3"><span class="smallfont">
   <input type="radio" name="mode" id="radio_bbcodemode_1" value="0" title="{$lang->items['LANG_POSTINGS_BBCODE_MODE_0']} (alt+n)" accesskey="n" onclick="setmode(this.value)" $modechecked[0] /><label for="radio_bbcodemode_1">
   {$lang->items['LANG_POSTINGS_BBCODE_MODE_0']}</label>
   <input type="radio" name="mode" id="radio_bbcodemode_2" value="1" title="{$lang->items['LANG_POSTINGS_BBCODE_MODE_1']} (alt+e)" accesskey="e" onclick="setmode(this.value)" $modechecked[1] /><label for="radio_bbcodemode_2">
   {$lang->items['LANG_POSTINGS_BBCODE_MODE_1']}</label>
  </span></td>
 </tr>
 <tr>
  <td><select id="fontselect" 
    onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')">
    <option value="0">FONT</option>
    $bbcode_fontbits
   </select>
   <select id="sizeselect" 
    onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')">
    <option value="0">SIZE</option>
    $bbcode_sizebits
   </select>
   <select id="colorselect" 
    onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')">
    <option value="0">COLOR</option>
    $bbcode_colorbits
   </select><br />
   <select id="glowselect"
    onchange="fontformat(this.form,this.options[this.selectedIndex].value,'GLOW')">
    <option value="0">GLOW</option>
    $bbcode_colorbits
   </select><select id="spanselect"
    onchange="fontformat(this.form,this.options[this.selectedIndex].value,'span')">
    <option value="0">MARKIEREN</option>
    $bbcode_colorbits
   </select>
  </td>
  <td>&nbsp;</td>
  <td rowspan="2"><table>
 <tr class="smallfont">
  <td align="left" class="tablea_fc"><input class="input" type="button" value=" x " accesskey="c" title="{$lang->items['LANG_POSTINGS_BBCODE_CLOSE_CURRENT_TAG']} (alt+c)" style="color:red; font-weight:bold" onclick="closetag(this.form)" /> {$lang->items['LANG_POSTINGS_BBCODE_CLOSE_CURRENT_TAG']}</td>
 </tr>
 <tr class="smallfont">
  <td align="left" class="tablea_fc"><input class="input" type="button" value=" x " accesskey="x" title="{$lang->items['LANG_POSTINGS_BBCODE_CLOSE_ALL_TAGS']} (alt+x)" style="color:red; font-weight:bold" onclick="closeall(this.form)" /> {$lang->items['LANG_POSTINGS_BBCODE_CLOSE_ALL_TAGS']}</td>
 </tr>
</table></td>
 </tr>
 <tr>
  <td align="center" colspan="2">
<img src="{$style['imagefolder']}/bbcode_bold.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_BOLD']}" title="{$lang->items['LANG_POSTINGS_BBCODE_BOLD']}" border="0" onclick="bbcode(document.bbform,'B','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_italic.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_ITALIC']}" title="{$lang->items['LANG_POSTINGS_BBCODE_ITALIC']}" border="0" onclick="bbcode(document.bbform,'I','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_underline.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_UNDERLINE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_UNDERLINE']}" border="0" onclick="bbcode(document.bbform,'U','')" onmouseover="this.style.cursor='hand';" /> <img src="{$style['imagefolder']}/bbcode_justify.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_BLOCKSATZ']}" title="{$lang->items['LANG_POSTINGS_BBCODE_BLOCKSATZ']}" border="0" onclick="flash(document.bbform,'block','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_center.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_CENTER']}" title="{$lang->items['LANG_POSTINGS_BBCODE_CENTER']}" border="0" onclick="bbcode(document.bbform,'CENTER','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_left.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_LINKSBUENDIG']}" title="{$lang->items['LANG_POSTINGS_BBCODE_LINKSBUENDIG']}" border="0" onclick="flash(document.bbform,'left','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_right.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_RECHTSBUENDIG']}" title="{$lang->items['LANG_POSTINGS_BBCODE_RECHTSBUENDIG']}" border="0" onclick="flash(document.bbform,'right','')" onmouseover="this.style.cursor='hand';" /> <img src="{$style['imagefolder']}/bbcode_marquee.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_LAUFSCHRIFT']}" title="{$lang->items['LANG_POSTINGS_BBCODE_LAUFSCHRIFT']}" border="0" onclick="flash(document.bbform,'marquee','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_schreib.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_SCHREIBMACHINE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_SCHREIBMACHINE']}" border="0" onclick="flash(document.bbform,'tt','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_blur.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_BLUR']}" title="{$lang->items['LANG_POSTINGS_BBCODE_BLUR']}" border="0" onclick="flash(document.bbform,'bt','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_schatten.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_SCHATTEN']}" title="{$lang->items['LANG_POSTINGS_BBCODE_SCHATTEN']}" border="0" onclick="flash(document.bbform,'s','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_durch.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_DURCHSTRICHEN']}" title="{$lang->items['LANG_POSTINGS_BBCODE_DURCHSTRICHEN']}" border="0" onclick="flash(document.bbform,'d','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_blink.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_BLINK']}" title="{$lang->items['LANG_POSTINGS_BBCODE_BLINK']}" border="0" onclick="flash(document.bbform,'blink','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_wave.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_WELLE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_WELLE']}" border="0" onclick="flash(document.bbform,'wave','')" onmouseover="this.style.cursor='hand';" />
  </td>
  </tr>
<tr>
  <td align="center" colspan="2"><img src="{$style['imagefolder']}/bbcode_flash.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_FLASH']}" title="{$lang->items['LANG_POSTINGS_BBCODE_FLASH']}" border="0" onclick="flashfile(document.bbform,'flash','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_image.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_IMAGE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_IMAGE']}" border="0" onclick="bbcode(document.bbform,'IMG','http://')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_nimg.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_NEGATIV']}" title="{$lang->items['LANG_POSTINGS_BBCODE_NEGATIV']}" border="0" onclick="flash(document.bbform,'nimg','http://')" onmouseover="this.style.cursor='hand';" /> <img src="{$style['imagefolder']}/bbcode_tief.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_TIEFGESTELLT']}" title="{$lang->items['LANG_POSTINGS_BBCODE_TIEFGESTELLT']}" border="0" onclick="flash(document.bbform,'sub','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_hoch.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_HOCHGESTELLT']}" title="{$lang->items['LANG_POSTINGS_BBCODE_HOCHGESTELLT']}" border="0" onclick="flash(document.bbform,'sup','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_list.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_LIST']}" title="{$lang->items['LANG_POSTINGS_BBCODE_LIST']}" border="0" onclick="dolist(document.bbform)" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_code.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_CODE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_CODE']}" border="0" onclick="bbcode(document.bbform,'CODE','')" onmouseover="this.style.cursor='hand';" /> <img src="{$style['imagefolder']}/bbcode_php.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_PHP']}" title="{$lang->items['LANG_POSTINGS_BBCODE_PHP']}" border="0" onclick="bbcode(document.bbform,'PHP','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_url.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_URL']}" title="{$lang->items['LANG_POSTINGS_BBCODE_URL']}" border="0" onclick="namedlink(document.bbform,'URL')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_email.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_EMAIL']}" title="{$lang->items['LANG_POSTINGS_BBCODE_EMAIL']}" border="0" onclick="namedlink(document.bbform,'EMAIL')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_quote.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_QUOTE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_QUOTE']}" border="0" onclick="bbcode(document.bbform,'QUOTE','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_ftp.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_FTP']}" title="{$lang->items['LANG_POSTINGS_BBCODE_FTP']}" border="0" onclick="ftpserver(document.bbform,'ftp','')" onmouseover="this.style.cursor='hand';" /><a href="misc.php?sid=$session[hash]&amp;action=bbcode" target="_blank"><img src="{$style['imagefolder']}/bbcode_help.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_HILFE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_HILFE']}" border="0" /></a>
  </td>
  </tr>
<tr>
  <td align="left" colspan="2"><img src="{$style['imagefolder']}/bbcode_esel.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_ESEL']}" title="{$lang->items['LANG_POSTINGS_BBCODE_ESEL']}" border="0" onclick="ed2kserver(document.bbform,'ed2k','')" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_smilie.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_SCHILD']}" title="{$lang->items['LANG_POSTINGS_BBCODE_SCHILD']}" border="0" onclick="bbcode_smilie()" onmouseover="this.style.cursor='hand';" /><img src="{$style['imagefolder']}/bbcode_denk.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_DENK']}" title="{$lang->items['LANG_POSTINGS_BBCODE_DENK']}" border="0" onclick="flash(document.bbform,'denk','')" onmouseover="this.style.cursor='hand';" /><img
     src="{$style['imagefolder']}/bbcode_hide.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_HIDE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_HIDE']}" border="0" onclick="bbcode(document.bbform,'HIDE','')" onmouseover="this.style.cursor='hand';" /><a href="moviereport.php?action=vote&sid=$session[hash]" target="_new" onClick="javascript:window.open('moviereport.php?action=vote&sid=$session[hash]','moviereport','width=450,height=600,scrollbars, left = 100, top = 80');return false;"><img src="{$style['imagefolder']}/bbcode_moviereport.gif" alt="{$lang->items['LANG_POSTINGS_BBCODE_MOVIE']}" title="{$lang->items['LANG_POSTINGS_BBCODE_MOVIE']}" border="0"></a>
 </td>
  </tr>
</table>


Und hier noch die bbcode.js

php:
1:


Liebe Grüsse
Bigdad
Mandala
Hallo bigdad

da liegt aber der Fehler nicht smile

versuche folgendes:

suche in acp/lib/class_parse.php
code:
1:
2:
// wrap text
$post = $this->textwrap($post);



und ersetze durch
code:
1:
2:
// wrap text
//$post = $this->textwrap($post);


thas all großes Grinsen
bigdad
Recht herzlichen dank Mandala...genau das war der fehler...supi Freude
Jetzt wäre es noch cool, wenn sich die Anwendung automatisch starten würde, wenn ich den Link anklicke. Aber das ist glaube Ich eine andere Geschichte großes Grinsen

Liebe güsse
Bigdad
Mandala
yep stimmt

das musst du lokal bei dir am PC verknüpfen - geht über die Programmeigenschaften