Primehalo, excuse me but I'm not a connoisseur of programming, how do I that?primehalo wrote:Currently it does not have that ability. You would have to modify it to check for "mailto" and then replace the link with something else.
Code: Select all
$message = smiley_text($message, !$row['enable_smilies']);
Code: Select all
if ($is_local && stripos($url, 'http://www.mydomain.com/blog/myblogpost') !== false) {
$is_local = false;
}
Thank you very much.primehalo wrote:You would have to modify the is_link_local function and add your own checks, for example:
Code: Select all
if ($is_local && stripos($url, 'http://www.mydomain.com/blog/myblogpost') !== false) { $is_local = false; }
Code: Select all
$is_local = (EXTERNAL_LINK_TYPES && preg_match('/\.(?:' . EXTERNAL_LINK_TYPES . ')(?:[#?]|$)/', $href)) ? false : $is_local;
Code: Select all
$is_local = (preg_match('/mydomain.com\/blog/', $href)) ? false : $is_local;