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

NoRandom’s picture

Done 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.

liam mcdermott’s picture

Status: Active » Fixed

Thanks 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. :)

Status: Fixed » Closed (fixed)

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