Announcement

Collapse
No announcement yet.

Forums problem when Editing an article in Advanced Mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Same issue on my forum too. Glad it's not just my boards

    Comment


    • #17
      I have the same problem. I am very angry and annoyed.

      Comment


      • #18
        Same problem here , hope will be solved with a temp solution too.....
        Last edited by Sworm1; Sun 4 Dec '11, 4:57am.

        Comment


        • #19
          Solution from vb-germany.com:
          orange = file name; red = old code; blue = new code
          Originally posted by pogo

          In der orange markierten Datei sucht man die rot markierte Zeile und ersetzt sie mit der blau markierten Zeile.

          Damit die richtige Zeile einfacher zu finden ist, ist noch die Zeilennummer der ersten Zeile des Codes mit angegeben.
          In diesen Fällen also 414, 143, 465, etc.

          Das Minus vor der Zeile besagt, dass diese Zeile zu entfernen ist.
          Das Plus vor der Zeile besagt, dass diese Zeile hinzuzufügen ist.

          Minus oder Plus dürfen auf gar keinen Fall bei der Änderung mit eingefügt werden!

          Der restliche Code ist nicht zu verändern und dient nur dem Auffinden der korrekten Zeile, die zu ändern ist.


          Code:
          Index: [COLOR="#FFA500"]clientscript/vbulletin_quick_edit.js[/COLOR]
          ===================================================================
          --- clientscript/vbulletin_quick_edit.js	(revision 55763)
          +++ clientscript/vbulletin_quick_edit.js	(revision 55764)
          @@ -414,7 +414,7 @@
           			form.add_variable('quickeditnoajax', 1);
           		}
           		form.add_variable('postid', vB_QuickEditor.postid);
          -		[COLOR="#FF0000"]form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents());[/COLOR]
          +		[COLOR="#0000FF"]form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].getRawData());[/COLOR]
           		form.add_variable('reason', fetch_object(vB_QuickEditor.editorid + '_edit_reason').value);
           		form.add_variable('posthash', vBulletin.attachinfo.posthash);
           		form.add_variable('poststarttime', vBulletin.attachinfo.poststarttime);
          Code:
          Index: [COLOR="#FFA500"]clientscript/vbulletin_quick_edit_picturecomment.js[/COLOR]
          ===================================================================
          --- clientscript/vbulletin_quick_edit_picturecomment.js	(revision 55763)
          +++ clientscript/vbulletin_quick_edit_picturecomment.js	(revision 55764)
          @@ -143,7 +143,7 @@
           		form.add_variable(this.vars.objecttype, this.objectid);
           		form.add_variable(this.vars.type, this.vars.xid);
           		form.add_variable('attachmentid', this.vars.attachmentid);
          -		[COLOR="#FF0000"]form.add_variable('message', vB_Editor[this.editorid].get_editor_contents());[/COLOR]
          +		[COLOR="#0000FF"]form.add_variable('message', vB_Editor[this.editorid].getRawData());[/COLOR]
           		form.add_variable('reason', YAHOO.util.Dom.get(this.editorid + '_edit_reason').value);
           		form.add_variable('wysiwyg', vB_Editor[this.editorid].is_wysiwyg_mode());
          Code:
          Index: [COLOR="#FFA500"]clientscript/blog_quick_edit.js[/COLOR]
          ===================================================================
          --- clientscript/blog_quick_edit.js	(revision 55763)
          +++ clientscript/blog_quick_edit.js	(revision 55764)
          @@ -465,7 +465,7 @@
           	}
           
           	form.add_variable(this.factory.objecttype, this.objectid);
          -	[COLOR="#FF0000"]form.add_variable('message', vB_Editor[this.editorid].get_editor_contents());[/COLOR]
          +	[COLOR="#0000FF"]form.add_variable('message', vB_Editor[this.editorid].getRawData());[/COLOR]
           	form.add_variable('reason', YAHOO.util.Dom.get(this.editorid + '_edit_reason').value);
           	form.add_variable('wysiwyg', vB_Editor[this.editorid].is_wysiwyg_mode());
          Code:
          Index: [COLOR="#FFA500"]clientscript/vbulletin_quick_edit_generic.js[/COLOR]
          ===================================================================
          --- clientscript/vbulletin_quick_edit_generic.js	(revision 55763)
          +++ clientscript/vbulletin_quick_edit_generic.js	(revision 55764)
          @@ -502,7 +502,7 @@
           		}
           
           		form.add_variable(this.vars.objecttype, this.objectid);
          -		[COLOR="#FF0000"]form.add_variable('message', vB_Editor[this.editorid].get_editor_contents());[/COLOR]
          +		[COLOR="#0000FF"]form.add_variable('message', vB_Editor[this.editorid].getRawData());[/COLOR]
           		form.add_variable('reason', YAHOO.util.Dom.get(this.editorid + '_edit_reason').value);
           		form.add_variable('wysiwyg', vB_Editor[this.editorid].is_wysiwyg_mode());
          Code:
          Index: [COLOR="#FFA500"]clientscript/vbulletin_textedit.js[/COLOR]
          ===================================================================
          --- clientscript/vbulletin_textedit.js	(revision 55763)
          +++ clientscript/vbulletin_textedit.js	(revision 55764)
          @@ -772,7 +772,7 @@
           		}
           		else
           		{
          -			[COLOR="#FF0000"]var changed = (vB_Editor[x].initial_text_crc32 != current_text_crc32);[/COLOR]
          +			[COLOR="#0000FF"]var changed = (vB_Editor[x].lastautosave_text_crc32 != null && vB_Editor[x].initial_text_crc32 != current_text_crc32);[/COLOR]
           		}
           
           		if (vB_Editor[x].initialized && changed)
          .......

          Comment


          • #20
            Originally posted by Ramsesx View Post
            Solution from vb-germany.com:
            orange = file name; red = old code; blue = new code
            Thank you very much, I allready had this information, but I have a problem:

            I can not find the text to be change (if have used DreamWeaver, TotalEdit, 010 Editor, and even Notepad).

            ???

            Comment


            • #21
              Originally posted by usuyusu View Post
              Thank you very much, I allready had this information, but I have a problem:

              I can not find the text to be change (if have used DreamWeaver, TotalEdit, 010 Editor, and even Notepad).

              ???
              I haven't done this changes by myself but take the first change as an example:


              Code:
              Index: [COLOR="#FFA500"]clientscript/vbulletin_quick_edit.js[/COLOR]
              ===================================================================
              --- clientscript/vbulletin_quick_edit.js	(revision 55763)
              +++ clientscript/vbulletin_quick_edit.js	(revision 55764)
              @@ [COLOR="#FF0000"][B]-414,7 +414,7[/B][/COLOR] @@
               			form.add_variable('quickeditnoajax', 1);
               		}
               		form.add_variable('postid', vB_QuickEditor.postid);
              -		[COLOR="#FF0000"]form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents());[/COLOR]
              +		[COLOR="#0000FF"]form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].getRawData());[/COLOR]
               		form.add_variable('reason', fetch_object(vB_QuickEditor.editorid + '_edit_reason').value);
               		form.add_variable('posthash', vBulletin.attachinfo.posthash);
               		form.add_variable('poststarttime', vBulletin.attachinfo.poststarttime);
              File name in orange is clientscript/vbulletin_quick_edit.js
              Search for the text:
              form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents());
              replace with:
              form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].getRawData());

              The red bold number is the line number, in this case 414
              .......

              Comment


              • #22
                Yes, i understand perfectly what "change text" means but the thing is that my js file does not have this text inside.

                Comment


                • #23
                  You're right, can't find it too in the files but it's the same like in the tracker diff file. Maybe someone from staff can clear this up.
                  .......

                  Comment


                  • #24
                    Please search better... i've found it in my vbulletin_quick_edit.js ... i'm trying if work.

                    Comment


                    • #25
                      It's working for me with the first four js edited. Thanks Ramsesx
                      Last edited by Sworm1; Sun 4 Dec '11, 12:52pm.

                      Comment


                      • #26
                        Welcome 4.1.9 beta 1. Did you fix problem?

                        Test text.

                        // Edit: No... lol

                        Comment


                        • #27
                          I've tried the fix, but my js files are kinda different. For example, in clientscript/vbulletin_quick_edit.js I don't have form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents()); , instead this: A.add_variable("message",vB_Editor[vB_QuickEditor.editorid].get_editor_contents()); I can risk myself and modify in those files that look similar but in the last file, clientscript/vbulletin_textedit.js, there is nothing resembling to that
                          SWTOR Forums | Software Forums

                          Comment


                          • #28
                            Originally posted by usuyusu View Post
                            Thank you very much, I allready had this information, but I have a problem:

                            I can not find the text to be change (if have used DreamWeaver, TotalEdit, 010 Editor, and even Notepad).

                            ???
                            This is because you are using the default vB package with minified JavaScript files.

                            vBulletin QA - vBulletin Support French - Lead Project Tools developer

                            Next release? Soon(tm)

                            Comment


                            • #29
                              This is because you are using the default vB package with minified JavaScript files.
                              i have same problem
                              what can we do now?

                              Comment


                              • #30
                                Originally posted by PitchouneN64ngc View Post
                                This is because you are using the default vB package with minified JavaScript files.
                                Originally posted by elisan View Post
                                i have same problem
                                what can we do now?
                                Ok, but then thing is that every time a user press the advanced editor button a lot of funny things occurs, for example a pm or a email to the admin COMPLAINING.

                                So, please, ANYBODY KNOWS if it is there ANY way to solve this VERY ANNOYING bug??

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X