Change all links in messages?

Submitted by Anonymous on Sun, 09/16/2012 - 05:47
Written by
Steeep

Well that as the title says, how I can change all the links that are entered automatically in messages?
I just want to use the API adf.ly

Thanks in advance.

This is not supported in v1 and I have no quick solution.

You need to alter the replace strings of the regular expressions matching URLs (sources/functions.php:2264 and later). You can use the "e" modifier to pass the URL portion(s) to a function which then translates to adf.ly. See http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php

Can you help :/?

You need to implement this yourself in PHP. I do not (or no longer) provide mods to people. UseBB 1 has gotten too old and I am not sure whether the solution will always work and be secure.

Note this is not the official support subforum, mods are never officially supported.