https://www.icyphoenix.com/viewtopic.php?f=35&t=5677&p=38516#p38516 ----------------------------------- Mighty Gorgon Sat 18 Apr, 2009 18:47 Re: Icy 27c Miserable User ----------------------------------- I just had a quick look... Try this: OPEN [b]viewtopic.php[/b] FIND [codeblock] if (($postrow[$i]['ct_miserable_user'] == 1) && ($postrow[$i]['user_id'] != $userdata['user_id']) && ($userdata['user_level'] == USER)) { //$message = $lang['ctracker_message_dialog_title'] . '

' . $lang['ctracker_ipb_deleted']; $message = $lang['ctracker_message_dialog_title'] . "\n\n" . $lang['ctracker_ipb_deleted']; $is_miserable = true; } else { $message = $postrow[$i]['post_text']; //if (($postrow[$i]['ct_miserable_user'] == 1) && ($userdata['user_level'] == ADMIN)) if ($postrow[$i]['ct_miserable_user'] == 1) { //$message .= '

' . $lang['ctracker_mu_success_bbc']; $message .= "\n\n" . $lang['ctracker_mu_success_bbc']; $is_miserable = true; } } [/codeblock] REPLACE WITH [codeblock] if (($postrow[$i]['ct_miserable_user'] == 1) && ($postrow[$i]['user_id'] == $userdata['user_id'])) { // The user is watching its own post... do nothing here! $message = $postrow[$i]['post_text']; } elseif (($postrow[$i]['ct_miserable_user'] == 1) && ($userdata['user_level'] != ADMIN) && ($userdata['user_level'] != MOD)) { // Normal users and guests... $message = ''; // If you want to hide the post text, just comment this line! $message = $postrow[$i]['post_text']; $message .= "\n\n" . $lang['ctracker_mu_success_bbc']; $is_miserable = true; } else { // We are in ADMIN and MODS case! $message = $postrow[$i]['post_text']; if ($postrow[$i]['ct_miserable_user'] == 1) { //$message .= '

' . $lang['ctracker_mu_success_bbc']; $message .= "\n\n" . $lang['ctracker_mu_success_bbc']; $is_miserable = true; } } [/codeblock]