Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 720
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(111551 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(124278 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13876 okuma, 6 yanıt)
 nukecode.com will close..
(11397 okuma, 5 yanıt)
 super youtube player a lo..
(6467 okuma, 1 yanıt)
 Need good PHP Haber port..
(5706 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35760 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(10095 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(11155 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(7162 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11650 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32901 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25625 okuma, 23 yanıt)
 PHP Nuke is out..
(15333 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5309 okuma, 0 yanıt)
 haberhit.com..
(5900 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(53016 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6838 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(177432 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12533 okuma, 8 yanıt)
 WM who ist shampions..
(5163 okuma, 1 yanıt)
 coppermine resim galerisi..
(5586 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9211 okuma, 7 yanıt)
 free wordpress themes..
(5685 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7796 okuma, 4 yanıt)
 need Iletisim module..
(11229 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(28194 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5957 okuma, 1 yanıt)
 world cup flash..
(5134 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(5030 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5270 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4866 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(8123 okuma, 5 yanıt)
 need help to news time..
(4636 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4920 okuma, 0 yanıt)
 how to save flash as imag..
(6159 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(6100 okuma, 2 yanıt)
 gazete ara..
(9952 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(15209 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14851 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14503 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12540 okuma, 9 yanıt)
 Hosting Modülü..
(14275 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5302 okuma, 1 yanıt)
 new plugin for nsn news v..
(4845 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(7053 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6291 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5878 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7205 okuma, 3 yanıt)
 sonhaberler flash block ..
(6762 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Toplu mailde Kullanıcı Adları
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Toplu mailde Kullanıcı Adları

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
adanarock
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 10, 2004
Mesajlar: 554
Konum: adana

MesajTarih: 2008-03-18, 11:55:03    Mesaj konusu: Toplu mailde Kullanıcı Adları Alıntıyla Cevap Gönder

Arkadaşlar toplu mail attığımda attığım kullanıcılara kullanıcı isimlerinide yollamak için admin_mass_email.php sayfasının neresindeki select satırının içine uname eklemeliyim. acaba?

Kod:
<?php
/***************************************************************************
*                             admin_mass_email.php
*                              -------------------
*     begin                : Thu May 31, 2001
*     copyright            : (C) 2001 The phpBB Group
*     email                : support@phpbb.com
*
*     $Id: admin_mass_email.php,v 1.15.2.7 2003/05/03 23:24:01 acydburn Exp $
*
****************************************************************************/
/***************************************************************************
* phpbb2 forums port version 2.0.5 (c) 2003 - Nuke Cops (http://nukecops.com)
*
* Ported by Nuke Cops to phpbb2 standalone 2.0.5 Test
* and debugging completed by the Elite Nukers and site members.
*
* You run this package at your sole risk. Nuke Cops and affiliates cannot
* be held liable if anything goes wrong. You are advised to test this
* package on a development system. Backup everything before implementing
* in a production environment. If something goes wrong, you can always
* backout and restore your backups.
*
* Installing and running this also means you agree to the terms of the AUP
* found at Nuke Cops.
*
* This is version 2.0.5 of the phpbb2 forum port for PHP-Nuke. Work is based
* on Tom Nitzschner's forum port version 2.0.6. Tom's 2.0.6 port was based
* on the phpbb2 standalone version 2.0.3. Our version 2.0.5 from Nuke Cops is
* now reflecting phpbb2 standalone 2.0.5 that fixes some bugs and the
* invalid_session error message.
***************************************************************************/
/***************************************************************************
 *   This file is part of the phpBB2 port to Nuke 6.0 (c) copyright 2002
 *   by Tom Nitzschner (tom@toms-home.com)
 *   http://bbtonuke.sourceforge.net (or http://www.toms-home.com)
 *
 *   As always, make a backup before messing with anything. All code
 *   release by me is considered sample code only. It may be fully
 *   functual, but you use it at your own risk, if you break it,
 *   you get to fix it too. No waranty is given or implied.
 *
 *   Please post all questions/request about this port on http://bbtonuke.sourceforge.net first,
 *   then on my site. All original header code and copyright messages will be maintained
 *   to give credit where credit is due. If you modify this, the only requirement is
 *   that you also maintain all original copyright messages. All my work is released
 *   under the GNU GENERAL PUBLIC LICENSE. Please see the README for more information.
 *
 ***************************************************************************/
/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

define('IN_PHPBB', 1);

if( !empty($setmodules) )
{
        $filename = basename(__FILE__);
        $module['General']['Mass_Email'] = $filename;

        return;
}

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = './../';
@require($phpbb_root_path . 'extension.inc');
@require('./pagestart.' . $phpEx);

//
// Increase maximum execution time in case of a lot of users, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(1200);

$message = '';
$subject = '';

//
// Do the job ...
//
if ( isset($HTTP_POST_VARS['submit']) )
{
        $subject = stripslashes(trim($HTTP_POST_VARS['subject']));
        $message = stripslashes(trim($HTTP_POST_VARS['message']));

        $error = FALSE;
        $error_msg = '';

        if ( empty($subject) )
        {
                $error = true;
                $error_msg .= ( !empty($error_msg) ) ? '<br />' . $lang['Empty_subject'] : $lang['Empty_subject'];
        }

        if ( empty($message) )
        {
                $error = true;
                $error_msg .= ( !empty($error_msg) ) ? '<br />' . $lang['Empty_message'] : $lang['Empty_message'];
        }

        $group_id = intval($HTTP_POST_VARS[POST_GROUPS_URL]);

        $sql = ( $group_id != -1 ) ? "SELECT u.user_email FROM " . USERS_TABLE . " u, " . USER_GROUP_TABLE . " ug WHERE ug.group_id = $group_id AND ug.user_pending <> " . TRUE . " AND u.user_id = ug.user_id" : "SELECT user_email FROM " . USERS_TABLE;
        if ( !($result = $db->sql_query($sql)) )
        {
                message_die(GENERAL_ERROR, 'Could not select group members', '', __LINE__, __FILE__, $sql);
        }

        if ( $row = $db->sql_fetchrow($result) )
        {
                $bcc_list = array();
                do
                {
                        $bcc_list[] = $row['user_email'];
                }
                while ( $row = $db->sql_fetchrow($result) );

                $db->sql_freeresult($result);
        }
        else
        {
                $message = ( $group_id != -1 ) ? $lang['Group_not_exist'] : $lang['No_such_user'];

                $error = true;
                $error_msg .= ( !empty($error_msg) ) ? '<br />' . $message : $message;
        }

        if ( !$error )
        {
                @include("../../../includes/emailer.php");

                //
                // Let's do some checking to make sure that mass mail functions
                // are working in win32 versions of php.
                //
                if ( preg_match('/[c-z]:\\\.*/i', getenv('PATH')) && !$board_config['smtp_delivery'])
                {
                        $ini_val = ( @phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';

                        // We are running on windows, force delivery to use our smtp functions
                        // since php's are broken by default
                        $board_config['smtp_delivery'] = 1;
                        $board_config['smtp_host'] = @$ini_val('SMTP');
                }

                $emailer = new emailer($board_config['smtp_delivery']);

                $emailer->from($board_config['board_email']);
                $emailer->replyto($board_config['board_email']);

                for ($i = 0; $i < count($bcc_list); $i++)
                {
                        $emailer->bcc($bcc_list[$i]);
                }

                $email_headers = 'X-AntiAbuse: Board servername - ' . $board_config['server_name'] . "\n";
                $email_headers .= 'X-AntiAbuse: User_id - ' . $userdata['user_id'] . "\n";
                $email_headers .= 'X-AntiAbuse: Username - ' . $userdata['username'] . "\n";
                $email_headers .= 'X-AntiAbuse: User IP - ' . decode_ip($user_ip) . "\n";

                $emailer->use_template('admin_send_email');
                $emailer->email_address($board_config['board_email']);
                $emailer->set_subject($subject);
                $emailer->extra_headers($email_headers);

                $emailer->assign_vars(array(
                        'SITENAME' => $board_config['sitename'],
                        'BOARD_EMAIL' => $board_config['board_email'],
                        'MESSAGE' => $message)
                );
                $emailer->send();
                $emailer->reset();

                message_die(GENERAL_MESSAGE, $lang['Email_sent'] . '<br /><br />' . sprintf($lang['Click_return_admin_index'],  '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>'));
        }
}

if ( $error )
{
        $template->set_filenames(array(
                'reg_header' => 'error_body.tpl')
        );
        $template->assign_vars(array(
                'ERROR_MESSAGE' => $error_msg)
        );
        $template->assign_var_from_handle('ERROR_BOX', 'reg_header');
}

//
// Initial selection
//

$sql = "SELECT group_id, group_name
        FROM ".GROUPS_TABLE . "
        WHERE group_single_user <> 1";
if ( !($result = $db->sql_query($sql)) )
{
        message_die(GENERAL_ERROR, 'Could not obtain list of groups', '', __LINE__, __FILE__, $sql);
}

$select_list = '<select name = "' . POST_GROUPS_URL . '"><option value = "-1">' . $lang['All_users'] . '</option>';
if ( $row = $db->sql_fetchrow($result) )
{
        do
        {
                $select_list .= '<option value = "' . $row['group_id'] . '">' . $row['group_name'] . '</option>';
        }
        while ( $row = $db->sql_fetchrow($result) );
}
$select_list .= '</select>';

//
// Generate page
//
@include('./page_header_admin.'.$phpEx);

$template->set_filenames(array(
        'body' => 'admin/user_email_body.tpl')
);

$template->assign_vars(array(
        'MESSAGE' => $message,
        'SUBJECT' => $subject,

        'L_EMAIL_TITLE' => $lang['Email'],
        'L_EMAIL_EXPLAIN' => $lang['Mass_email_explain'],
        'L_COMPOSE' => $lang['Compose'],
        'L_RECIPIENTS' => $lang['Recipients'],
        'L_EMAIL_SUBJECT' => $lang['Subject'],
        'L_EMAIL_MSG' => $lang['Message'],
        'L_EMAIL' => $lang['Email'],
        'L_NOTICE' => $notice,

        'S_USER_ACTION' => append_sid('admin_mass_email.'.$phpEx),
        'S_GROUP_SELECT' => $select_list)
);

$template->pparse('body');

@include('./page_footer_admin.'.$phpEx);

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et MSN Messenger
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-07-01, 09:02:02    Mesaj konusu: Forum Arası Reklamlar


Başa dön
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Modülleri Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok Forum Admin Panelde Kullanıcı Mail Li... ArKaDaSiM NukeBB Eklentileri 1 2010-06-01, 23:42:33 Son Mesajı Görüntüle
Yeni mesaj yok ultimate_statistics Kullanıcı Profili... roman2009 Php Nuke Blocklar 0 2010-04-28, 22:15:23 Son Mesajı Görüntüle
Yeni mesaj yok Toplu mail göndermede hatayı sonunda ... Sergen Php Nuke Sorunlarınız 0 2010-03-10, 00:29:42 Son Mesajı Görüntüle
Yeni mesaj yok kozmodisk.org ; ihtiyacakademi.net Al... fweb85 Domain Pazarı 0 2010-03-01, 22:17:33 Son Mesajı Görüntüle
Yeni mesaj yok PhpMyadminden toplu isim değiştirme n... taymaz Php Nuke Güvenlik 4 2009-12-25, 20:54:17 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright