Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Pass message to bbcode callback function #702

Open
Phorum opened this Issue · 4 comments

1 participant

@Phorum

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 atorkhov@gmail.com
Imported from TRAC: http://trac.phorum.org/ticket/804

@Phorum

Here, would be also good to pass that message as reference to allow formatting function change something in metadata.

By: Alexey Torkhov atorkhov@gmail.com

@Phorum

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?

By: brian

@Phorum

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

By: Alexey Torkhov atorkhov@gmail.com

@Phorum

By: ts77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.