Willkommen im cgboard - classic games Forum! Deine gemütliche Retro Gaming Community. Besuche uns auch im Discord Chat.

[Info] Old Games Planet
#61
0
verherender Fehler.
Ich bin grade Fertig geworden mit der Sprachangabe und wollte das letzte mal die uploadfile.html im ACP überschreiben.
Da ist mir aber der schlimme Fehler passiert, dass ich im ACP noch die index.html geöffnet hatte.
Ich füge da jetzt doch nicht den Inhalt der uploadfile.html ein und überschreibe die Daten.
Leider war mein Backup noch nicht zu der Datei vorgedrungen

Jetzt wollte ich mal alle Fragen die meine DL Engine geöffnet haben, ob davon nicht zufällig noch die index.html im Cache ist.
Bei mir hab ich leider davon nichts mehr gefunden.

Sonst ist leider Tagelange Arbeit an der Datei umsonst gewesen. Confused

EDIT: Mir ist es jetzt nach ca. 6-7 Stunden Arbeit gelungen die alte index.html wieder herzustellen.
Diesmal mach ich aber gleich ein Backup von den Templates Dateien... puh Cool
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#62
0
Uff, da ist man ein Wochenende nicht da und der Thread explodiert Wink.
Sehr coole Uploads Camillo! Einige der Spiele hatte ich noch nicht.
Das das Upload-Limit jetzt bei 15 MB liegt kommt mir auch sehr entgegen Big Grin.
Auch die Flaggen zur Kennzeichnung der Sprache sind eine gute Idee, aber ich werd trotzdem noch die Sprache im Titel angeben (Konsistenz oder so Wink).
Na dann werd ich mal weiter machen...
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#63
0
Ja ist viel passiert,
Ich hatte Gestern auch viel Arbeit durch das versehendliche überschreiben der index Datei.

Jetzt geht aber wieder alles
und ich hab die Frage was ich noch besser und verändern soll an der Download Engine.
Bezw. was für Angaben zum Game sollten noch in die Übersicht oder Beschreibung.

z.B. Jahr, Hersteller etc.
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#64
0
Ja genau die beiden. Vielleicht noch System. Dann kann ich noch ein paar Amiga-Perlen uppen ohne das Verwirrung entsteht hochladen.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#65
0
OK, ich werde Jahr und System noch in der Listing Anzeige einbauen und Hersteller nur bei der Anzeige wo mans auch laden kann.
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#66
0
Die Angabe des Jahres ist jetzt per Auswahl von 1980 - 1998 möglich.
Die Herstellerangabe mach ich per Eingabebox, da es sonst zu viel zum vordefinieren ist.
Die wird aber nicht in der Listenanzeige angezeigt.

Jetzt ist aber die Frage wie ich das mit dem System mache, da ich die Spalte nicht zu lang haben möchte.

Also währ eine Möglichkeit per Icons für welches System das Spiel geschrieben ist.
Da bräuchte ich welche für Dos, Windows 3,11, Win 95, Win 98, Win 2000, Win XP, Amiga, ScummVM und bzw. DosBox
Müssten ca. die gleiche größe haben.

Weiß jetzt auch nicht genau, würde in der Listenanzeige aber nur eine Angabe nehmen, wofür das Spiel gemacht ist.
Man könnte ja in der Detail-Anzeige noch Informationen wie "Läuft auch unter" einfügen.
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#67
0
Also für's System sollten folgende Einträge reichen :
Win 3.11 (obwohl sehr wenige Games), Win95/98, Win2000/XP, Amiga, ScummVM und DosBox (also auch orginales DOS). Wenn es Abweichungen zwischen 95/98 und 2000/XP gibt kann man das ja im Text erwähnen. Und ich würde auch nur eine Angabe machen. Damit ist Win2000/XP fast schon überflüssig.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#68
0
Ja OK wert ich machen.

Ich hab aber noch ein Problem mit dem Editor beim Uploaden, dass der nicht richtig geht und immer ein ScriptFehler im Explorer kommt.
Wo ich leider nicht weiß wie ich den Fehler wegbekomme, da JavaScript nicht mein Fall ist.

Ich hänge mal den Code der Datei an, vielleicht kann jemand mehr damit Anfangen.

Code:
{header}    
      
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="catrow" align="left"><img src="{GRAFURL}/img_arrow_right.gif" alt="" width="14" height="14" border="0" align="absmiddle" />
            {breadcrumb}
          </td>
        </tr>
      </table>
      
<table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <td valign="top" width="80%"> <table width="100%" cellspacing="2" cellpadding="2" border="0">
              <tr>
                <td> <table width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tr>
                      <td width="60%" class="cat_main_headline" valign="top" align="left"> {uploadfile_register_new_file} </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td align="center" valign="top"> <!-- Zeile Kategorie 2  
                <script language="javascript">
                   <!--
                   function validate(theform) {
                    if (theform.upl_file.value!="" && theform.upl_file2.value!="") {
                     alert("{uploadfile_not_possible_link_file}");
                     return false;
                    } else {                        
                        if (theform.upl_file.value=="" && theform.upl_file2.value=="") {
                             alert("{uploadfile_choose_file_or_link}");
                             return false;
                        } else {
                            return true;
                        }
                    }
                   }
                   //
                  </script>        
                    <style type="text/css">
                    <!--
                    #bbeditor {
                        background: #ECE9D8;
                        padding: 6px;
                        border: 2px groove;
                    }
                    
                    #toolbar {    
                        margin: 0;
                        padding: 0;
                        background: #ECE9D8;
                    }
                                
                    .raised {
                        background:#E1E6E8;
                        color: #000000;
                        padding: 0px;
                        border: 1px solid #316AC5;
                    }
                                
                    .pressed {
                        background:#98B5E2;
                        color: #316AC5;
                        padding: 0px;
                        border: 1px solid #316AC5;
                    }                    
                    
                    </style>                                  
                       <script language="JavaScript" type="text/javascript">
                       <!--  
                    // Check for Browser & Platform for PC & IE specific bits
                    // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
                    var clientPC = navigator.userAgent.toLowerCase(); // Get client info
                    var clientVer = parseInt(navigator.appVersion); // Get browser version
                    
                    var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
                    var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
                                    && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
                                    && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
                    var is_moz = 0;
                    
                    var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
                    var is_mac = (clientPC.indexOf("mac")!=-1);      
                    
                    if ((clientVer >= 4) && is_ie && is_win) {
                        document.write("<style type="text/css"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 1px solid #ECE9D8; }</style>");
                    } else  {
                        document.write("<style type="text/css"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 0px; }</style>");
                    }                    
                    
                                    
                       tag_prompth = "{uploadfile_js1}:";
              
                       link_text_prompth = "{uploadfile_js2}";
                       link_url_prompth = "{uploadfile_js3}";
                       link_email_prompth = "{uploadfile_js4}";
                       
                       tags = new Array();
                       function getarraysizeh(thearray) {
                           for (i = 0; i < thearray.length; i++) {
                               if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))
                                   return i;
                               }
                           return thearray.length;
                       }
                       
                       function arraypush(thearray,value) {
                           thearraysize = getarraysizeh(thearray);
                           thearray[thearraysize] = value;
                       }
                       
                       function arraypop(thearray) {
                           thearraysize = getarraysize(thearray);
                           retval = thearray[thearraysize - 1];
                           delete thearray[thearraysize - 1];
                           return retval;
                       }
                       
                       function bbcodeh(theform,bbcode,prompttext) {
                           inserttext = prompt(tag_prompth+" ["+bbcode+"]xxx[/"+bbcode+"]",prompttext);
                           if ((inserttext != null) && (inserttext != "")) {
                               theform.comment_message.value += "["+bbcode+"]"+inserttext+"[/"+bbcode+"] ";
                               theform.comment_message.focus();
                           }
                       }    
                    
                       function namedlinkh(theform,thetype) {
                           linktext = prompt(link_text_prompth,"");
                           var prompttext;
                               if (thetype == "url") {
                                   prompt_text = link_url_prompth;
                                   prompt_contents = "http://";
                               } else {
                                   prompt_text = link_email_prompth;
                                   prompt_contents = "";
                               }
                           linkurl = prompt(prompt_text,prompt_contents);
                               if ((linkurl != null) && (linkurl != "")) {
                                   if ((linktext != null) && (linktext != "")) {
                                       theform.comment_message.value += "["+thetype+"="+linkurl+"]"+linktext+"[/"+thetype+"] ";
                                   } else {
                                       theform.comment_message.value += "["+thetype+"]"+linkurl+"[/"+thetype+"] ";
                                   }
                               }
                           theform.comment_message.focus();
                       }    
                    
                    function mouseover(el) {
                        el.className = "raised";
                    }    
                    
                    function mouseout(el) {
                            el.className = "button";
                    }    
                    
                    function mousedown(el) {
                        el.className = "pressed";
                    }    
                    
                    function mouseup(el) {
                        el.className = "raised";
                    }                                                                
                       
                       //
                       </script>         
                  <form action="{MAINURL}/uploadfile.php" name="alp" method="POST" enctype="multipart/form-data" onSubmit="return validate(this)">
                  <input type="hidden" name="step" value="upload" />
                  <input type="hidden" name="{SESS_NAME}" value="{SESS_ID}" />
                  <input type="hidden" name="MAX_FILE_SIZE" value="{max_file_size}" />                  
                    <table width="100%" border="0" cellspacing="2" cellpadding="0">
                      <tr>
                        <td bgcolor="{CONTENT_BORDER_COLOR}"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                            <tr>
                              <td colspan="2" class="list_headline" align="left">{uploadfile_authors_detail}</td>
                            </tr>
                            <tr>
                              <td class="list_dark" align="left"><p>{uploadfile_authors_name}</p></td>
                              <td valign="middle" class="list_dark" align="left">{input_user_name}</td>
                            </tr>
                            <tr>
                              <td valign="top" class="list_light" align="left"><p>{uploadfile_email}</p></td>
                              <td valign="middle" class="list_light" align="left">{input_user_email}</td>
                            </tr>
                            <tr>
                              <td valign="top" class="list_dark" align="left"><p>{uploadfile_homepage}</p></td>
                              <td valign="middle" class="list_dark" align="left">{input_user_homepage}</td>
                            </tr>
                            <tr>
                              <td colspan="2" valign="top" class="list_headline" align="left">{uploadfile_details_to_your_file}</td>
                            </tr>
                            <tr>
                              <td valign="middle" class="list_dark" align="left"><p>{uploadfile_name_of_your_file}</p></td>
                              <td valign="middle" class="list_dark" align="left"><input name="dltitle" type="text" class="input" size="100" maxlength="250" /></td>
                            </tr>
                            <tr>
                              <td valign="middle" class="list_light" align="left"><p>{uploadfile_category}</p></td>
                              <td valign="middle" class="list_light" align="left">
                                <select name="dl_cat" class="input">
                                  {input_cat_link}
                                </select></td>  
                            </tr>
                            <tr>
                              <td valign="middle" class="list_light" align="left"><p><b>Jahr</b> (für Old Games)</p></td>
                              <td valign="middle" class="list_light" align="left">
                                <select name="dl_year" class="input">
                                  <option value="">keine Angabe</option>
                            <option value="1980">1980</option>
                            <option value="1981">1981</option>
                            <option value="1982">1982</option>
                            <option value="1983">1983</option>
                            <option value="1984">1984</option>
                            <option value="1985">1985</option>
                            <option value="1986">1986</option>
                            <option value="1987">1987</option>
                            <option value="1988">1988</option>
                            <option value="1989">1989</option>
                            <option value="1990">1990</option>
                            <option value="1991">1991</option>
                            <option value="1992">1992</option>
                            <option value="1993">1993</option>
                            <option value="1994">1994</option>
                            <option value="1995">1995</option>
                            <option value="1996">1996</option>
                            <option value="1997">1997</option>
                            <option value="1998">1998</option>
                                </select></td>
                            </tr>
                            <tr>
                              <td valign="middle" class="list_light" align="left"><p>{uploadfile_lang}</p></td>
                              <td valign="middle" class="list_light" align="left">
                                <input type="radio" name="dl_lang" value="german.gif" checked><img src="{GRAFURL}/german.gif" alt="" border="0" />
                <input type="radio" name="dl_lang" value="english.gif"><img src="{GRAFURL}/english.gif" alt="" border="0" />
                <input type="radio" name="dl_lang" value="multilanguage.gif"><img src="{GRAFURL}/multilanguage.gif" alt="" border="0" />
                            </tr>
                            <tr>
                              <td colspan="2" valign="top" class="list_dark" align="left"> <p>{uploadfile_description}</p>
                                <div id="bbeditor" style="text-align:left; width:90%;">    
                                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                                  <tr>
                                    <td align="left" valign="middle">
                                      <div id="toolbar"><img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'b','')"  src="{GRAFURL}/editor_bold.gif" alt="{comment_bold}" title="{comment_bold}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'i','')"  src="{GRAFURL}/editor_italic.gif" alt="{comment_italic}" title="{comment_italic}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'u','')"  src="{GRAFURL}/editor_underline.gif" alt="{comment_underline}" title="{comment_underline}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="namedlinkh(alp,'email')"  src="{GRAFURL}/editor_email.gif" alt="{comment_email}" title="{comment_email}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="namedlinkh(alp,'url')"  src="{GRAFURL}/editor_createlink.gif" alt="{comment_url}" title="{comment_url}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'code','')"  src="{GRAFURL}/editor_code.gif" alt="{comment_code}" title="{comment_code}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'quote','')"  src="{GRAFURL}/editor_quote.gif" alt="{comment_quote}" title="{comment_quote}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'center','')"  src="{GRAFURL}/editor_justifycenter.gif" alt="{comment_center}" title="{comment_center}" width="21" height="20" border="0" align="middle" />
                                      </div>
                                    </td>
                                  </tr>
                                  <tr>
                                    <td align="left"><textarea class="message_area" name="comment_message" cols="" rows="10" wrap="virtual" style="width:99%; height:160px; background-color: #FFFFFF; "></textarea></td>
                                  </tr>
                                </table></div></td>
                            </tr>
                            <tr>
                              <td colspan="2" valign="top" class="list_headline" align="left">{uploadfile_file_and_previewimage}</td>
                            </tr>
                            <tr>
                              <td valign="top" class="list_light" align="left">
                                <p>{uploadfile_file}</p>                                
                              </td>
                              <td valign="top" class="list_light" align="left"><fieldset style="border : 1px solid blue">
                              <legend style="color: black;">{uploadfile_file_upload}</legend>
                  <table border="0" cellspacing="8" cellpadding="0">
                              <label> {uploadfile_max_filesize}

                              
 {uploadfile_choose_file}</label>
                              <input name="upl_file" type="file" class="input" />
                              </table></fieldset>

                                <font size="2"><u>{uploadfile_alternative}</u></font>
                                <fieldset style="border : 1px solid blue">
                                <legend style="color: black;">{uploadfile_link_file}</legend>
                <table border="0" cellspacing="8" cellpadding="0">
                                <label> {uploadfile_please_note_to_use_compl_url}

                                
 {uploadfile_link}</label>
                                <input name="upl_file2" type="text" class="input" />
                                <label> {uploadfile_file_size}<input name="filesize" type="text" class="input" /> {uploadfile_bytes}</label>
                                </table></fieldset>
                              
</td>
                            </tr>
                            <tr>
                              <td valign="top" class="list_dark" align="left"><p>{uploadfile_previewimage}</p></td>
                              <td valign="middle" class="list_dark" align="left"><label>{uploadfile_choose_image}</label>
                                <input name="upl_thumbnail" type="file" class="input" /></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table>
                    <input name="Submit" type="submit" class="input" value="  {uploadfile_btn_register_file}  " />
                                          
                    <input name="Reset" type="reset" class="input" value="  {uploadfile_btn_reset}  " />
                  </form></td>
              </tr>
            </table></td>
        </tr>
      </table>
      

{footer}
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#69
0
Gib mal die Fehlermeldung die er ausspuckt. Am wichtigsten ist die Zeilennummer.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#70
0
Jetzt ist es das

Zeile: 158
Zeichen: 54
Fehler: ')' erwartet
Code: 0
URL: http://www.ogplanet.de/dl_engine/uploadf...5bf9ef5add

Und in der php Datei in der Zeile steht das.

$dltitle = trim(htmlspecialchars($_POST['dltitle']));

Wenn ich aber was im Editor wie 'B', 'I', 'U' und so weiter anklicke, macht es nichts Fett, Kursiv oder Unterstrichen sonder es kommen Fehler die in Zeile 300 und mehr in der Datei angezeigt wird.
Deswegen wird der Fehler auch nicht in der php Datei sein, sondern irgendwo im Script, da die php Datei nur 264 Zeilen hat.
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#71
0
Schick mir mal das Script. Mach sowas beruflich, vielleicht kann ich dir da helfen. Hört sich nach nem Syntax-Fehler an der sich weiter auswirkt.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#72
0
Das ist nur der Code, wie es aus sieht.

Code:
        <script language="javascript">
                   <!--
                   function validate(theform) {
                    if (theform.upl_file.value!="" && theform.upl_file2.value!="") {
                     alert("{uploadfile_not_possible_link_file}");
                     return false;
                    } else {                        
                        if (theform.upl_file.value=="" && theform.upl_file2.value=="") {
                             alert("{uploadfile_choose_file_or_link}");
                             return false;
                        } else {
                            return true;
                        }
                    }
                   }
                   //
                  </script>        
                    <style type="text/css">
                    <!--
                    #bbeditor {
                        background: #ECE9D8;
                        padding: 6px;
                        border: 2px groove;
                    }
                    
                    #toolbar {    
                        margin: 0;
                        padding: 0;
                        background: #ECE9D8;
                    }
                                
                    .raised {
                        background:#E1E6E8;
                        color: #000000;
                        padding: 0px;
                        border: 1px solid #316AC5;
                    }
                                
                    .pressed {
                        background:#98B5E2;
                        color: #316AC5;
                        padding: 0px;
                        border: 1px solid #316AC5;
                    }                    
                    
                    </style>                                  
                       <script language="JavaScript" type="text/javascript">
                       <!--  
                    // Check for Browser & Platform for PC & IE specific bits
                    // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
                    var clientPC = navigator.userAgent.toLowerCase(); // Get client info
                    var clientVer = parseInt(navigator.appVersion); // Get browser version
                    
                    var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
                    var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
                                    && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
                                    && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
                    var is_moz = 0;
                    
                    var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
                    var is_mac = (clientPC.indexOf("mac")!=-1);      
                    
                    if ((clientVer >= 4) && is_ie && is_win) {
                        document.write("<style type="text/css"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 1px solid #ECE9D8; }</style>");
                    } else  {
                        document.write("<style type="text/css"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 0px; }</style>");
                    }                    
                    
                                    
                       tag_prompth = "{uploadfile_js1}:";
              
                       link_text_prompth = "{uploadfile_js2}";
                       link_url_prompth = "{uploadfile_js3}";
                       link_email_prompth = "{uploadfile_js4}";
                       
                       tags = new Array();
                       function getarraysizeh(thearray) {
                           for (i = 0; i < thearray.length; i++) {
                               if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))
                                   return i;
                               }
                           return thearray.length;
                       }
                       
                       function arraypush(thearray,value) {
                           thearraysize = getarraysizeh(thearray);
                           thearray[thearraysize] = value;
                       }
                       
                       function arraypop(thearray) {
                           thearraysize = getarraysize(thearray);
                           retval = thearray[thearraysize - 1];
                           delete thearray[thearraysize - 1];
                           return retval;
                       }
                       
                       function bbcodeh(theform,bbcode,prompttext) {
                           inserttext = prompt(tag_prompth+" ["+bbcode+"]xxx[/"+bbcode+"]",prompttext);
                           if ((inserttext != null) && (inserttext != "")) {
                               theform.comment_message.value += "["+bbcode+"]"+inserttext+"[/"+bbcode+"] ";
                               theform.comment_message.focus();
                           }
                       }    
                    
                       function namedlinkh(theform,thetype) {
                           linktext = prompt(link_text_prompth,"");
                           var prompttext;
                               if (thetype == "url") {
                                   prompt_text = link_url_prompth;
                                   prompt_contents = "http://";
                               } else {
                                   prompt_text = link_email_prompth;
                                   prompt_contents = "";
                               }
                           linkurl = prompt(prompt_text,prompt_contents);
                               if ((linkurl != null) && (linkurl != "")) {
                                   if ((linktext != null) && (linktext != "")) {
                                       theform.comment_message.value += "["+thetype+"="+linkurl+"]"+linktext+"[/"+thetype+"] ";
                                   } else {
                                       theform.comment_message.value += "["+thetype+"]"+linkurl+"[/"+thetype+"] ";
                                   }
                               }
                           theform.comment_message.focus();
                       }    
                    
                    function mouseover(el) {
                        el.className = "raised";
                    }    
                    
                    function mouseout(el) {
                            el.className = "button";
                    }    
                    
                    function mousedown(el) {
                        el.className = "pressed";
                    }    
                    
                    function mouseup(el) {
                        el.className = "raised";
                    }                                                                
                       
                       //
                       </script>
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#73
0
Mach mal ein Attachment in ner Mail draus, dann kann ich dir besser helfen. So ist das recht schwer zu blicken.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#74
0
Ich habs mal als Textdatei angehängt


Angehängte Dateien
.txt   Script.txt (Größe: 6,47 KB / Downloads: 1)
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#75
0
Okay was mir aufgefallen ist, das in Zeile 49 ein Kommentar beginnt (nach dem zweiten '<script language="JavaScript" type="text/javascript">') aber das Ende auskommentiert ist (Zeile 143 : '//'). Wenn der Kommentar drin, hast du effektiv im Script nichts stehen Wink. Also glaube ich du solltest den Kommentar aus Zeile 49 rausschmeißen.
Außerdem ist auch in Zeile 47 ein Fehler. Der style-Tag wird geschlossen ohne das er geöffnet wurde (ist ja auskommentiert).
Ich würde alle Kommentare entfernen und die die notwendig sind neu setzen.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#76
0
hat leider noch nichts geholfen,
ich glaube auch das der Code noch dazugehört, womit die Fehler verursacht werden.

Code:
<tr>
                                    <td align="left" valign="middle">
                                      <div id="toolbar"><img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'b','')"  src="{GRAFURL}/editor_bold.gif" alt="{comment_bold}" title="{comment_bold}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'i','')"  src="{GRAFURL}/editor_italic.gif" alt="{comment_italic}" title="{comment_italic}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'u','')"  src="{GRAFURL}/editor_underline.gif" alt="{comment_underline}" title="{comment_underline}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="namedlinkh(alp,'email')"  src="{GRAFURL}/editor_email.gif" alt="{comment_email}" title="{comment_email}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="namedlinkh(alp,'url')"  src="{GRAFURL}/editor_createlink.gif" alt="{comment_url}" title="{comment_url}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'code','')"  src="{GRAFURL}/editor_code.gif" alt="{comment_code}" title="{comment_code}" width="21" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'quote','')"  src="{GRAFURL}/editor_quote.gif" alt="{comment_quote}" title="{comment_quote}" width="21" height="20" border="0" align="middle" />
                                      <img src="{GRAFURL}/editor_separator.gif" alt="" width="6" height="20" border="0" align="middle" />
                                      <img class="button"  onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onClick="bbcodeh(alp,'center','')"  src="{GRAFURL}/editor_justifycenter.gif" alt="{comment_center}" title="{comment_center}" width="21" height="20" border="0" align="middle" />
                                      </div>
                                    </td>
                                  </tr>
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#77
0
Kann hier keinen Fehler entdecken. Vielleicht würde hier das komplette File helfen, damit man Zeile 158 mal im Kontext sieht. Wobei tritt der Fehler eigentlich auf?
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#78
0
Ich hänge die komplette Datei mal an.

Der Fehler erscheint sobalt ich im IE bei der DL Engine bei Upload rein gehe.

Es ändert sich aber die Zeilenzahl des Fehlers wenn ich bei dem Eingebauten Editor mit der Mouse z.B. über 'B" fahre, da seigt es Zeile 346 an.

Bei "I" ist es Zeile 347, bei "U" Zeile 348
Beim Zeichen für eMail, Zeile 350, bei Link 351, bei '#" Zeile 350, Bei dem Zitat Zeichen, Zeile 354 und bei "Zentriert" Zeile 354.

Was zur folge hat, das die ganzen BBCodes im Editor nicht gehen.


Angehängte Dateien
.txt   Script.txt (Größe: 20,33 KB / Downloads: 1)
[Bild: 3344442782.png]
FTP Server Zugangsdaten [Bild: <a href=ftp.php?server=markocat.no-ip.biz:2121]" class="mycode_img" />
Zitieren
#79
0
JavaScript ist Case-Sensitive, also Groß-/Kleinschreibung ist entscheidend. Dein Aufruf heißt 'onmouseover', muß aber 'onMouseOver' heißen. Probier das mal aus. Allerdings steht es auf SelfHTML kleingeschrieben da...
Nee das ist es nicht, hab's gerade selbst probiert.
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren
#80
0
Ich hab's! Du hast mit Anführungszeichen Probleme :

document.write("<style type="text/css"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 0px; }</style>");

muß in :

document.write("<style type=\\"text/css\\"> .button { background:#ECE9D8; color: #000000; padding: 1px; border: 0px; }</style>");

geändert werden (sind zwei Stellen). Jetzt geht's Big Grin!
The druids sent their best knights to Stonehenge
so they may be dubbed into the Quest for the
MOONSTONE
[Bild: sig1sb5.jpg]
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  [Info] Old Games Never Die [R.I.P.] H_D_BS 75 42.881 22.03.2016, 03:04
Letzter Beitrag: ReservoirDog
  [Info] YT - Kanal - Pretty Old Pixel HRMeinert 5 3.932 28.09.2015, 13:07
Letzter Beitrag: SonataFanatica
  [Info] Ancient DOS Games SonataFanatica 4 4.385 17.06.2014, 19:19
Letzter Beitrag: Insanus
  [Sonstiges] Kids react to technology - old computers :) CrazyJose 4 4.232 29.05.2014, 07:00
Letzter Beitrag: Beule
  Interessantes Games-Archiv Fexel 3 3.116 16.03.2013, 16:18
Letzter Beitrag: Beule

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste