weitalia
11-14-2004, 08:16 AM
i have a problem to edit includes/function_online.php to integrate coppermine in it.
My forum path is /
my gallery path is /gallery/
so i edit function online, i add:
case 'gallery':
$userinfo['action'] = $vbphrase['viewing_gallery'];
$userinfo['where'] = "<a href=\"$userinfo[location]\">$userinfo[location]</a>";
break;
between other case
and after
else
{
$userinfo['activity'] = 'modcp';
}
return $userinfo;
}
i add:
else if (strpos($token, "/gallery/") !== false)
{
{
$userinfo['activity'] = 'gallery';
}
return $userinfo;
}
but it doesn't work
someone can help me?
My forum path is /
my gallery path is /gallery/
so i edit function online, i add:
case 'gallery':
$userinfo['action'] = $vbphrase['viewing_gallery'];
$userinfo['where'] = "<a href=\"$userinfo[location]\">$userinfo[location]</a>";
break;
between other case
and after
else
{
$userinfo['activity'] = 'modcp';
}
return $userinfo;
}
i add:
else if (strpos($token, "/gallery/") !== false)
{
{
$userinfo['activity'] = 'gallery';
}
return $userinfo;
}
but it doesn't work
someone can help me?