Forums

Comments formatting incorrectly for unlogged users. (4 posts)

  1. joshj
    Member
    Posted 2 years ago #

    Does anyone know why comments from logged in users are spacing correctly, but comments from non-logged in users are not?

    When a logged in user types up a comment, <p> tags are wrapped around graphs as the user hits return. However, hitting return as a non-logged-in user just creates a single </br> before starting the next paragraph. This leaves paragpraphs starting on the next line instead of leaving space between.

    I'm using Mandigo theme and have MCEComments pluging active. I haven't seen this specific problem crop up in support for either, but wonder if there's a conflict between the two of some kind.

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Have you tried deactivating the MCEComments plugin to see if that resolves the problem?

  3. Jani Uusitalo
    Member
    Posted 1 year ago #

    A fix for this has been posted in MCEComments' author's blog's comments: set 'force_p_newlines' to true and 'force_br_newlines' to false in the plugin code. In v0.4.8 they're on lines 268-269 of tinyMCEComments.php.

  4. Jani Uusitalo
    Member
    Posted 1 year ago #

    Spoke too soon I see: the 'fix' I linked to only fixed this for logged in users (whose comments didn't have proper paragraphing either, on my site).

Topic Closed

This topic has been closed to new replies.

About this Topic