Wordpress, wpForo & EnlighterJS

1st Official Post
  • I had now several issues to get more buttons and especially the code Enlighter to work with wpForo. Unfortunately wpForo by default only uses the minimal TinyMCE editor and this can't be changed.

    But thanks to the functions.php file in you theme you can at least modify it's behavior in some parts which helps a lot.

    Also images aren't shown directly but as upload. So here are some tweaks for your functions.php file that may help you.


    You can see within the code what is used for what - Pay attention that if you want to add additional plugins like me (advlist, codesample,...) you need to download the correct version and here you must know that Wordpress is using a very very old version of TinyMCE as they don't want to invest the time to upgrade it. So you need to download the version 4.9.11 (I'll attach a version here)

    Of course you can adapt this to your needs.

    But by default wpForo is stripping some HTML tags by default for security reasons which is good but also bad as with that behavior the code isn't loaded correctly with the Enlighter Plugin.


    Thanks to that little code now the Enlighter plugin works well. Here the link to the plugin I'm talking of.

    And last but not least the little code to show the images - I didn't test it myself yet as the forum is brand new but I already integrated the code on the site and other told me that it is working.

    I hope this will help you as it helped me - It was much try on error until I got it to work like I wanted.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!