Slaughter
New member
Tum Uyelere aynanda pm gonderme adminlerin cok isine yaricak bi olay
Denedim bende acikcasi cok buyuk kolaylık
admincp/email.php ye gecin
Alttaki Kodlari Bulun
Sora alttakilerle deiştirin
soraa su kısmı bulun
sununla deiştirin
soraa sunu bulun
Altına sunu ekleyin
son olarak alttakını bulun
altina sunlari ekliyin...
Denedim bende acikcasi cok buyuk kolaylık
admincp/email.php ye gecin
Alttaki Kodlari Bulun
Kod:
echo '<p><b>' . $vbphrase['emailing'] . '<br />' . construct_phrase($vbphrase['showing_users_x_to_y_of_z'], vb_number_format($startat + 1), iif ($startat+$perpage > $counter['total'], vb_number_format($counter['total']), vb_number_format($startat + $perpage)), vb_number_format($counter['total'])) . '</b></p>';
Sora alttakilerle deiştirin
Kod:
if($_POST[pm]==1){
echo '<p><b>Pming<br />' . construct_phrase($vbphrase['showing_users_x_to_y_of_z'], vb_number_format($startat + 1), iif ($startat+$perpage > $counter['total'], vb_number_format($counter['total']), vb_number_format($startat + $perpage)), vb_number_format($counter['total'])) . '</b></p>';
}else{
echo '<p><b>' . $vbphrase['emailing'] . '<br />' . construct_phrase($vbphrase['showing_users_x_to_y_of_z'], vb_number_format($startat + 1), iif ($startat+$perpage > $counter['total'], vb_number_format($counter['total']), vb_number_format($startat + $perpage)), vb_number_format($counter['total'])) . '</b></p>';
}
soraa su kısmı bulun
Kod:
echo $vbphrase['emailing']." \n";
vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']);
sununla deiştirin
Kod:
if ($_POST['pm']==1){// Lets PM All Instead
$DB_site->query("INSERT INTO pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie)
VALUES ($bbuserinfo[userid], '" . addslashes($bbuserinfo[username]) . "', '$_POST[subject]', '" . addslashes($sendmessage) . "', '" . serialize(array($user[userid] => addslashes($user['username']))) . "', 0, " . TIMENOW . ", 0, 0)");
$pmid = $DB_site->insert_id();
$DB_site->query("UPDATE user SET pmtotal=pmtotal+1, pmunread=pmunread+1, pmpopup=2 WHERE userid=$user[userid]");
$DB_site->query("INSERT INTO pm (pmtextid, userid, folderid, messageread) VALUES ('$pmid', '$user[userid]', '0', '0')");
}else{
echo $vbphrase['emailing']." \n";
vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']);
}
soraa sunu bulun
Kod:
print_yes_no_row($vbphrase['test_email_only'], 'test', 0);
Altına sunu ekleyin
Kod:
print_yes_no_row('Pm This Instead Of Email<br>Do Not Check Yes On Test', 'pm', 0);
son olarak alttakını bulun
Kod:
construct_hidden_code('test', $_POST['test']);
altina sunlari ekliyin...
Kod:
construct_hidden_code('pm', $_POST['pm']);