MyBB Community Forums

Full Version: Access plugin with mycode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have done a search and didn't find any answers in the forum or docs. Is is possible to call a plugin from a custom mycode tag? I have an idea for a plugin that would use mycode to add effects to a linked image.

Example:

[img_filter=blur level=5]link to image[/img_filter]
You would have to use a hook to manually parse the MyCode I'm afraid. Take a look at one of the parser hooks: parse_message_start, parse_message and parse_message_end.