it makes a server enternal error ? and wont work ...
2 what is that code ? or to put it
Code is dead simple.
PHP Code:
<?php
/*
(C) 2006 by Nils Maier
License: GNU General Public License (GPL) 2.0, http://www.opensource.org/licenses/gpl-license.php
*/
function _c_vBRanking_replace($in)
{
return sprintf(
'%s-%s.html%s',
$in[1],
preg_replace(array('/(&|&(?!quot;|lt;|gt;))/', '/=/'), array('-', '_'), $in[2]),
$in[3]
);
}
function vBRanking($in)
{
return preg_replace_callback('-(<a.*href="(?!\w+:).*)\.php\?(.*)(#|")-Ums', '_c_vBRanking_replace', $in);
}
if (!$vbulletin->userinfo['userid'])
{
$output = vBRanking($output);
}
?>