MyBB Community Forums

Full Version: Where to edit the urls that are parsed?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, that's where I can edit the urls regular expressions that are entered in the messages?

That file should I modify or hook that I do?

Thanks in advance.
mycode_auto_url in inc/class_parser
Thanks, have any hook in this part or not?
Possible hooks are parse_message_start, parse_message, parse_message_end, text_parse_message.

There is no hook specifically to URL parsing, but depending on what you want to do you may be able to in one of those.
What you put these hooks could be the best to replace the contents of a url and integrate it with adf.ly eg? No asked as, if not which of these?