ilch Forum » Ilch Clan 1.1 » Module und Modifikationen » BBcode in Signatur Fehler

Geschlossen
  1. #1
    User Pic
    MonkeyOnKeyboard Moderator
    Registriert seit
    10.02.2014
    Beiträge
    457
    Beitragswertungen
    22 Beitragspunkte
    Hallo mir ist heute aufgefallen, dass ich keine BBCodes mehr in der Signatur nutzen kann.

    Ich finde aber den Fehler nicht.
    Zu meinem System, BBCODE 2.0 for iLch 1.1P mit Erweiterung von Maretz.eu
    Design Maretz.eu mar_GeneTic

    Das Problem besteht darin, dass ich in der profil_edit die BBcode knöpfe sehe, aber wenn ich draufdrücke nichts passiert.

    <script language="JavaScript" type="text/javascript">
    <!--
    function avatarcrop(info) {
    	var Fenster = window.open ('index.php?user-avatar-'+info, 'AvatarCrop', 'status=no,scrollbars=yes,top=0,left=0,height=150,width=600');
    	Fenster.focus();
    	return (false);
    }
    //-->
    </script>
    <form action="index.php?user-profil" method="POST" enctype="multipart/form-data">
    	{antispam}
        <fieldset>
    	  <legend>Persönliche Daten ändern</legend>
    		  <br />
    		  <label style="float:left; width:35%;">{_lang_mail}</label><input style="margin-bottom:2px;" name="email" value="{email}" /><input type="hidden" name="aemail" value="{email}" /><font class="smalfont">{_lang_mustbeentered}</font><br />
    			<label style="float:left; width:35%;">{_lang_homepage}</label><input style="margin-bottom:2px;" name="homepage" value="{homepage}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_hometown}</label><input style="margin-bottom:2px;" name="wohnort" value="{wohnort}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_icq}</label><input style="margin-bottom:2px;" name="icq" value="{icq}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_msn}</label><input style="margin-bottom:2px;" name="msn" value="{msn}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_yahoo}</label><input style="margin-bottom:2px;" name="yahoo" value="{yahoo}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_aim}</label><input style="margin-bottom:2px;" name="aim" value="{aim}" /><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_birthday}</label><input style="margin-bottom:2px;" name="gebdatum" value="{gebdatum}" /><font class="smalfont">{_lang_dateformat}</font><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_state}</label><select style="margin-bottom:2px;" name="staat">{_list_staat@<option%1 value="%2">%3</option>}</select><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_sex}</label><input style="margin-bottom:2px;" type="radio" value="1" id="geschlecht1" name="geschlecht" {geschlecht1} /><label for="geschlecht1"> {_lang_male}</label>, <input id="geschlecht2" type="radio" value="2" name="geschlecht" {geschlecht2} /><label for="geschlecht2"> {_lang_female}</label>, <input id="geschlecht0" type="radio" value="0" name="geschlecht" {geschlecht0} /><label for="geschlecht0"> {_lang_itdoesntmatter}</label><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_status}</label><input id="status_aktiv" type="radio" value="1" name="status" {status1} /><label for="status_aktiv"> {_lang_active}</label>, <input id="status_inaktiv" type="radio" value="0" name="status" {status0} /><label for="status_inaktiv"> {_lang_inactive}</label><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_mails}<span class="smalfont"> {_lang_fromotherusers}?</span></label><input id="opt_mail1" type="radio" value="1" name="opt_mail" {opt_mail1} /><label for="opt_mail1"> {_lang_yes}</label>, <input id="opt_mail0" type="radio" value="0" name="opt_mail" {opt_mail0} /><label for="opt_mail0"> {_lang_no}</label><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_privatemessages}<span class="smalfont"> {_lang_fromotherusers}?</span></label><input id="opt_pm1" type="radio" value="1" name="opt_pm" {opt_pm1} /><label for="opt_pm1"> {_lang_yes}</label>, <input id="opt_pm0" type="radio" value="0" name="opt_pm" {opt_pm0} /><label for="opt_pm0"> {_lang_no}</label><br style="clear:both;" />
    			<label style="float:left; width:35%;">{_lang_privatemessages}<span class="smalfont"> {_lang_popupbynewmsg}?</span></label><input id="opt_pm_popup1" type="radio" value="1" name="opt_pm_popup" {opt_pm_popup1} /><label for="opt_pm_popup1"> {_lang_yes}</label>, <input id="opt_pm_popup0" type="radio" value="0" name="opt_pm_popup" {opt_pm_popup0} /><label for="opt_pm_popup0"> {_lang_no}</label><br  style="fclear:both;" /><br />
    			{_if_{forum_usergallery}=='1'}<div align="center">
                    <a href="index.php?user-usergallery-{uid}">Usergallery</a> &nbsp; <a href="index.php?user-remove"/></a>
                </div>{/_endif}<br />
                {EXPLODE}
          <fieldset>
          <legend>{_lang_removeaccount}</legend>
          <label style="float:left; width:35%;">&nbsp;</label><input type="checkbox" value="yes" name="removeaccount" /> {_lang_delete}? &nbsp; <font class="smalfont">{_lang_mustbeentered}</font>
          </fieldset>
          <fieldset>
    			  <legend>{_lang_avatar}</legend>
                    <div style="text-align:center">
                        {avatarbild}
                        <a href="index.php?user-avatar-delete" target="_blank" onClick="return avatarcrop('delete');">{_lang_delete}</a>
                        <span style="margin-left:20px"></span>
                        <a href="index.php?user-avatar-upload" target="_blank" onClick="return avatarcrop('upload');">{_lang_change}</a>
                    </div>
    			</fieldset>
    			<br />
    			{EXPLODE}
            <fieldset>
                <legend>{_lang_signature}</legend>
                <label style="float:left; width:100%;">{__BBCodeButtons__}</label><textarea style="width: 99%;" cols="50" rows="2" name="txt">{sig}</textarea><br />
                <font class="smalfont">{_lang_max} {forum_max_sig} {_lang_signs}.</font>
            </fieldset>
    			<br />
    			<fieldset>
    			  <legend>{_lang_editpassword}</legend>
    			    <br />
    			    <label style="float:left; width:35%;">{_lang_current}</label><input style="margin-bottom:2px;" type="password" name="op" maxlength="20"><br />
    			    <label style="float:left; width:35%;">{_lang_new}</label><input style="margin-bottom:2px;" type="password" name="np1" maxlength="20"><br />
    			    <label style="float:left; width:35%;">{_lang_repeat}</label><input style="margin-bottom:2px;" type="password" name="np2" maxlength="20"><br />
    				<label style="float:left; width:35%; "><i>{_lang_joininfo}:</i></label><i><span style="color:red;font-size:10px;"><b>maximale Passwortl&auml;nge 12 Zeichen</b></span></i><br />
    			</fieldset>
          <br />
          <fieldset>
            <br />
        {EXPLODE}
          </fieldset>
          <br />
          <div align="center">
          <input style="margin-bottom:2px;" type="submit" value="{_lang_send2}" name="submit">
          </div>
    	</fieldset>
    </form>



    <?php
    #   Copyright by: Manuel
    #   Support: www.ilch.de
    
    
    defined ('main') or die ( 'no direct access' );
    
    
    $title = $allgAr['title'].' :: Users :: Profil';
    $hmenu  = $extented_forum_menu.'<a class="smalfont" href="?user">Users</a><b> &raquo; </b> Profil'.$extented_forum_menu_sufix;
    $design = new design ( $title , $hmenu, 1);
    
    
    
    if ( $_SESSION['authright'] <= -1 ) {
    
        $csrfCheck = chk_antispam('user_profile_edit', true);
        
    if ( empty ($_POST['submit']) || !$csrfCheck ) {
      $design->header();
    	$abf = 'SELECT email,wohnort,homepage,aim,msn,icq,yahoo,avatar,status,staat,gebdatum,sig,opt_pm_popup,opt_pm,opt_mail,geschlecht,spezrank FROM `prefix_user` WHERE id = "'.$_SESSION['authid'].'"';
    	$erg = db_query($abf);
    	if ( db_num_rows($erg) > 0 ) {
    	  $row = db_fetch_assoc($erg);
    
    		$tpl = new tpl ('user/profil_edit');
    		$row['staat'] = '<option></option>'.arliste ( $row['staat'] , get_nationality_array() , $tpl , 'staat' );
        $row['geschlecht0'] = ( $row['geschlecht'] < 1 ? 'checked' : '' );
        $row['geschlecht1'] = ( $row['geschlecht'] == 1 ? 'checked' : '' );
        $row['geschlecht2'] = ( $row['geschlecht'] == 2 ? 'checked' : '' );
        if ( $row['status'] == 1 ) { $row['status1'] = 'checked'; $row['status0'] = ''; } else { $row['status1'] = ''; $row['status0'] = 'checked'; }
        if ( $row['opt_mail'] == 1 ) { $row['opt_mail1'] = 'checked'; $row['opt_mail0'] = ''; } else { $row['opt_mail1'] = ''; $row['opt_mail0'] = 'checked'; }
        if ( $row['opt_pm'] == 1 ) { $row['opt_pm1'] = 'checked'; $row['opt_pm0'] = ''; } else { $row['opt_pm1'] = ''; $row['opt_pm0'] = 'checked'; }
        if ( $row['opt_pm_popup'] == 1 ) { $row['opt_pm_popup1'] = 'checked'; $row['opt_pm_popup0'] = ''; } else { $row['opt_pm_popup1'] = ''; $row['opt_pm_popup0'] = 'checked'; }
    
        $row['avatarbild'] = ( file_exists ( $row['avatar'] ) ? '<img src="'.$row['avatar'].'" alt="" name="avatar"><br />' : '<img src="" alt="Kein Avatar vorhanden" name="avatar"><br />' );
        $row['Fabreite'] = $allgAr['Fabreite'];
        $row['Fahohe'] = $allgAr['Fahohe'];
        $row['Fasize'] = $allgAr['Fasize'];
        $row['forum_max_sig'] = $allgAr['forum_max_sig'];
        $row['uid'] = $_SESSION['authid'];
        $row['forum_usergallery'] = $allgAr['forum_usergallery'];
        $row['antispam'] = get_antispam('user_profile_edit', 0, true);
        $tpl->set_ar_out($row,0);
        if ($allgAr['forum_avatar_upload']) $tpl->out(1);
        $tpl->set_ar_out($row,2);
    		profilefields_change ( $_SESSION['authid'] );
    		$tpl->out(3);
    
      } else {
        $tpl = new tpl ( 'user/login.htm' );
        $tpl->set_out('WDLINK','index.php',0);
    	}
    
    } elseif ($csrfCheck) {  # submit
    
      # change poassword
    	if ( !empty($_POST['np1']) AND !empty($_POST['np2']) AND !empty($_POST['op'])) {
        if ($_POST['np1'] == $_POST['np2']) {
    		  $akpw = db_result(db_query("SELECT pass FROM prefix_user WHERE id = ".$_SESSION['authid']),0);
    			if (user_pw_check($_POST['op'], $akpw)) {
    			  $newpw = user_pw_crypt($_POST['np1']);
    				db_query("UPDATE prefix_user SET pass = '".$newpw."' WHERE id = ".$_SESSION['authid']);
                    user_set_cookie($_SESSION['authid'], $newpw);
    				$fmsg = $lang['passwortchanged'];
    			} else {
    		    $fmsg = $lang['passwortwrong'];
    		  }
    		} else {
    		  $fmsg = $lang['passwortnotequal'];
    	  }
      }
    
      # email aendern
      if ($_POST['email'] != $_POST['aemail']) {
        $id = $_SESSION['authid'].'||'.md5 (uniqid (rand()));
        db_query("INSERT INTO prefix_usercheck (`check`,email,datime,ak)
        VALUES ('".$id."','".escape($_POST['email'],'string')."',NOW(),3)");
        $page = $_SERVER["HTTP_HOST"].$_SERVER["SCRIPT_NAME"];
        $text = $lang['changedthemail'] . sprintf ($lang['registconfirmlink'], $page, $id );
        icmail ($_POST['email'], $lang['mail'].' '.$lang['changed'], $text );
        $fmsg = $lang['pleaseconfirmmail'];
      }
      #
    
      #remove account
      if (isset($_POST['removeaccount'])) {
        $id = $_SESSION['authid'].'-remove-'.md5 (uniqid (rand()));
        db_query("INSERT INTO prefix_usercheck (`check`,email,datime,ak)
        VALUES ('".$id."','".escape($_POST['email'],'string')."',NOW(),5)");
        $page = $_SERVER["HTTP_HOST"].$_SERVER["SCRIPT_NAME"];
        $text = $lang['removeconfirm'] . sprintf ($lang['registconfirmlink'], $page, $id );
        icmail ($_POST['email'], html_entity_decode($lang['removeaccount'], ILCH_ENTITIES_FLAGS, ILCH_CHARSET), $text );
        $fmsg = $lang['pleaseconfirmremove'];
      }
      #remove account
    
    
      # statische felder speichern
    		  db_query("UPDATE prefix_user
    			  SET
              homepage = '".get_homepage(escape($_POST['homepage'], 'string'))."',
              wohnort = '".escape($_POST['wohnort'], 'string')."',
              icq = '".escape($_POST['icq'], 'string')."',
              msn = '".escape($_POST['msn'], 'string')."',
              yahoo = '".escape($_POST['yahoo'], 'string')."',
              aim = '".escape($_POST['aim'], 'string')."',
              staat = '".escape($_POST['staat'], 'string')."',
              geschlecht = '".escape($_POST['geschlecht'], 'string')."',
              status = '".escape($_POST['status'], 'string')."',
              opt_mail = '".escape($_POST['opt_mail'], 'string')."',
              opt_pm = '".escape($_POST['opt_pm'], 'string')."',
              opt_pm_popup = '".escape($_POST['opt_pm_popup'], 'string')."',
              gebdatum = '".get_datum(escape($_POST['gebdatum'], 'string'))."',
    		  sig = '".substr(escape($_POST['txt'], 'string'),0,$allgAr['forum_max_sig'])."'
    				WHERE id = ".$_SESSION['authid']
          );
    
    
    	# change other profil fields
    
      profilefields_change_save ( $_SESSION['authid'] );
    	$design->header();
    
    	# definie and print msg
    	$fmsg = ( isset($fmsg) ? $fmsg : $lang['changesuccessful'] );
    	wd('?user-8' , $fmsg  , 3 );
    
    }
    
    } else {
    		$tpl = new tpl ( 'user/login' );
    		$tpl->set_out('WDLINK', '?user-8', 0);
    }
    
    $design->footer();
    ?>



    <!DOCTYPE html>
    <html lang="de">
    <head>
    <!-- Maretz.eu - Free Ilch Clan and CommUnity Templates -->
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="author" content="Maretz.eu">
    <link rel="shortcut icon" href="include/designs/mar_GeneTic/images/favicon.ico">
    <title>{TITLE}</title>
    <div id="waitDiv" class="waitbox" style="width: 100px;height:100px;margin-left: -50px;left: 50%; visibility: hidden; position: absolute; top: 190px;" align="center">
    <table cellpadding="6" summary="Splash-Screen Wait"><tbody><tr>
    <td><div align="center"><i style="color:#fff;text-shadow: -0.1em -0.1em 0.05em #000;" class="fa fa-spinner fa-spin fa-5x"></i><br clear="all"></div></td>
    </tr></tbody></table></div>
    <script type="text/javascript">
    var DHTML = (document.getElementById || document.all || document.layers);
    function ap_getObj(name)
    {
    if (document.getElementById) { return document.getElementById(name).style; }
    else if (document.all) { return document.all[name].style; }
    else if (document.layers) { return document.layers[name]; }
    }
    function ap_showWaitMessage(div,flag)
    {
    if (!DHTML) return; var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden'
    if(! document.getElementById) if(document.layers) x.left=280/2; return true;
    }
    ap_showWaitMessage('waitDiv', 1);
    </script>
    <link href="include/designs/mar_GeneTic/layout.css" rel="stylesheet">
    <link href="include/designs/mar_GeneTic/style.css" rel="stylesheet">
    <link rel= "stylesheet" href= "include/designs/mar_GeneTic/font-awesome/css/font-awesome.min.css" >
    <script src="//use.edgefonts.net/baumans:n4:all.js"></script> 
    <!-- <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>-->
    <script src="https://code.jquery.com/jquery-1.11.2.min.js" language="javascript" type="text/javascript"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script> 
    $(document).ready(function(){
        $("#flip").click(function(){
        
           $("#panel").slideToggle('normal');
           if($(this).text() == '>> Informationsbereich zuklappen')
           {
               $(this).text('>> Informationsbereich aufklappen');
           }
           else
           {
               $(this).text('>> Informationsbereich zuklappen');
           }
               });    
        });
    </script>
    <link rel="stylesheet" href="include/boxes/mar_ts3/ts3_style.css">
    <!-- FCR-Lizenz Nr. Ausgegraut -->
    </head>
    <body>
    
    <div id="TS_3"><h1>TS<sup>3</sup></h1><div>
    <div id="ts3viewer_1068594" style="width:; background-color:;"> </div>
    
    <script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
    
    <script type="text/javascript">
    <!--
    var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=1068594&text=0084BB&text_size=12&text_family=1&js=1&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=525284&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none";
    ts3v_display.init(ts3v_url_1, 1068594, 100);
    -->
    </script>
    </div></div>
    
    <a name="anfang" id="anfang"></a>
    <div id="login_panel"><div id="login_panel_in"><div id="login_feld">{_boxes_login_genetic}</div><div id="search_feld">{_boxes_search_genetic}</div></div></div>
    <div id="site"><div id="body_site">
    <div id="naviblock"><ul id="menu">
    <li><a href="index.php" title="zur Startseite"><i class="fa fa-home fa-lg"></i></a></li>
    {_list_menunr5@<li><a href="#">%1</a><ul>%2</ul></li>}<li><a href="index.php?joinus" title="zum Join Us"><font color="#FF0000">Join Us</font></a></li><li><a href="index.php?forum" title="zum Forum"><font color="#0096D4">Zum Forum</font></a></li>
    <span class="right"><li><a href ="ts3server://caelum-et-infernum.eu?port=9987" title="Connect to TeamSpeak"><i class="fa fa-headphones fa-lg"></i></a></li><li><a href="index.php?contact" title="Kontakt"><i class="fa fa-envelope fa-lg"></i></a></li><li><a href="index.php?impressum" title="Impressum"><i class="fa fa-ellipsis-h fa-lg"></i></a></li></span>
    </ul></div>
    <div id="header_site"></div><br class="break"/>
    <div id="flip">>> Informationsbereich aufklappen</div><div id="panel">
    <div id="inf_panel_forum"><span class="right">Latest Forum <i class="fa fa-comments-o"></i>&nbsp;&nbsp;</span><br>{_boxes_lastforum_genetic}</div>
    <div id="inf_panel"><span class="right">Last News <i class="fa fa-info-circle"></i>&nbsp;&nbsp;</span><br>{_boxes_lastnews_genetic}</div>
    <div id="inf_panel_but">
    <a class="btn  btn-icon" href = "ts3server://caelum-et-infernum.eu?port=9987" title="Connect to TeamSpeak"><i class="fa fa-code-fork"></i><span>TeamSpeak</span></a><br>
    <!--
    <a class="btn3  btn-icon" href="https://www.facebook.com/Maretz.eu" target="_blank"><i class="fa fa-facebook"></i><span>Facebook</span></a><br>
    <a class="btn4  btn-icon" href="https://www.youtube.com" target="_blank"><i class="fa fa-youtube"></i><span>Youtube</span></a>
    -->
    </div>
    <div id="inf_panel"><span class="right">WoT Turniere <i class="fa fa-info-circle"></i>&nbsp;&nbsp;</span>{_boxes_allianz_genetic}</div></div>
    <div id="bg_content">
    <div id="box">{_list_menunr1@<div id="box_oben">%1</div><div id="box_mitte" class="box_in">%2</div>}</div>
    <div id="hmenu_forum">{HMENU}&nbsp;<i class="fa fa-indent fa-lg flip-horizontal"></i>&nbsp;</div><div id="content_bereich_forum" class="content_in_forum">{EXPLODE}</div>
    </div><br class="break"/>
    <div id="footer">All Rights by {SITENAME}<span class="right"><a class="nach_oben" href="#anfang" title="nach oben"><i class="fa fa-hand-o-up fa-lg"></i></span></div>
    <div id="corp"><a class="corp" href="index.php?sitemap" title="Sitemap"><i class="fa fa-sitemap fa-lg"></i></a>&nbsp;&nbsp;<a class="corp" href="index.php?news-rss" title="News abonieren"><i class="fa fa-rss fa-lg"></i></a><span class="right"><a class="corp" href="http://www.maretz.eu" title="Maretz.eu Designs">Maretz.eu Designs</a> <i class="fa fa-compress"></i> <a class="corp" href="index.php?impressum" title="Ilch.de">Impressum</a></span></div>
    </div></div><br class="break"/>
    <div id="abst"></div>
    <script>
        $(function() {
          if ($.browser.msie && $.browser.version.substr(0,1)<7)
          {
            $('li').has('ul').mouseover(function(){
                $(this).children('ul').show();
                }).mouseout(function(){
                $(this).children('ul').hide();
                })
          }
        }); 
    </script>
    <div id="lightts" class="white_content_ts"><a style="float:right;margin-top:-15px;margin-right:-15px;color:#ff0000;text-shadow: 1px 1px 0.02em #444;" href = "javascript:void(0)" onclick = "document.getElementById('lightts').style.display='none';document.getElementById('fadets').style.display='none'"><i class="fa fa-times-circle fa-2x"></i></a><br>
    {_boxes_teamspeak}
    </div>
    <div id="fadets" class="black_overlay"></div>
    <div id="lightgame" class="white_content_game"><a style="float:right;margin-top:-15px;margin-right:-15px;color:#ff0000;text-shadow: 1px 1px 0.02em #444;" href = "javascript:void(0)" onclick = "document.getElementById('lightgame').style.display='none';document.getElementById('fadegame').style.display='none'"><i class="fa fa-times-circle fa-2x"></i></a><br>
    {_boxes_gameserver}
    </div>
    <div id="fadegame" class="black_overlay"></div>
    </body>
    {_boxes_cookieplugin}
    </html>
    <script type="text/javascript">
    <!-- 
    setTimeout("ap_showWaitMessage('waitDiv', 0);",800)
    //-->
    </script>
    <!-- {_list_hmenupoint@<li><a target="%1" href="%2" title="%3">%3</a></li>}
    {_list_hmenubegi@}
    {_list_hmenuende@}
    //-->


    Bitte um Hilfe.


    verwendete ilch Version: 1.1 P

    betroffene Homepage: caelum-et-infernum.eu
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Outi77 Mitglied
    Registriert seit
    31.03.2013
    Beiträge
    1.337
    Beitragswertungen
    143 Beitragspunkte
    Hi,

    also es müssen bestimmte Voraussetzungen erfüllt sein, damit BBCode überhaupt funktioniert. Zum Einen muss das Eingabefeld den Namen txt haben...
    <textarea name="txt" rows="15" cols="55" tabindex="2">{txt}</textarea>

    Siehe hier das Attribut name...

    Außerdem bzw vor allem muss sich das in einer Form "abspielen", die den Namen form hat...
    Auf Deine Form bezogen dann wie folgt:
    <form action="index.php?user-profil" method="POST" enctype="multipart/form-data" name="form">

    Siehe auch hier das Attribut name.

    Mit einem browserinternen Entwickler-Tool, zb FireBug für Firefox hättest Du ansatzweise die Ursache für diesen Fehler erkannt...
    ZitatZitat
    TypeError: document.forms[bbcode_textarea[0]] is undefined


    var formular = document.forms[bbcode_textarea[0]].elements[bbcode_textarea[1]];



    Zuletzt modifiziert von Outi77 am 14.05.2016 - 19:36:21
    Die richtige Formulierung eines Problems ist nicht selten bereits die halbe Lösung.
    »Albert Einstein«
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Module und Modifikationen

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten