Closed (outdated)
Project:
DruBB
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 May 2009 at 05:09 UTC
Updated:
16 Feb 2022 at 12:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedYes and per-uid (which is automatically per-nid in Views).
Comment #2
liam mcdermott commentedThanks for the answer Earl, I'll try adding Views integration either tomorrow or over the weekend. Then would you mind doing a quick code review? It would be helpful and just in case I have completely mis-interpreted the Views API. ;)
Comment #3
merlinofchaos commentedDid you make any progress on this? I'd love to have some code to review here =)
Comment #4
liam mcdermott commentedI was wondering whether this would be required, and then forgot about it. :)
Attached is a patch, which is named after webchick following a conversation on IRC. It provides three ways of getting signatures: 1) straight from the database, by linking {users_signature} to {users}; 2) by using the {node} table and a custom field handler that adds additional fields to the query, required for a call to signature_forum_get_signature() in the field handler's render() function; 3) the same as (2), but with {comments}.
One caveat: signatures are called 'Signatures for Forums signature' as core already has 'User: signature'. I titled all instances of the signature field this way for consistency, even when not strictly necessary. If anyone can think of anything better, go ahead!
Comment #5
michelleHow about "Extended signature"? Not opposed to the module name... Just offering a shorter and perhaps clearer alternate.
Michelle
Comment #6
avpadernoI am closing this issue, as Drupal 4.7, 5, and 6 are now not supported.