Closed (fixed)
Project:
Signatures for Forums
Version:
5.x-2.3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2008 at 18:08 UTC
Updated:
30 Nov 2008 at 21:33 UTC
Hi
I'm having problems printing forum signature in custom user profile. I tried with:
echo $user->signature;
...and also with:
print signature_forum_get_signature($user);
but they doesn't seem to work. Any idea or suggestion?
Thanks in advance and thanks for this useful module.
Comments
Comment #1
NoRandom commentedDone through $user->signature_forum variable:
print check_markup($user->signature_forum, 4, TRUE);I used check_markup function to allow input filters in the signature.
Kind regards.
Comment #2
liam mcdermott commentedThanks for posting your solution. The
signature_forum_get_signature()function only works with a node or comment object, so it wouldn't have worked from a profile.The workaround above looks good, using
check_markup()was a very good idea too. :)