WordPress.org

Ready to get started?Download WordPress

Forums

GuahanWeb AJAX & WYSIWYG Comments
Can't get it to work (4 posts)

  1. sabinevi
    Member
    Posted 1 year ago #

    The installation description of the wysiwyg-editor is not really acurate, it says:

    5a. In the comments.php file, find the line that defines the textarea ("<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>")

    But in my theme, as in TwentyTen and TwentyEleven, there is only a function 'comment_form()' call to generate the above code for the comment form textarea. Luckily we are allowed to pass arguments to this function as we can read here.
    So I tried this (needed the ob_start()/ob_get_clean() to get the output into a variable instead of outputting it directly to the browser):

    global $guahanAjaxCommentsPlugin;
    		if (isset($guahanAjaxCommentsPlugin)) {
    			ob_start();
    			$guahanAjaxCommentsPlugin->renderCustomCommentField();
    			$content = ob_get_clean();
    		} else {
    			$content = '<textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea>';
    		}
    		comment_form(array('comment_field' => '<p>'.$content.'</p>'));

    But no wysiwyg-editor is showing up. Not sure if I am doing something wrong or if it's the plugin that's not working.

    http://wordpress.org/extend/plugins/guahanweb-ajax-comments-with-wysiwyg-support/

  2. Peter
    Member
    Posted 1 year ago #

    There's an error in the plugin. It also can't get the css files as it's looking for guahanweb-ajax-comments and not guahanweb-ajax-comments-with-wysiwyg-support. The author hasn't set up the plugin correctly as I also get this error after activating it:
    The plugin generated 1 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

  3. gerital
    Member
    Posted 1 year ago #

    Same problem here, error described by Peter makes it impossible to activate plugin.

  4. illinois-bdr
    Member
    Posted 10 months ago #

    problems also for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.