bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

simple way to add TinyMCE to BBpress

(13 posts)
  • Started 1 year ago by wenkong
  • Latest reply from csseur3
  • This topic is not resolved
  1. wenkong
    Member

    1. download the latest version of TinyMCE , I use version tinymce_2_1_0

    2. unzip file and upload "jscripts" folder to your server/bbpress/my-plugins/, so link will like this (http://example.com/bbpress/my-plugins/jscripts)

    3. add code to the bbpress templates header file (http://example.com/bbpress/bb-templates/kakumei/header.php),
    ADD CODE before '/head' of header.php

    <script language="javascript" type="text/javascript" src="http://example.com/bbpress/my-plugins/jscripts/tiny_mce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    mode : "textareas"
    });
    </script>

    4. Done! you can check it out when Post content in your bbpress. :)

    see demo capture: http://img147.imageshack.us/img147/5363/tinymceao7.jpg

    p/s: I need someone pitch in and help me how to hack bbpress to support more allowed markup like <u> <tr> <td> <font color> <font size>... etc

    Posted 1 year ago #
  2. Do a search for 'strike' as we discussed the method to add in extra tags a few weeks ago.

    Posted 1 year ago #
  3. citizenkeith
    Member

    hmmm... Doesn't seem to work. Any ideas?

    http://www.citizenkeith.com/forums/

    Posted 1 year ago #
  4. What's up with that tinymc... it's crap really... don't understand why wordpress uses it either, there are way better ones out there.... :D

    Posted 1 year ago #
  5. citizenkeith
    Member

    I fixed mine... just had the code pasted incorrectly. But I didn't like it... seems to slow the site down quite a bit. I'll wait for a better solution.

    Posted 1 year ago #
  6. Null,

    Poo poo on TinyMCE but dont offer any other solutions, why don't you. How about some links to the other better ones?

    Posted 1 year ago #
  7. Like fckEditor...

    But to be honest, these scripts are too big for bbPress. bbPress only supports a blockquote br code em strong ul ol li and not colors, images, tables, font types etc.

    I am thinking of writing a wysiwyg editor that only supports these standard markups and when an extention/plugin is installed (smilies, images) it will support these too. And it will be skinable ofcourse to match the theme installed.

    But I am a busy man, so this will not happen anytime soon :(

    Posted 1 year ago #
  8. Thanks. Yeah I hear where you're coming from, TinyMCE slows my site down a bit and im having trouble with blockquotes, but you can slim it down and make it tiny, so i'll stick with it for now... ive already started copying over all my emotions into it :)

    Posted 1 year ago #
  9. kernow
    Member

    Tried adding the TinyMCE to bbpress and it didn't work. Asked a guy who knows more about this than I do, and he couldn't get it to work either. Browsing for an answer, its suggested

    • a javascript conflict with a plugin
    • , or template.

    I'm using the latest version of WordPress in case there is a conflict there. (Windows hosting)

    Posted 1 year ago #
  10. kernow
    Member

    Since my last post (panic?) I realised my mistake. It works OK now. Problem is the 'guy who knows more than me' is beginning to worry me now hmmm.

    Posted 1 year ago #
  11. How did you make it work?

    Posted 1 year ago #
  12. kernow
    Member

    fel64 wrote: How did you make it work?

    Its easy to install really. You have the main tinymce folder which I opened and uploaded the contents to the 'my-plugins' folder. This is the mistake I made.

    • Just upload the jscript folder within the tinymce folder to my-plugins
    • Edit header.php in your bbpress template, adding the reference to the javascript

    This is part of the code which I copied, which you put before the </head> closing tag in header.php.

    <script language="javascript" type="text/javascript" src="http://example.com/bbpress/my-plugins/jscripts/tiny_mce/tiny_mce.js"></script>

    Change to:

    <script language="javascript" type="text/javascript" src="my-plugins/jscripts/tiny_mce/tiny_mce.js"></script>

    The FULL code you put in header php is the top of the page, but this bit is important.

    Posted 1 year ago #
  13. csseur3
    Member

    hello, i have do that, and i have the buttons at the bottom of the textarea :/

    So, how to habe the buttons in top?

    And the code producted is <p>TEST</p> , how to fix that?

    bye,
    and i think it is great if the tinymce is integrated in bbpress, like an option for example :)

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.