cotonti.com : Hide links to guests about https://www.cotonti.com Laatste forum onderwerpen Cotonti en Thu, 29 Jan 2026 23:09:41 -0000 AbkHaZiaN
function sed_parse_autourls($text)
{
global $usr;
if ($usr['maingrp']>0)
{
    $text = preg_replace('`(^|\s)(http|https|ftp)://([^\s"\'\[]+)`', '$1<a href=https://www.cotonti.com/"$2://$3">$2://$3</a>', $text);
    $text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'sed_obfuscate_eml', $text);
    return $text;
}
else
{
    $text = preg_replace('`(^|\s)(http|https|ftp)://([^\s"\'\[]+)`', 'nolink', $text);
    $text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'nolink', $text);
    return $text;
}
}

Give an error:
Warning: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'nolink', to be a valid callback in /home/pow3r/domains/zzzzz/public_html/system/functions.php on line 699

This is on line 699:
$text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'nolink', $text);

Added 4 days later:

are you forget us:([/][/]]]>
Di, 01 Sep 2009 19:02:23 -0000
Trustmaster Ma, 31 Aug 2009 23:43:37 -0000 AbkHaZiaN I'm create it but its not work
Warning: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'nolink', to be a valid callback in /home/pow3r/domains/pow3r.org/public_html/system/functions.php on line 716
]]>
Ma, 31 Aug 2009 22:23:52 -0000
Trustmaster system/functions.php]]> Ma, 31 Aug 2009 15:12:47 -0000 AbkHaZiaN Zo, 30 Aug 2009 20:17:48 -0000 esclkm
function sed_bbcode_autourls($text)
{
global $usr;
if ($usr['maingrp']>0)
{
    $text = preg_replace('`(^|\s)(http|https|ftp)://([^\s"\'\[]+)`', '$1<a href=https://www.cotonti.com/"$2://$3">$2://$3</a>', $text);
    $text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'sed_obfuscate_eml', $text);
    return $text;
}
else
{
    $text = preg_replace('`(^|\s)(http|https|ftp)://([^\s"\'\[]+)`', 'nolink', $text);
    $text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'nolink', $text);
    return $text;
}
}
[/][/]]]>
Za, 29 Aug 2009 20:38:52 -0000
DemptD Za, 29 Aug 2009 20:17:16 -0000 AbkHaZiaN Za, 29 Aug 2009 17:16:24 -0000 fedai cotonti function:

function sed_parse_autourls($text)
{
	$text = preg_replace('`(^|\s)(http|https|ftp)://([^\s"\'\[]+)`', '$1<a href=https://www.cotonti.com/"$2://$3">$2://$3</a>', $text);
	$text = preg_replace_callback('`(^|\s)(\w[\._\w\-]+@[\w\.\-]+\.[a-z]+)`', 'sed_obfuscate_eml', $text);
	return $text;
}
seditio function:

function sed_bbcode_autourls($text)
{
$text = ' '.$text;
$text = preg_replace("#([\n ])([a-z0-9]+?)://([^\t \n\r]+)#i", "\\1[url]\\2://\\3[/url]", $text);
$text = preg_replace("#([\n ])([a-z0-9-_.]+?@[A-z0-9-]+\.[^,\t \n\r]+)#i", "\\1[email]\\2[/email]", $text);
return(substr($text,1));
}

seditio Hide links to guests corehack:

function sed_bbcode_autourls($text)
{
global $usr;
if ($usr['maingrp']>0)
{
$text = ' '.$text;
$text = preg_replace("#([\n ])([a-z0-9]+?)://([^\t \n\r]+)#i", "\\1[url]\\2://\\3[/url]", $text);
$text = preg_replace("#([\n ])([a-z0-9-_.]+?@[A-z0-9-]+\.[^,\t \n\r]+)#i", "\\1[email]\\2[/email]", $text);
return(substr($text,1));
}
else
{
$text = ' '.$text;
$text = preg_replace("#([\n ])([a-z0-9]+?)://([^\t \n\r]+)#i", " Linkleri görebilmek için <a href=https://www.cotonti.com/\"users.php?m=register\">ÜYE</a> olmalısınız.", $text);
$text = preg_replace("#\[url([^\t \n\r]+)#i", " Linkleri görebilmek için <a href=https://www.cotonti.com/\"users.php?m=register\">ÜYE</a> olmalısınız.", $text);
$text = preg_replace("#([\n ])([a-z0-9-_.]+?@[A-z0-9-]+\.[^,\t \n\r]+)#i", "\\1[email]\\2[/email]", $text);
return(substr($text,1));
}
}

You can help cotonti about corehack?
[/]]]>
Ma, 24 Aug 2009 04:27:15 -0000