I have read the README and guidelines on the main module page, but turning this module on actually disables signatures on my Advanced Forum totally.

I'm not getting two signatures, I'm getting none at all.

I was expecting a horizontal rule and the signature nicely separated from the rest of the post.

For the record, I have the "User Signature" enabled on both the Forum content type and its comments.

Any tips appreciated, thank you.

Comments

marktheshark’s picture

Any feedback on this?

marktheshark’s picture

It has been two month since my previous question, any updates? Thank you

js_kiran’s picture

Same result here too. But I see that it worked when I use the AT-Commerce theme but does not work when I use the Skeleton theme. Not sure if it is a module issue or a theme issue.

https://www.drupal.org/project/at_commerce
https://www.drupal.org/project/skeletontheme

wfragakis’s picture

Lost my mind for hours trying to sort something like this out. If I looked at the source, the signature was there but was in a div with class=clear. My theme css made it invisible.

I searched and searched trying to find where the div was coming from. If I disabled this module, I'd get a signature - sometimes. Very frustrating. Finally with some searching, I came across this:

https://www.drupal.org/node/233808#comment-768304

which led to this:
https://api.drupal.org/api/drupal/modules!user!user.module/function/them...
and this:
https://www.drupal.org/node/173880

Short version - your theme may have a "clear" class which renders the sig invisible unless it also has a theme override

My version in my theme's template.php

function nameofmytheme_user_signature($variables) {
  $signature = $variables['signature'];
  $output = '';

  if ($signature) {
    $output .= '<div class="clearfix">';
    $output .= '<div>—</div>';
    $output .= $signature;
    $output .= '</div>';
  }

  return $output;
}

Hope that helps someone