Incorrect work in node types with
* May not be posted into a group.

if comment permissions set to
post comments unchecked for anonymous user
it displays
Login or register to post comments
instead of Login or register to post comments

and so on

Comments

vb’s picture

the format converted the text to a link
the module displays html code instead of Login or register to post comments
it displays

<a href="/user/login?destination=node%2F11%23comment-form">Login</a> or <a href="/user/register?destination=node%2F11%23comment-form">register</a> to post comments
superoperater’s picture

In function comment_og_preprocess_comment, putting a comment on line $variables['links'] = theme('links', $links); solved me an issue with plain output.

vb’s picture

Thanks, i will try all your patches.

chromix’s picture

Status: Active » Needs review

I believe I fixed this change in dev. Can anyone confirm that?

extrarumeno’s picture

Not fixed in dev.

chromix’s picture

I just committed another fix to the dev release. I did a lot more testing this time and I believe this time it should work.

chromix’s picture

Status: Needs review » Fixed

I just re-wrote the module so that it doesn't rely on HOOK_preprocess_comment any longer, so this is extra fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.