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

  1. sabinevi
    Posted 2 years 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)) {
    			$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.


  2. Peter
    Posted 2 years 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
    Posted 2 years ago #

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

  4. illinois-bdr
    Posted 1 year ago #

    problems also for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GuahanWeb AJAX & WYSIWYG Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.