Join the Facebook Fan Page.
// Get recipients (don't include bcc-recipients for your inbox, you're not supposed to know :P). $request = db_query(" SELECT pmr.ID_PM, mem_to.ID_MEMBER AS ID_MEMBER_TO, mem_to.realName AS toName, pmr.bcc, pmr.labels, pmr.is_read FROM {$db_prefix}pm_recipients AS pmr LEFT JOIN {$db_prefix}members AS mem_to ON (mem_to.ID_MEMBER = pmr.ID_MEMBER) WHERE pmr.ID_PM IN (" . implode(', ', $pms) . ")", __FILE__, __LINE__);
// Get recipients (don't include bcc-recipients for your inbox, you're not supposed to know :P). $request = db_query(" SELECT pmr.ID_PM, mem_to.ID_MEMBER AS ID_MEMBER_TO, mem_to.realName AS toName, pmr.bcc, pmr.labels, pmr.is_read" . ($context['folder'] == 'outbox' ? ", pmr.is_read" : '') . " FROM {$db_prefix}pm_recipients AS pmr LEFT JOIN {$db_prefix}members AS mem_to ON (mem_to.ID_MEMBER = pmr.ID_MEMBER) WHERE pmr.ID_PM IN (" . implode(', ', $pms) . ")", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request)) { if ($context['folder'] == 'outbox' || empty($row['bcc'])) $recipients[$row['ID_PM']][empty($row['bcc']) ? 'to' : 'bcc'][] = empty($row['ID_MEMBER_TO']) ? $txt[28] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER_TO'] . '">' . $row['toName'] . '</a>';
if($context['folder'] == 'outbox') $recipients[$row['ID_PM']]['is_read'] = $row['is_read'];
// People it was sent directly to.... if (!empty($message['recipients']['to'])) echo implode(', ', $message['recipients']['to']); // Otherwise, we're just going to say "some people"... elseif ($context['folder'] != 'outbox') echo '(', $txt['pm_undisclosed_recipients'], ')'; echo ' <b> ', $txt[30], ':</b> ', $message['time'], ' »</div>';
if($context['folder'] == 'outbox') { echo '<br />'; foreach($message['recipients']['to'] as $person) { echo $person . ' hat diese Nachricht ' . ($message['recipients']['is_read'] == '1' ? 'gelesen' : 'NICHT gelesen') . '.<br />'; } }
while ($row = mysql_fetch_assoc($request))
{ if ($context['folder'] == 'outbox' || empty($row['bcc'])){
Hi Ihr, Funktioniert das auch in SMF 1.1 RC 3 ? und ja, wo findet man den mod ? Danke
Es gibt bereits seit längerer Zeit eine Modifikation von mir, allerdings muss dringend eine neue Lösung gefunden werden, da alle Mods davon ausgehen, dass nur ein Recipient vorhanden ist.Ein Bild des Mods ist angehangen (RC2)mediman