Logician,
Great hack! Very helpful to keep the users visiting the forums.
A question though: one of my mods is restricted to surf the web at his work, but is able to receive e-mail.
I want to enable full message posting for him, but limited to 50 chars for all other visitors.
I've tried the following code in newreply.php, but to no avail:
Code:
if ($visible) {
if ($bbuserinfo[userid]==xxx) {
// LOGICIAN SEND PART OF USER REPLY WITH EMAIL NOTIFICATION HACK
$logic_mes_sum= $message;
} else {
$logic_mes_sum= substr($message, 0, 50)."... ";
}
// LOGICIAN SEND PART OF USER REPLY WITH EMAIL NOTIFICATION HACK
sendnotification ($threadinfo['threadid'], $bbuserinfo['userid'], 0);
}
How can I enable full extracts for this specific user, but limited extracts for all others?