Announcement

Collapse
No announcement yet.

No sort of bbcode editing?

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

  • No sort of bbcode editing?

    How come VB5 has no BBCode editing to embed images, youtube videos, bold words, etc?

    Seems like it's lacking A LOT and really affects vb5.

  • #2
    Also, if it isn't possible for VB5 at all even with editing, is it possible to downgrade to VB4?

    Comment


    • #3
      Press the 'A' button on the right hand side of the editor.

      There is no way to downgrade to vB4.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.5.4 Demo
      AdminAmmo - My Cloud Demo

      Comment


      • #4
        Originally posted by Mark.B View Post
        Press the 'A' button on the right hand side of the editor.

        There is no way to downgrade to vB4.
        Oh didn't even notice that! Is there a way to expand it by default?

        Comment


        • #5
          No, it should set a cookie to remember it though.
          MARK.B | vBULLETIN SUPPORT

          TalkNewsUK - My vBulletin 5.5.4 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #6
            Originally posted by Mark.B View Post
            No, it should set a cookie to remember it though.
            I'm not sure if that works or even implemented. There's a cookie created for it but I think it's not used.

            I have suggested a script in one of the old posts here that programmatically clicks the A button on page load to expand the advanced editor by default. I don't have the link to the thread though.

            GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

            Comment


            • #7
              Originally posted by Glenn Vergara View Post

              I'm not sure if that works or even implemented. There's a cookie created for it but I think it's not used.

              I have suggested a script in one of the old posts here that programmatically clicks the A button on page load to expand the advanced editor by default. I don't have the link to the thread though.
              It does work for me, during my current session. Seems to reset once the session expires though.

              For a while, on my demo site, I had some css and a template edit in place which made it show all the time, and hid the 'A' button, but I reverted it a while back.
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.5.4 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • #8
                See: http://www.vbulletin.com/forum/forum...itor-always-on

                Not sure if that method still works.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment


                • #9
                  Originally posted by Wayne Luke View Post
                  See: http://www.vbulletin.com/forum/forum...itor-always-on

                  Not sure if that method still works.
                  I can confirm, from adding it to my demo site, that it does....
                  MARK.B | vBULLETIN SUPPORT

                  TalkNewsUK - My vBulletin 5.5.4 Demo
                  AdminAmmo - My Cloud Demo

                  Comment


                  • #10
                    Originally posted by Mark.B View Post

                    I can confirm, from adding it to my demo site, that it does....
                    What would I put for "Title" and "Template Name"?

                    Comment


                    • #11
                      Title can be anything you want.
                      Template name - you need to give it a name, I used advanced_editor
                      Hook location is editor_after_secondary_toolbar_icons

                      Then you need to go to Style Manager > Add New Template (from the dropdown). Call the new template EXACTLY the same as the template name you chose above.
                      Into the template, paste this code:
                      Code:
                      <script>
                      (function() {
                          var loadAdvancedEditor = function() {
                              var editorToolbar = document.querySelector('.b-toolbar__item[data-panel="b-content-entry-panel__content--toggle-editor"]:not(.b-toolbar__item--active)');
                              editorToolbar && editorToolbar.click();
                          };
                          if (window.addEventListener) {
                              window.addEventListener('load', loadAdvancedEditor, false);
                          }
                          else if (window.attachEvent) {
                              window.attachEvent('onload', loadAdvancedEditor);
                          }
                      })();
                      </script>
                      MARK.B | vBULLETIN SUPPORT

                      TalkNewsUK - My vBulletin 5.5.4 Demo
                      AdminAmmo - My Cloud Demo

                      Comment


                      • #12
                        Originally posted by Mark.B View Post
                        Title can be anything you want.
                        Template name - you need to give it a name, I used advanced_editor
                        Hook location is editor_after_secondary_toolbar_icons

                        Then you need to go to Style Manager > Add New Template (from the dropdown). Call the new template EXACTLY the same as the template name you chose above.
                        Into the template, paste this code:
                        Code:
                        <script>
                        (function() {
                        var loadAdvancedEditor = function() {
                        var editorToolbar = document.querySelector('.b-toolbar__item[data-panel="b-content-entry-panel__content--toggle-editor"]:not(.b-toolbar__item--active)');
                        editorToolbar && editorToolbar.click();
                        };
                        if (window.addEventListener) {
                        window.addEventListener('load', loadAdvancedEditor, false);
                        }
                        else if (window.attachEvent) {
                        window.attachEvent('onload', loadAdvancedEditor);
                        }
                        })();
                        </script>
                        Thank you! That worked.

                        Is there a way to only have it when creating a New Topic and keep the quick editor (when posting replies) the default?

                        Comment


                        • #13
                          Originally posted by THVossen View Post

                          Thank you! That worked.

                          Is there a way to only have it when creating a New Topic and keep the quick editor (when posting replies) the default?
                          Not that I know of...it's the same editor for both.
                          MARK.B | vBULLETIN SUPPORT

                          TalkNewsUK - My vBulletin 5.5.4 Demo
                          AdminAmmo - My Cloud Demo

                          Comment


                          • #14
                            Originally posted by Mark.B View Post

                            Not that I know of...it's the same editor for both.
                            Ah okay. Thank you! If anyone is able to figure out if it's possible, that'd be sweet. I do like how the default editor looks like for the quick reply which is why I ask. Keeps it simple for a quick reply, but for a new topic, it may need some editing which is why I ask.

                            Comment


                            • #15
                              Change the code to this:

                              Code:
                              <script>
                              (function() {
                                 // for create new topic only
                                  if (document.querySelector('.new-content-widget')) {
                                      var loadAdvancedEditor = function() {
                                          var editorToolbar = document.querySelector('.b-toolbar__item[data-panel="b-content-entry-panel__content--toggle-editor"]:not(.b-toolbar__item--active)');
                                          editorToolbar && editorToolbar.click();
                                      };
                                      if (window.addEventListener) {
                                          window.addEventListener('load', loadAdvancedEditor, false);
                                      }
                                      else if (window.attachEvent) {
                                          window.attachEvent('onload', loadAdvancedEditor);
                                      }
                                  }
                              })();
                              </script>

                              GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X