Active
Project:
Signatures for Forums
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 18:40 UTC
Updated:
28 Aug 2012 at 11:08 UTC
Could you implement some hooks in the module, so it allows other modules to add stuff to the signature?
Comments
Comment #1
hlopes commentedI have no clue how this module works, but need to append something to the signature with another module without touching the db.
Normally i would do something like
$account->signature .= 'something'; on the user_hook, op load.
I've tried to change $account->signature_forum: no go.
I've tried to override the theme function: no go, as i need the user id to compute the thing i want to append.
I've altered the modules weights and everything, but to no avail.
Any suggestions?
Comment #2
Niklas Fiekas commentedIt's implemented like this:
That means you could append your values in your own implementations of those hooks, if they run after signature_forum (thus the weights you already mentioned). See
<--for where to append.If
signature_forum_auto_insertisn't enabled, you could still do it on the theme layer.Comment #3
hlopes commentedAny reason why i shouldn't do something like this?