
02-25-2003, 02:57 PM
|
 |
|
|
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally posted by Logician
Try this one:
Edit online.php, find:
PHP Code:
}
$userinfo[time] = vbdate($timeformat,$userinfo[lastactivity]);
Before that add:
PHP Code:
// Logician WebTemplates Hack
if (preg_match("/(pg=)(.*)(&)/siU", $userinfo[location], $l_match1) OR preg_match("/(pg=)(.*)/siU", $userinfo[location], $l_match2))
{
if ($l_match1[2]) {$lmatch=$l_match1[2];} else {$lmatch=$l_match2[2];}
$userinfo[where]= 'Reading Webtemplate: <a href="show.php?pg='.$lmatch.'" target="_blank">'.$lmatch.'</a>';
}
// Logician WebTemplates Hack
Enjoy..
|
Thanks for that, i'll give it a go.
Craig
|