Download & Extend

Signatures not showing up in comments

Project:Advanced Forum
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

User signatures are not showing up in comments. I tracked this down to signature_forum-6.x-1.0-alpha1. Looks like the variable name to use should be 'signature_forum' instead of 'signature'. Here's the relevant snippet from the hook_user function of signature_forum:

    case 'load':
      $signature = db_result(db_query('SELECT signature FROM {users_signature} WHERE uid=%d', $account->uid));
      // Bug #190446 OG puts $account->signature into comments
      $account->signature_forum = $signature;
      break;

Comments

#1

Version:6.x-1.0-alpha2» 6.x-1.x-dev
Status:active» fixed

That code was just copied from D5. I've fixed it so it works properly now with and without the module installed.

Michelle

#2

Status:fixed» closed (fixed)

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