Mystics
Sat 8th Jun '02, 6:20pm
If you remove the subscription of a forum or a thread in your UserCP, the link uses action=removesubscription, but the unsubscribe link in an eMail Notification uses action=usub, which is not caught in online.php.
I think this:
} else if ($token1 == 'action=removesubscription') {
if ($token2 == 'type=allthread') {
$userinfo[activity] = 'remsubthread';
} else {
$userinfo[activity] = 'remsubforum';
} should be replaced with this:
} else if ($token1 == 'action=removesubscription' || $token1 == 'action=usub') {
if (strstr($token2,'threadid') || $token2 == 'type=allthread') {
$userinfo[activity] = 'remsubthread';
} else {
$userinfo[activity] = 'remsubforum';
}
Mystics
I think this:
} else if ($token1 == 'action=removesubscription') {
if ($token2 == 'type=allthread') {
$userinfo[activity] = 'remsubthread';
} else {
$userinfo[activity] = 'remsubforum';
} should be replaced with this:
} else if ($token1 == 'action=removesubscription' || $token1 == 'action=usub') {
if (strstr($token2,'threadid') || $token2 == 'type=allthread') {
$userinfo[activity] = 'remsubthread';
} else {
$userinfo[activity] = 'remsubforum';
}
Mystics