Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post Modification Buttons and Rich Editor


  • mcarrico
    Participant

    @mcarrico

    Two Questions:

    1. The Edit post button on the bar of the post is throwing a 404 error. It is trying to take me to the following url: http://intranet/index.php/forums/topic/the-cooking-thread/edit/?view=all and there does not seem to be a corresponding page. Is there something during initial setup that I missed to allow for this url to be populated upon post creation? I am still able to edit via the “Topics” area of the dashboard but I would like for this functionality to work for my users.

    2. I am trying to override the front-end post editor to be a rich editor. I have tried installing the tinyMCE plugin and replace the built in editor with the html tags via http://codex.bbpress.org/enable-visual-editor/ with the following code:
    function tmceeditor( $args = array() ) {
    $args[‘teeny’] = false;
    return $args;
    }
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘tmceeditor’ );

    but am having no luck. Again, the editor in the dashboard editor seems to be inheriting the tinyMCE functionality but I would like the user front-end to use this editor as well.

    Any help would be greatly appreciated.

    I am on WP 3.5.2 and bbPress 2.3.2 with a custom theme.

Viewing 2 replies - 1 through 2 (of 2 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    1. Remove the view=all query argument; does it work then?
    2. You’re not using the code from the codex page. $args['tinymce'] = true; is what turns the visual editor on.

    mcarrico
    Participant

    @mcarrico

    Ok, the tinymce is working now. Thank you for that.

    However, removing the view all query argument still throws a 404

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar