Disable embedly

What's the best way to disable embedly so that if someone posts a link in a timeline, just a plain link shows? I want to get rid of all third party stuff.

  • 421
  • More
Replies (4)
    • Well, not ideal because it will be overridden during an upgrade, but, deleting the code in embed_embedly_integration.html in the templates folder disables embedly since then the JavaScript used to display it is gone.

      Let me know if there is a better way. 

      • You can disable Embedly by emptying "Embeds provider" field in Studio > Developer > Settings.

        • Oh, cool. Thank you! I also don't need tinymce and I see that field there as well. Does that mean if I empty sys_tinymce, that I never have to worry about the tinymce editor appearing anywhere?

          • HI Billy!

            You may also to change this code in your template/scripts/BxBaseFormView.php

            function addHtmlEditor($iViewMode, &$aInput)

                {

                    $oEditor = BxDolEditor::getObjectInstance(false, $this->oTemplate);

                    if (!$oEditor)

                        return false;

                    $this->_sCodeAdd .= $oEditor->attachEditor ('#' . $this->aFormAttrs['id'] . ' [name='.$aInput['name'].']', $iViewMode, $this->_bDynamicMode);

                    return true;

                }

            to this one:

            function addHtmlEditor($iViewMode, &$aInput)

                {        

                    return true;

                }

            But better to disable the necessary fields via Studio->Forms app, just chose "No editor" in the corresponding field.

            Login or Join to comment.