Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: post.php 4036 2008-07-24 11:35:12Z ZiNgaBuRgA $
| * $Id: post.php 4092 2008-08-10 03:03:04Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 854 | Zeile 854 |
---|
// Fetch any users subscribed to this thread receiving instant notification and queue up their subscription notices $query = $db->query(" SELECT u.username, u.email, u.uid, u.language, s.subscriptionkey
|
// Fetch any users subscribed to this thread receiving instant notification and queue up their subscription notices $query = $db->query(" SELECT u.username, u.email, u.uid, u.language, s.subscriptionkey
|
FROM ".TABLE_PREFIX."threadsubscriptions s, ".TABLE_PREFIX."users u
| FROM ".TABLE_PREFIX."threadsubscriptions s LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=s.uid)
|
WHERE s.notification='1' AND s.tid='{$post['tid']}'
|
WHERE s.notification='1' AND s.tid='{$post['tid']}'
|
AND u.uid=s.uid
| |
AND s.uid != '{$post['uid']}' AND u.lastactive>'{$thread['lastpost']}' ");
| AND s.uid != '{$post['uid']}' AND u.lastactive>'{$thread['lastpost']}' ");
|
Zeile 871 | Zeile 871 |
---|
{ $uselang = $subscribedmember['language']; }
|
{ $uselang = $subscribedmember['language']; }
|
elseif($mybb->settings['bblanguage'])
| elseif($mybb->settings['orig_bblanguage'])
|
{
|
{
|
$uselang = $mybb->settings['bblanguage'];
| $uselang = $mybb->settings['orig_bblanguage'];
|
} else {
| } else {
|
Zeile 901 | Zeile 901 |
---|
$emailmessage = $langcache[$uselang]['email_subscription']; } $emailsubject = $lang->sprintf($emailsubject, $subject);
|
$emailmessage = $langcache[$uselang]['email_subscription']; } $emailsubject = $lang->sprintf($emailsubject, $subject);
|
$emailmessage = $lang->sprintf($emailmessage, $subscribedmember['username'], $post['username'], $mybb->settings['bbname'], $subject, $excerpt, $mybb->settings['bburl'], get_thread_link($thread['tid'], 0, "newpost"), $thread['tid'], $subscribedmember['subscriptionkey']);
| $emailmessage = $lang->sprintf($emailmessage, $subscribedmember['username'], $post['username'], $mybb->settings['bbname'], $subject, $excerpt, $mybb->settings['bburl'], str_replace("&", "&", get_thread_link($thread['tid'], 0, "newpost")), $thread['tid'], $subscribedmember['subscriptionkey']);
|
$new_email = array( "mailto" => $db->escape_string($subscribedmember['email']), "mailfrom" => '',
| $new_email = array( "mailto" => $db->escape_string($subscribedmember['email']), "mailfrom" => '',
|
Zeile 1435 | Zeile 1435 |
---|
else { $first_post = false;
|
else { $first_post = false;
|
| } if($existing_post['visible'] == 0) { $visible = 0;
|
} // Update the thread details that might have been changed first. if($first_post)
|
} // Update the thread details that might have been changed first. if($first_post)
|
{ if($existing_post['visible'] == 0) { $visible = 0; }
| {
|
$this->tid = $post['tid'];
$this->thread_update_data['visible'] = $visible;
| $this->tid = $post['tid'];
$this->thread_update_data['visible'] = $visible;
|