Would be good to pass message to bbcode formatting callback functions. Example usecases are: change tag behaviour basing on poster user_id; use message metadata when formatting the tag.
Reported by: Alexey Torkhov email@example.com
Imported from TRAC: http://trac.phorum.org/ticket/804
Here, would be also good to pass that message as reference to allow formatting function change something in metadata.
By: Alexey Torkhov firstname.lastname@example.org
bbcode callback functions? You mean the module function itself? bbcode has just one hook and its purpose is clearly about tags and not the messages. Is there something I am missing?
The functions that are defined with BBCODE_INFO_CALLBACK param in tag description.
I'm saying that their logic could depend on message itself (well, and sometimes is to alter message metadata).