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: 1538
�ye Ad�
�ifre
Beni Hat�rla
          Yeni �ye Kay�tYeni �ye Kay�t
          �ifremi Unuttum�ifremi Unuttum
FORUMLAR
 facebookda paylas eklenti..
(12200 okuma, 11 yan�t)
 �yelerin profilerine yoru..
(12062 okuma, 10 yan�t)
 Forum Mesajlar�..
(7553 okuma, 4 yan�t)
 Forumun �st b�l�m�ne nas�..
(6516 okuma, 2 yan�t)
 Power Nuke Hakkinda Uzma..
(16976 okuma, 19 yan�t)
 mesaj� begenme eklentisi..
(7556 okuma, 4 yan�t)
 imza karakterlerinin say�..
(6891 okuma, 4 yan�t)
 Forumda Embed kodlar..
(67917 okuma, 11 yan�t)
 E�itim Sitesi i�in banner..
(8961 okuma, 5 yan�t)
 Forum Da ki katogorileri ..
(6632 okuma, 5 yan�t)
 Forum Admin Panelde Kulla..
(4483 okuma, 1 yan�t)
 lewel mod..
(7427 okuma, 5 yan�t)
 Avatar boyunu ayarlama..
(7388 okuma, 5 yan�t)
 Foruma iframe Kodlar� Cal..
(6731 okuma, 4 yan�t)
 �ye paneli..
(12957 okuma, 14 yan�t)
 pop�ler Hikaye Yan Blok..
(3987 okuma, 0 yan�t)
 R�tbe resmi..
(5760 okuma, 3 yan�t)
 Alt Forum Ekletisinde Alt..
(6388 okuma, 3 yan�t)
 Advanced Username Color..
(11828 okuma, 12 yan�t)
 body kismi hangi nuke say..
(5732 okuma, 2 yan�t)
 Forumda Son konular� Site..
(3952 okuma, 0 yan�t)
 wep sitesi yapanlar..
(4889 okuma, 2 yan�t)
 Bu Eklentinin Ayn�s� Laz�..
(10268 okuma, 11 yan�t)
 Forumu d�zenleyeyim derke..
(5601 okuma, 3 yan�t)
 www.teselliver.com siteye..
(5302 okuma, 2 yan�t)
 Php Nuke BB Cal�smalar�..
(3765 okuma, 1 yan�t)
 �stek �statistikler Modu..
(5038 okuma, 2 yan�t)
 Formumuzu Gelistirmek Ve ..
(3509 okuma, 0 yan�t)
 Arkada�lar cinsiyet ve do..
(8466 okuma, 6 yan�t)
 7.9 Blue Editoins Formunu..
(3852 okuma, 0 yan�t)
 mesajdan sonra sponsor re..
(4984 okuma, 2 yan�t)
 Buyrun yapamayanlar i�in ..
(35000 okuma, 38 yan�t)
 Entegreler S�tede bulamad..
(4318 okuma, 1 yan�t)
 En Gel�sm�s Phpbb S�r�m� ..
(6945 okuma, 5 yan�t)
 konu ba�l�klar� haz�r for..
(4102 okuma, 0 yan�t)
 Eklenti..
(4324 okuma, 1 yan�t)
 AJAX Sohbet Odas� - Shout..
(14875 okuma, 17 yan�t)
 Sohbet Modu..
(6071 okuma, 3 yan�t)
 Smilar Topics..
(4253 okuma, 1 yan�t)
 Foruma Small Shoutbox..
(3485 okuma, 0 yan�t)
 Php Nuke 8.0 A FCK Edit�r..
(6976 okuma, 5 yan�t)
 mod fourum message..
(5176 okuma, 2 yan�t)
 Php Nuke Formunu Nas�l Ge..
(9712 okuma, 10 yan�t)
 Bu eklentinin ad� nedir ?..
(5422 okuma, 2 yan�t)
 Cash Mod 221 - T�rk�e [MO..
(6739 okuma, 3 yan�t)
 Kilitlenen Konunun �zerin..
(17314 okuma, 16 yan�t)
 Forum da Bu Hatay� veriyo..
(7580 okuma, 4 yan�t)
 phpnuke foruma g�venlik k..
(6076 okuma, 3 yan�t)
 daha �nce bu konuya bakan..
(6334 okuma, 3 yan�t)
 BBtoNuke 2.22 to BBtoNuke..
(3976 okuma, 0 yan�t)
Netopsiyon Online: Forums
Netopsiyon Online :: Ba�l�k g�r�nt�leniyor - Siteye u�ramayanlara mail yolu ile hat�rlatma modu
 AramaArama   R�tbelerR�tbeliler   ProfilProfil   Giri�Giri� 


Siteye u�ramayanlara mail yolu ile hat�rlatma modu
Sayfaya git �nceki  1, 2, 3, 4
 
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 -> NukeBB Eklentileri
�nceki ba�l�k :: Sonraki ba�l�k  
Yazar Mesaj
akua
Mesaj: 1+
Mesaj: 1+





Kay�t: Mar 16, 2008
Mesajlar: 1

MesajTarih: 2008-03-23, 23:12:51    Mesaj konusu: Re: Siteye u�ramayanlara mail yolu ile hat�rlatma modu Al�nt�yla Cevap G�nder

toplu maillle ilgili gercekten cok ugrast�m.ne kadar program vs varsa kulland�m.ama en sonunda sadece 1 php dosyas�ndan olusan profesyonel olarak yaz�lm�s bir mail scriptini buldum. elimde turk 99.975 adet mail var.bu scriptle 15 dk al�yor bu mailleri gondermek.mail host uzerinden cal�s�yor ve herhangi bir pop3 hesab�na gerek duymuyor.sadece hostun php i�in mail bileseni yuklu olsun yeter.( her hosta mutlaka yuklu oluyor).
bilgilendirmek amacl� yaz�yorum ki,hotmailde maillerinizin onemsiz postaya dusmemesi i�in 1. server ip hotmail taraf�ndan bloklanmamas� gerek 2. domainizin ptr kayd� olmas� gerekmekte.

bunlar tamamsa hotmail yahoo mynet vs mailleriniz normail olarak gelen kutusuna gitmekte..

Konu d��� oldu ama payla�mak istedim
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder  
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2025-01-22, 20:22:03    Mesaj konusu: Forum Aras� Reklamlar


Ba�a d�n
 
juglanin
Mesaj: 500+
Mesaj: 500+





Kay�t: Dec 09, 2005
Mesajlar: 880

MesajTarih: 2008-03-24, 00:17:14    Mesaj konusu: Al�nt�yla Cevap G�nder

Bu script toplu maile izin wermeyen serverde de calisyrmu?Kodu uygulamayi paylasrmsn?
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder  
Hekim_oglu
Mesaj: 300+
Mesaj: 300+





Kay�t: Jul 02, 2006
Mesajlar: 351
Konum: Gaziantep

MesajTarih: 2008-03-28, 16:56:20    Mesaj konusu: Al�nt�yla Cevap G�nder

hakan :  � Se� �
�ahin bu eklenti nazl� biraz, �al���yor asl�nda ama %100 de�il %70'lik bir k�sm�n� �al��t�rd�m ben :)


hakan bu i�ime �ok yarard� ama sorunlu. bende hi� bir i�lem yapm�yor.

�yeleri grupland�rarak mail atmas� �ok ho�uma gitti.

akua karde� yazm��s�n ama mumkunse mail scriptini veya ula�abilece�imiz bir link veya ne olursa verebilirmisin?
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder  
bozkurt69
Mesaj: 500+
Mesaj: 500+





Kay�t: Nov 09, 2007
Mesajlar: 503
Konum: Bayburt

MesajTarih: 2008-05-13, 21:44:56    Mesaj konusu: Al�nt�yla Cevap G�nder

bende genel hata cikti maviscenin s�yledigini yaptim yine d�zelmedihata erde acaba?
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-27, 20:13:54    Mesaj konusu: Al�nt�yla Cevap G�nder

ben dil dosyasi bulamyorum nerde kayitli bu dil dosyasi

Kod:  � Se� � � Geni�let �
#################################################################
## Mod Title: Admin reminder
## Mod Version: 1.0.7
## Mod Author: Chaze <c>
## Mod Description:  Allows you to select inactive user and zero poster to remind them by mail to activate/use their account.
##                Furthermore you can delete user which were reminded more than 3 times.
## T�rk�e: turkishinet // www.turkishinet.com // t�rk i&thorn;i internet rehberi!
##
## Installation Level: (easy)
## Installation Time:  5 Minutes
##
## Files To Edit:      2
##
## Included Files:     8
##          - admin/admin_reminder.php
##
##          - language/lang_english/email/reminde_zeroposter.tpl
##          - language/lang_english/email/reminde_inactive_accounts.tpl
##          - language/lang_english/email/reminde_inactive_user.tpl
##
##          - language/lang_german/email/reminde_zeroposter.tpl
##          - language/lang_german/email/reminde_inactive_accounts.tpl
##          - language/lang_german/email/reminde_inactive_user.tpl
##
##          - admin/admin_reminde_inactive_user.tpl
##
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
##
## Run the following command on your sql database (replace phpbb_ with your db prefix):
##
## ALTER TABLE `phpbb_users` ADD `user_reminded` TINYINT(4) DEFAULT '0' NOT NULL
##
##
##
##
##
##-----[ OPEN ]------------------------------------------------------
##
## open language/lang_english/lang_admin.php
##
##-----[ FIND ]------------------------------------------------------
##
##

   //
   // That's all Folks!
 
##
##-----[ BEFORE ADD ]----------------------------------------------
##
##

//
// Admin reminder
//

$lang['ar_1Day'] = '&nbsp;1 G�n';
$lang['ar_7Days'] = '&nbsp;7 G�n';
$lang['ar_2Weeks'] = '&nbsp;2 Hafta';
$lang['ar_1Month'] = '&nbsp;1 Ay';
$lang['ar_3Months'] = '&nbsp;3 Ay';
$lang['ar_6Months'] = '&nbsp;6 Ay';
$lang['ar_1Year'] = '&nbsp;1 Yil';
$lang['days'] = 'G�n';

$lang['ar_reg_exc'] = 'S�re Asimi';
$lang['ar_title_ia'] = '<u>Aktif Olmayan Kullanicilara</u> Hatirlat <br><font>where the reg.-date exceeds <b>';
$lang['ar_title_sp'] = 'Remind <u>zero-poster</u><br><font>aktif olmadigi s�re;<b>';
$lang['ar_title_sp'] = 'Remind <u>inactive user</u><br><font>where the last visit exceeds <b>';
$lang['ar_title_sh_ia'] = 'By e-mail reminded <u>inactive</u> user</font>';
$lang['ar_title_sh_zp'] = 'By e-mail reminded <u>inactive user</u>';
$lang['ar_title_sh_iau'] = 'By e-mail reminded <u>inactive user</u><br><font>Zero-posters are not included</font>';
$lang['ar_title_sh_pu1'] = '<u>DELETE USER reminded > ';
$lang['ar_title_sh_pu2'] = ' times</u><br><font>!!! All selected users will be deleted finally !!!</font>';

$lang['ar_act_link'] = 'Act.-link';
$lang['ar_reg_date'] = 'Reg.-date';
$lang['ar_times_rem'] = 'times reminded';
$lang['ar_remind'] = 'REMIND THEM!';
$lang['ar_last_visit_exc'] = 'Last visit exceeds:';
$lang['ar_last_visit'] = 'Last visit';

##
##
##-----[ SAVE & UPLOAD ALL FILES ]------------------------------------------
##
##
##
##
##-----[ OPTIONAL ]--------------------------------------------------
##
## If you want to set the x-times reminded counter to 0, every time the user is logging in, make the following changes
##
##-----[ OPEN ]------------------------------------------------------
##
## open sessions.php
##
##-----[ FIND ]------------------------------------------------------
##
## SET user_session_time = $current_time, user_session_page = $page_id, user_lastvisit = $last_visit
##
##-----[ REPLACE WITH ]----------------------------------------------
##
## SET user_session_time = $current_time, user_session_page = $page_id, user_lastvisit = $last_visit, user_reminded = '0'
##
##
##-----[ SAVE AND UPLOAD FILE ]--------------------------------------
##
## T�rk�e: turkishinet // www.turkishinet.com // t�rk i&thorn;i internet rehberi!
##
## EoM
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-27, 20:56:54    Mesaj konusu: Al�nt�yla Cevap G�nder

sql sorgusu nerde
<php>set_filenames(array(
"body" => "admin/admin_remind_inactive_user_body.tpl")
);


if ($mode == 'inactive_accounts')
{

if ($s_time == "")
{
$s_time = 30;
}

$timestamp = time();
$stime_x_day = (86400 * $s_time);
$meantime = $timestamp - $stime_x_day;

$sql = "SELECT username, user_active, user_actkey, user_id, user_regdate, user_email, user_reminded
FROM " . USERS_TABLE . " WHERE user_active != '1' AND user_id != '-1' AND user_regdate <meantime>sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}

$template->assign_block_vars("select_time", array(
'SUBTYPE' => "submit",
'TABLE' => '<table>
<tr><form method="post" name="post" action="'.append_sid("../admin/".basename(__FILE__)."?mode=inactive_accounts").'">
<td>'.$lang['ar_reg_exc'].'</td>
<td>
<select>
<option>'.$lang['ar_1Day'].'</option>
<option>'.$lang['ar_7Days'].'</option>
<option>'.$lang['ar_2Weeks'].'</option>
<option>'.$lang['ar_1Month'].'</option>
<option>'.$lang['ar_3Months'].'</option>
<option>'.$lang['ar_6Months'].'</option>
<option>'.$lang['ar_1Year'].'</option>
</select></td>
<td><input></td></form>
</tr>
</table>')
);

while($row = $db->sql_fetchrow($result))
{
$profile_link = '?mode=viewprofile&' . POST_USERS_URL . '=' . $row[user_id];
$actkey_link = '?mode=activate&' . POST_USERS_URL . '=' . $row[user_id] . '&act_key=' . $row[user_actkey];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$boxid = $row[user_id];
$reminded = $row[user_reminded];


$template->assign_block_vars("show_inactive_accounts", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'ACTKEY' => '<a>activate</a>',
'REG_DATE' => $reg_date,
'E_MAIL' => $email,
'BOX' => "BOX[]",
'BOXVALUE' => $boxid,
'BOXTYPE' => "checkbox",
'REMINDED' => $reminded
)
);

}

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_ia'] . $s_time ."</b>&nbsp". $lang['days']."</font>",
'L_USERNAME' => $lang['Username'],
'L_DATE' => $lang['Reg_date'],
'L_EMAIL' => $lang['Email'],
'ACTIONWOM' => append_sid("../admin/".basename(__FILE__)."?mode=inactive_accounts"),
'S_TIME' => "S_TIME",
'S_ACTION' => append_sid("../admin/".basename(__FILE__)."?mode=remind_inactive_accounts"),
'SUBTYPE' => "submit",
'OPTION1' => $lang['ar_act_link'],
'OPTION2' => $lang['ar_reg_date'],
'OPTION3' => $lang['ar_times_rem'],
'OPTION4' => "&nbsp;",
'BUTTEXT' => $lang['ar_remind'])
);
}

if ($mode == 'zeroposter')
{

if ($s_time == "")
{
$s_time = 30;
}

$timestamp = time();
$stime_x_day = (86400 * $s_time);
$meantime = $timestamp - $stime_x_day;

$sql = "SELECT username, user_active, user_actkey, user_id, user_regdate, user_email, user_posts, user_reminded
FROM " . USERS_TABLE . " WHERE user_active = '1' AND user_id != '-1' AND user_posts = '0' AND user_regdate <meantime>sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}

$template->assign_block_vars("select_time", array(
'SUBTYPE' => "submit",
'TABLE' => '<table>
<tr><form method="post" name="post" action="'.append_sid("../admin/".basename(__FILE__)."?mode=zeroposter").'">
<td>'. $lang['ar_reg_exc'] .'</td>
<td>
<select>
<option>'.$lang['ar_1Day'].'</option>
<option>'.$lang['ar_7Days'].'</option>
<option>'.$lang['ar_2Weeks'].'</option>
<option>'.$lang['ar_1Month'].'</option>
<option>'.$lang['ar_3Months'].'</option>
<option>'.$lang['ar_6Months'].'</option>
<option>'.$lang['ar_1Year'].'</option>
</select></td>
<td><input></td></form>
</tr>
</table>')
);

while($row = $db->sql_fetchrow($results))
{
$profile_link = '?mode=viewprofile&' . POST_USERS_URL . '=' . $row[user_id];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$boxid = $row[user_id];
$posts = $row[user_posts];
$reminded = $row[user_reminded];



$template->assign_block_vars("show_zero_poster", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'REG_DATE' => $reg_date,
'E_MAIL' => $email,
'POSTS' => $posts,
'BOX' => "BOX[]",
'BOXVALUE' => $boxid,
'BOXTYPE' => "checkbox",
'REMINDED' => $reminded
)
);
}

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sp'] . $s_time ."</b>&nbsp". $lang['days']."</font>",
'L_USERNAME' => $lang['Username'],
'L_DATE' => $lang['Reg_date'],
'L_EMAIL' => $lang['Email'],
'ACTIONWOM' => append_sid("../admin/".basename(__FILE__)."?mode=zeroposter"),
'S_TIME' => "S_TIME",
'S_ACTION' => append_sid("../admin/".basename(__FILE__)."?mode=remind_zeroposter"),
'SUBTYPE' => "submit",
'OPTION1' => $lang['Posts'],
'OPTION2' => $lang['ar_reg_date'],
'OPTION3' => $lang['ar_times_rem'],
'OPTION4' => "&nbsp;",
'BUTTEXT' => $lang['ar_remind'])
);
}


if ($mode == 'inactive_user')
{

if ($s_time == "")
{
$s_time = 30;
}

$timestamp = time();
$stime_x_day = (86400 * $s_time);
$meantime = $timestamp - $stime_x_day;

$sql = "SELECT username, user_active, user_actkey, user_id, user_lastvisit, user_email, user_posts, user_reminded
FROM " . USERS_TABLE . " WHERE user_active = '1' AND user_id != '-1' AND user_posts != '0' AND user_lastvisit != '0' AND user_lastvisit <meantime>sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}

$template->assign_block_vars("select_time", array(
'SUBTYPE' => "submit",
'TABLE' => '<table>
<tr><form method="post" name="post" action="'.append_sid("../admin/".basename(__FILE__)."?mode=inactive_user").'">
<td>'. $lang['ar_last_visit_exc'] .'</td>
<td>
<select>
<option>'.$lang['ar_1Month'].'</option>
<option>'.$lang['ar_3Months'].'</option>
<option>'.$lang['ar_6Months'].'</option>
<option>'.$lang['ar_1Year'].'</option>
</select></td>
<td><input></td></form>
</tr>
</table>')
);

while($row = $db->sql_fetchrow($results))
{
$profile_link = '?mode=viewprofile&' . POST_USERS_URL . '=' . $row[user_id];
$lv_date = create_date($board_config['default_dateformat'], $row['user_lastvisit'], $board_config['board_timezone']);
$email = $row[user_email];
$boxid = $row[user_id];
$posts = $row[user_posts];
$reminded = $row[user_reminded];



$template->assign_block_vars("inactive_user", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'LV_DATE' => $lv_date,
'E_MAIL' => $email,
'POSTS' => $posts,
'BOX' => "BOX[]",
'BOXVALUE' => $boxid,
'BOXTYPE' => "checkbox",
'REMINDED' => $reminded
)
);
}

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sp'] . $s_time .'</b>' . $lang['days'] .'</font>',
'L_USERNAME' => $lang['Username'],
'L_DATE' => $lang['You_last_visit'],
'L_EMAIL' => $lang['Email'],
'ACTIONWOM' => append_sid("../admin/".basename(__FILE__)."?mode=inactive_user"),
'S_TIME' => "S_TIME",
'S_ACTION' => append_sid("../admin/".basename(__FILE__)."?mode=remind_inactive_user"),
'SUBTYPE' => "submit",
'OPTION1' => $lang['Posts'],
'OPTION2' => $lang['ar_last_visit'],
'OPTION3' => $lang['ar_times_rem'],
'OPTION4' => "&nbsp;",
'BUTTEXT' => $lang['ar_remind'])
);
}


elseif ($mode == 'remind_inactive_accounts')
{

include("../../../includes/emailer.php");

if ( isset($HTTP_POST_VARS['BOX']))
{
foreach ($HTTP_POST_VARS['BOX'] as $sel_user)
{
$sql = "SELECT username, user_active, user_actkey, user_id, user_regdate, user_email, user_lang, user_reminded FROM " . USERS_TABLE . " WHERE user_id = '$sel_user'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}
else
{
while($row = $db->sql_fetchrow($results))
{
$sel_user = $row[user_id];
$actkey_link = $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $row[user_id] . '&act_key=' . $row[user_actkey];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$username = $row[username];
$user_lang = $row[user_lang];

// Let�s send the Mail

$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\n";

$script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path']));
$script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx : '/profile.'.$phpEx;
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['c o o k i e_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <80>use_template('remind_inactive_accounts', $user_lang);
$emailer->extra_headers($email_headers);
$emailer->email_address($email);



$emailer->assign_vars(array(
'USERNAME' => $username,
'SITENAME' => $board_config['sitename'],
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "\n", "-- \n" . $board_config['board_email_sig']) : '',
'U_ACTIVATE' => $server_protocol.$server_name.'/'.$script_name.$actkey_link,
'U_REGDATE' => $reg_date,
)
);

$emailer->send();
$emailer->reset();

$remindcount = $row[user_reminded];
$remindcount++;
$upd_count = "UPDATE " . USERS_TABLE . " Set user_reminded = '$remindcount' WHERE user_id = '$sel_user'";

$db->sql_query($upd_count) or die ("Kein DB-Update moeglich!");

$template->assign_block_vars("show_reminded_user", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'E_MAIL' => $email,
'REMCOUNT' => $remindcount,
'BOXTYPE' => "hidden")
);

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sh_ia'],
'L_USERNAME' => $lang['Username'],
'L_EMAIL' => $lang['Email'],
'SUBTYPE' => "hidden",
'OPTION1' => "&nbsp;",
'OPTION2' => "&nbsp;",
'OPTION3' => "&nbsp;",
'OPTION4' => $lang['ar_times_rem'],
'BUTTEXT' => $lang['ar_remind'])
);
}
}
}
}
}

elseif ($mode == 'remind_zeroposter')
{

include("../../../includes/emailer.php");

if ( isset($HTTP_POST_VARS['BOX']))
{
foreach ($HTTP_POST_VARS['BOX'] as $sel_user)
{
$sql = "SELECT username, user_active, user_actkey, user_id, user_regdate, user_email, user_lang, user_reminded FROM " . USERS_TABLE . " WHERE user_id = '$sel_user'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}
else
{
while($row = $db->sql_fetchrow($results))
{
$sel_user = $row[user_id];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$username = $row[username];
$user_lang = $row[user_lang];

// Let�s send the Mail

$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\n";

$script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path']));
$script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx : '/profile.'.$phpEx;
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['c o o k i e_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <80>use_template('remind_zeroposter', $user_lang);
$emailer->extra_headers($email_headers);
$emailer->email_address($email);



$emailer->assign_vars(array(
'USERNAME' => $username,
'SITENAME' => $board_config['sitename'],
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "\n", "-- \n" . $board_config['board_email_sig']) : '',
'U_ACTIVATE' => $server_protocol.$server_name.$script_name.$actkey_link,
'U_REGDATE' => $reg_date)
);

$emailer->send();
$emailer->reset();

$remindcount = $row[user_reminded];
$remindcount++;
$upd_count = "UPDATE " . USERS_TABLE . " Set user_reminded = '$remindcount' WHERE user_id = '$sel_user'";

$db->sql_query($upd_count) or die ("Kein DB-Update moeglich!");

$template->assign_block_vars("show_reminded_user", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'E_MAIL' => $email,
'REMCOUNT' => $remindcount,
'BOXTYPE' => "hidden",
'REG_DATE' => $reg_date,)
);

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sh_zp'],
'L_USERNAME' => $lang['Username'],
'L_EMAIL' => $lang['Email'],
'L_DATE' => $lang['Reg_date'],
'SUBTYPE' => "hidden",
'OPTION1' => "&nbsp;",
'OPTION2' => "&nbsp;",
'OPTION3' => "&nbsp;",
'OPTION4' => $lang['ar_times_rem'],
'BUTTEXT' => $lang['ar_remind'])
);
}
}
}
}
}


elseif ($mode == 'remind_inactive_user')
{
include("../../../includes/emailer.php");

if ( isset($HTTP_POST_VARS['BOX']))
{
foreach ($HTTP_POST_VARS['BOX'] as $sel_user)
{
$sql = "SELECT username, user_active, user_actkey, user_id, user_lastvisit, user_email, user_lang, user_reminded FROM " . USERS_TABLE . " WHERE user_id = '$sel_user'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}
else
{
while($row = $db->sql_fetchrow($results))
{
$sel_user = $row[user_id];
$lv_date = create_date($board_config['default_dateformat'], $row['user_lastvisit'], $board_config['board_timezone']);
$email = $row[user_email];
$username = $row[username];
$user_lang = $row[user_lang];

// Let�s send the Mail

$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\n";

$script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path']));
$script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx : '/profile.'.$phpEx;
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['c o o k i e_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <80>use_template('remind_inactive_user', $user_lang);
$emailer->extra_headers($email_headers);
$emailer->email_address($email);



$emailer->assign_vars(array(
'USERNAME' => $username,
'SITENAME' => $board_config['sitename'],
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br>', "\n", "-- \n" . $board_config['board_email_sig']) : '',
'LV_DATE' => $lv_date)
);

$emailer->send();
$emailer->reset();

$remindcount = $row[user_reminded];
$remindcount++;
$upd_count = "UPDATE " . USERS_TABLE . " Set user_reminded = '$remindcount' WHERE user_id = '$sel_user'";

$db->sql_query($upd_count) or die ("Kein DB-Update moeglich!");

$template->assign_block_vars("show_reminded_user", array(
'PROFILE' => '<a>'. $row[username] .'</a>',
'E_MAIL' => $email,
'REMCOUNT' => $remindcount,
'BOXTYPE' => "hidden",
'LV_DATE' => $lv_date)
);

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sh_iau'],
'L_USERNAME' => $lang['Username'],
'L_EMAIL' => $lang['Email'],
'L_DATE' => $lang['Reg_date'],
'SUBTYPE' => "hidden",
'OPTION1' => "&nbsp;",
'OPTION2' => "&nbsp;",
'OPTION3' => "&nbsp;",
'OPTION4' => $lang['ar_times_rem'],
'BUTTEXT' => $lang['ar_remind'])
);
}
}
}
}
}

elseif ($mode == 'show_pruneuser')
{
$sql = "SELECT username, user_id, user_posts, user_regdate, user_reminded FROM " . USERS_TABLE . " WHERE user_reminded > '$threshold'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}
while($row = $db->sql_fetchrow($results))
{
$username = $row[user_name];
$userid = $row['user_id'];
$reminded = $row[user_reminded];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$boxid = $row[user_id];
$posts = $row[user_posts];


$template->assign_block_vars("show_pruneuser", array(
'USERNAME' => '<a>'. $row[username] .'</a>',
'BOX' => "BOX[]",
'BOXVALUE' => $boxid,
'BOXTYPE' => "checkbox",
'REMINDED' => $reminded,
'REG_DATE' => $reg_date,
'POSTS' => $posts
)
);
}

$template->assign_vars(array(
'L_TITLE' => $lang['ar_title_sh_pu1'] . $threshold . $lang['ar_title_sh_pu2'],
'L_USERNAME' => $lang['Username'],
'L_EMAIL' => "&nbsp",
'S_ACTION' => append_sid("../admin/".basename(__FILE__)."?mode=deleteuser"),
'SUBTYPE' => "submit",
'OPTION1' => $lang['Posts'],
'OPTION2' => $lang['ar_reg_date'],
'OPTION3' => $lang['ar_times_rem'],
'OPTION4' => $lang['Delete'],
'BUTTEXT' => $lang['Delete'])
);
}

elseif ($mode == 'deleteuser')
{

include("../../../includes/emailer.php");

if ( isset($HTTP_POST_VARS['BOX']))
{
foreach ($HTTP_POST_VARS['BOX'] as $sel_user)
{
$sql = "SELECT username, user_active, user_actkey, user_id, user_regdate, user_email, user_lang, user_reminded FROM " . USERS_TABLE . " WHERE user_id = '$sel_user'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
}
else
{
while($row = $db->sql_fetchrow($results))
{
$sel_user = $row[user_id];
$actkey_link = $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $row[user_id] . '&act_key=' . $row[user_actkey];
$reg_date = create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']);
$email = $row[user_email];
$username = $row[username];
$user_lang = $row[user_lang];

$deluser = "DELETE FROM " . USERS_TABLE . " WHERE user_reminded >= '$threshold' AND user_id = '$sel_user' AND user_id != '-1'";

$db->sql_query($deluser) or die ("Kein DB-Update moeglich!");

$template->assign_block_vars("show_reminded_user", array(
'PROFILE' => $row[username],
'E_MAIL' => $email,
'REMCOUNT' => $remindcount,
'BOXTYPE' => "hidden",
'REG_DATE' => $reg_date,)
);

$template->assign_vars(array(
'L_TITLE' => "<u>DELETED user</u>",
'L_USERNAME' => $lang['Username'],
'L_EMAIL' => $lang['Email'],
'L_DATE' => "&nbsp;",
'SUBTYPE' => "hidden",
'OPTION1' => "&nbsp;",
'OPTION2' => "&nbsp;",
'OPTION3' => "&nbsp;",
'OPTION4' => "&nbsp;",
'BUTTEXT' => "Nothing to do")
);
}
}
}
}
}
}

$template->pparse('body');
echo "</table></center><br><br><br><br>";

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  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-27, 20:58:00    Mesaj konusu: Al�nt�yla Cevap G�nder

Run the following command ON your SQL database( REPLACE phpbb_
WITH your db prefix ) :
ALTER TABLE `phpbb_users` ADD `user_reminded` TINYINT( 4 ) DEFAULT '0' NOT NULL
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-27, 21:51:38    Mesaj konusu: Al�nt�yla Cevap G�nder

phpBB : Critical Error

Error updating last visit time

DEBUG MODE

SQL Error : 1054 Unknown column 'user_reminded' in 'field list'

UPDATE nuke_users SET user_session_time = 1233082082, user_session_page = 0, user_lastvisit = 1233077951, user_reminded = '0' WHERE user_id = '2'

Line : 219
File : sessions.php
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2025-01-22, 20:22:03    Mesaj konusu: Forum Aras� Reklamlar


Ba�a d�n
 
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-27, 21:54:47    Mesaj konusu: Al�nt�yla Cevap G�nder

ve ben b�yle ekledim o dosyayi
Kod:  � Se� � � Geni�let �
<php>sql_query($sql)) )
   {
      message_die(CRITICAL_ERROR, 'Could not obtain lastvisit data from user table', '', __LINE__, __FILE__, $sql);
   }

   $userdata = $db->sql_fetchrow($result);

   if ( $user_id != ANONYMOUS )
   {
      $auto_login_key = $userdata['user_password'];

      if ( $auto_create )
      {
         if ( isset($sessiondata['autologinid']) && $userdata['user_active'] )
         {
            // We have to login automagically
            if( $sessiondata['autologinid'] === $auto_login_key )
            {
               // autologinid matches password
               $login = 1;
               $enable_autologin = 1;
            }
            else
            {
               // No match; don't login, set as anonymous user
               $login = 0;
               $enable_autologin = 0;
               $user_id = $userdata['user_id'] = ANONYMOUS;
               $sql = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . ANONYMOUS;
               $result = $db->sql_query($sql);
               $userdata = $db->sql_fetchrow($result);
               $db->sql_freeresult($result);
            }
         }
         else
         {
            // Autologin is not set. Don't login, set as anonymous user
            $login = 0;
            $enable_autologin = 0;
            $user_id = $userdata['user_id'] = ANONYMOUS;

            $sql = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . ANONYMOUS;
            $result = $db->sql_query($sql);
            $userdata = $db->sql_fetchrow($result);
            $db->sql_freeresult($result);
         }
      }
      else
      {
         $login = 1;
      }
   }
   else
   {
      $login = 0;
      $enable_autologin = 0;
   }

   //
   // Initial ban check against user id, IP and email address
   //
   preg_match('/(..)(..)(..)(..)/', $user_ip, $user_ip_parts);

   $sql = "SELECT ban_ip, ban_userid, ban_email
      FROM " . BANLIST_TABLE . "
      WHERE ban_ip IN ('" . $user_ip_parts[1] . $user_ip_parts[2] . $user_ip_parts[3] . $user_ip_parts[4] . "', '" . $user_ip_parts[1] . $user_ip_parts[2] . $user_ip_parts[3] . "ff', '" . $user_ip_parts[1] . $user_ip_parts[2] . "ffff', '" . $user_ip_parts[1] . "ffffff')
         OR ban_userid = '$user_id'";
   if ( $user_id != ANONYMOUS )
   {
      $sql .= " OR ban_email LIKE '" . str_replace("\'", "''", $userdata['user_email']) . "'
         OR ban_email LIKE '" . substr(str_replace("\'", "''", $userdata['user_email']), strpos(str_replace("\'", "''", $userdata['user_email']), "@")) . "'";
   }
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(CRITICAL_ERROR, 'Could not obtain ban information', '', __LINE__, __FILE__, $sql);
   }

   if ( $ban_info = $db->sql_fetchrow($result) )
   {
      if ( $ban_info['ban_ip'] || $ban_info['ban_userid'] || $ban_info['ban_email'] )
      {
         message_die(CRITICAL_MESSAGE, 'You_been_banned');
      }
   }

   //
   // Create or update the session
   //
   $sql = "UPDATE " . SESSIONS_TABLE . "
      SET session_user_id = $user_id, session_start = $current_time, session_time = $current_time, session_page = $page_id, session_logged_in = $login, session_admin = $admin
      WHERE session_id = '" . $session_id . "'
         AND session_ip = '$user_ip'";
   if ( !$db->sql_query($sql) || !$db->sql_affectedrows() )
   {
      list($sec, $usec) = explode(' ', microtime());
      mt_srand((float) $sec + ((float) $usec * 100000));
      $session_id = md5(uniqid(mt_rand(), true));

      $sql = "INSERT INTO " . SESSIONS_TABLE . "
         (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin)
         VALUES ('$session_id', '$user_id', '$current_time', '$current_time', '$user_ip', '$page_id', '$login', '$admin')";
      if ( !$db->sql_query($sql) )
      {
                $error = TRUE;
                if (SQL_LAYER == "mysql" || SQL_LAYER == "mysql4")
                {
                    $sql_error = $db->sql_error($result);
                    if ($sql_error["code"] == 1114)
                    {
                        $result = $db->sql_query('SHOW TABLE STATUS LIKE "'.SESSIONS_TABLE.'"');
                        $row = $db->sql_fetchrow($result);
                        if ($row["Type"] == "HEAP")
                        {
                            if ($row["Rows"] > 2500)
                            {
                                $delete_order = (SQL_LAYER=="mysql4") ? " ORDER BY session_time ASC" : "";
                                $db->sql_query("DELETE QUICK FROM ".SESSIONS_TABLE."$delete_order LIMIT 50");
                            }
                            else
                            {
                                $db->sql_query("ALTER TABLE ".SESSIONS_TABLE." MAX_ROWS=".($row["Rows"]+50));
                            }
                            if ($db->sql_query($sql))
                            {
                                $error = FALSE;
                            }
                        }
                    }
                }
                if ($error)
                {
                    message_die(CRITICAL_ERROR, "Error creating new session", "", __LINE__, __FILE__, $sql);
                }
                }
   }

   if ( $user_id != ANONYMOUS )
   {// ( $userdata['user_session_time'] > $expiry_time && $auto_create ) ? $userdata['user_lastvisit'] : (
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;
      if (!$admin)
      {

      $sql = "UPDATE " . USERS_TABLE . "
         SET user_session_time = $current_time, user_session_page = $page_id, user_lastvisit = $last_visit
         SET user_session_time = $current_time, user_session_page = $page_id, user_lastvisit = $last_visit, user_reminded = '0'
         WHERE user_id = '$user_id'";
      if ( !$db->sql_query($sql) )
      {
         message_die(CRITICAL_ERROR, 'Error updating last visit time', '', __LINE__, __FILE__, $sql);
      }

      }

      $userdata['user_lastvisit'] = $last_visit;

      $sessiondata['autologinid'] = (!$admin) ? (( $enable_autologin && $sessionmethod == SESSION_METHOD_COOKIE ) ? $auto_login_key : '') : $sessiondata['autologinid'];
      $sessiondata['userid'] = $user_id;
   }

   $userdata['session_id'] = $session_id;
   $userdata['session_ip'] = $user_ip;
   $userdata['session_user_id'] = $user_id;
   $userdata['session_logged_in'] = $login;
   $userdata['session_page'] = $page_id;
   $userdata['session_start'] = $current_time;
   $userdata['session_time'] = $current_time;
   $userdata['session_admin'] = $admin;

   setc o o k i e($c o o k i ename . '_data', serialize($sessiondata), $current_time + 31536000, $c o o k i epath, $c o o k i edomain, $c o o k i esecure);
   setc o o k i e($c o o k i ename . '_sid', $session_id, 0, $c o o k i epath, $c o o k i edomain, $c o o k i esecure);

   $SID = 'sid=' . $session_id;
   if ( $userdata['user_id'] == ANONYMOUS )
   {
      $userdata['user_idx_last'] = $userdata['user_index_id'];
   }
   else
   {
      $userdata['user_idx_last'] = ( $userdata['user_idx_save'] == 0 ) ? $userdata['user_index_id'] : $userdata['user_idx_last'];
   }
   return $userdata;
}

//
// Checks for a given user session, tidies session table and updates user
// sessions at each page refresh
//
function session_pagestart($user_ip, $thispage_id, $nukeuser)
{
   global $db, $lang, $board_config, $session_id, $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $SID;

   $c o o k i ename = $board_config['c o o k i e_name'];
   $c o o k i epath = $board_config['c o o k i e_path'];
   $c o o k i edomain = $board_config['c o o k i e_domain'];
   $c o o k i esecure = $board_config['c o o k i e_secure'];

   $current_time = time();
   unset($userdata);

   if ( isset($HTTP_COOKIE_VARS[$c o o k i ename . '_sid']) || isset($HTTP_COOKIE_VARS[$c o o k i ename . '_data']) )
   {
      $sessiondata = isset( $HTTP_COOKIE_VARS[$c o o k i ename . '_data'] ) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$c o o k i ename . '_data'])) : array();
      $session_id = isset( $HTTP_COOKIE_VARS[$c o o k i ename . '_sid'] ) ? $HTTP_COOKIE_VARS[$c o o k i ename . '_sid'] : '';
      $sessionmethod = SESSION_METHOD_COOKIE;
   }
   else
   {
      $sessiondata = array();
      $session_id = ( isset($HTTP_GET_VARS['sid']) ) ? $HTTP_GET_VARS['sid'] : '';
      $sessionmethod = SESSION_METHOD_GET;
   }
   if (!preg_match('/^[A-Za-z0-9]*$/', $session_id))
   {
      $session_id = '';
   }
        if ( ($nukeuser != "") && ($userdata['session_logged_in'] == "" )) {
                bblogin($nukeuser, $session_id);
        } else {
   $thispage_id = (int) $thispage_id;
        }

   //
   // Does a session exist?
   //
   if ( !empty($session_id) )
   {
      //
      // session_id exists so go ahead and attempt to grab all
      // data in preparation
      //
      $sql = "SELECT u.*, s.*
         FROM " . SESSIONS_TABLE . " s, " . USERS_TABLE . " u
         WHERE s.session_id = '$session_id'
            AND u.user_id = s.session_user_id";
      if ( !($result = $db->sql_query($sql)) )
      {
         message_die(CRITICAL_ERROR, 'Error doing DB query userdata row fetch', '', __LINE__, __FILE__, $sql);
      }

      $userdata = $db->sql_fetchrow($result);

      //
      // Did the session exist in the DB?
      //
      if ( isset($userdata['user_id']) )
      {
         //
         // Do not check IP assuming equivalence, if IPv4 we'll check only first 24
         // bits ... I've been told (by vHiker) this should alleviate problems with
         // load balanced et al proxies while retaining some reliance on IP security.
         //
         $ip_check_s = substr($userdata['session_ip'], 0, 6);
         $ip_check_u = substr($user_ip, 0, 6);

         if ($ip_check_s == $ip_check_u)
         {
            $SID = ($sessionmethod == SESSION_METHOD_GET || defined('IN_ADMIN')) ? 'sid=' . $session_id : '';

            //
            // Only update session DB a minute or so after last update
            //
            if ( $current_time - $userdata['session_time'] > 60 )
            {
               // A little trick to reset session_admin on session re-usage
               $update_admin = (!defined('IN_ADMIN') && $current_time - $userdata['session_time'] > ($board_config['session_length']+60)) ? ', session_admin = 0' : '';

               $sql = "UPDATE " . SESSIONS_TABLE . "
                  SET session_time = '$current_time', session_page = $thispage_id$update_admin
                  WHERE session_id = '" . $userdata['session_id'] . "'";
               if ( !$db->sql_query($sql) )
               {
                  message_die(CRITICAL_ERROR, 'Error updating sessions table', '', __LINE__, __FILE__, $sql);
               }

               if ( $userdata['user_id'] != ANONYMOUS )
               {
                  $sql = "UPDATE " . USERS_TABLE . "
                     SET user_session_time = '$current_time', user_session_page = '$thispage_id'
                     WHERE user_id = " . $userdata['user_id'];
                  if ( !$db->sql_query($sql) )
                  {
                     message_die(CRITICAL_ERROR, 'Error updating sessions table', '', __LINE__, __FILE__, $sql);
                  }
               }

               //
               // Delete expired sessions
               //
               $expiry_time = $current_time - $board_config['session_length'];
               $sql = "DELETE FROM " . SESSIONS_TABLE . "
                  WHERE session_time <expiry_time>sql_query($sql) )
   {
      message_die(CRITICAL_ERROR, 'Error removing user session', '', __LINE__, __FILE__, $sql);
   }

   setc o o k i e($c o o k i ename . '_data', '', $current_time - 31536000, $c o o k i epath, $c o o k i edomain, $c o o k i esecure);
   setc o o k i e($c o o k i ename . '_sid', '', $current_time - 31536000, $c o o k i epath, $c o o k i edomain, $c o o k i esecure);

   return true;
}

//
// Append $SID to a url. Borrowed from phplib and modified. This is an
// extra routine utilised by the session code above and acts as a wrapper
// around every single URL and form action. If you replace the session
// code you must include this routine, even if it's empty.
//
function append_sid($url, $non_html_amp = false)
{
   global $SID, $admin, $userdata;
   if (ereg("admin=1", $url) || ereg("admin_", $url) || ereg("pane=", $url)){
                        //  The format is fine, don't change a thing.
   } else if (ereg("Your_Account", $url)){
           $url = str_replace(".php", "", $url);       //  Strip the .php from all the files,
           $url = str_replace("modules", "modules.php", $url); //  and put it back for the modules.php
   }
   else if (ereg("redirect", $url))
   {
           $url = str_replace("login.php", "modules.php?name=Your_Account", $url);       //  Strip the .php from all the files,
           $url = str_replace(".php", "", $url);       //  Strip the .php from all the files,
           $url = str_replace("?redirect", "&redirect", $url);       //  Strip the .php from all the files,
           $url = str_replace("modules", "modules.php", $url); //  and put it back for the modules.php
   }
   else if (ereg("menu=1", $url))
   {
           $url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
           $url = str_replace(".php", "", $url);       //  Strip the .php from all the files,
       $url = "../../../modules.php?name=Forums&file=$url";
   }
   else if ((ereg("privmsg", $url)) && (!ereg("highlight=privmsg", $url)))
   {
           $url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
           $url = str_replace("privmsg.php", "modules.php?name=Private_Messages&file=index", $url); //  and put it back for the modules.php
   }
   else if ((ereg("profile", $url)) && (!ereg("highlight", $url) && !ereg("profile", $url)))
   {
           $url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
           $url = str_replace("profile.php", "modules.php?name=Forums&file=profile", $url); //  and put it back for the modules.php
       $dummy = 1;
   }
   else if ((ereg("memberlist", $url)) && (!ereg("highlight=memberlist", $url)))
   {
           $url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
           $url = str_replace("memberlist.php", "modules.php?name=Members_List&file=index", $url); //  and put it back for the modules.php
   } else {
           $url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
           $url = str_replace(".php", "", $url);
           $url = "modules.php?name=Forums&file=".$url; //Change to Nuke format
   }

   if ($userdata['user_level'] > 1) {
   if ( !empty($SID) && !eregi('sid=', $url) )
   {
       if ( !empty($SID) && !eregi('sid=', $url) )   {
      $url .= ( ( strpos($url, '?') != false ) ?  ( ( $non_html_amp ) ? '&' : '&amp;' ) : '?' ) . $SID;
          }
      }   
   }
   return($url);
}
function admin_sid($url, $non_html_amp = false)
{
   global $SID;
        $url = "../../../modules.php?name=Forums&file=$url";

   if ( !empty($SID) && !preg_match('#sid=#', $url) )
   {
      $url .= ( ( strpos($url, '?') != false ) ?  ( ( $non_html_amp ) ? '&' : '&amp;' ) : '?' ) . $SID;
   }

   return $url;
}

?>
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-28, 16:38:03    Mesaj konusu: Al�nt�yla Cevap G�nder

yazan yok mu yaaa sql sorunu yardim etin
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-28, 21:33:40    Mesaj konusu: Al�nt�yla Cevap G�nder

kimse sessions.php varsa hazir hali bana yola bilirmi? tskler
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
SevYeter
Mesaj: 200+
Mesaj: 200+





Kay�t: Jan 12, 2009
Mesajlar: 211
Konum: Isvec

MesajTarih: 2009-01-29, 02:39:22    Mesaj konusu: Al�nt�yla Cevap G�nder


bu geliyor niye gardeslerim
sql oktum ama izin vermiyor niye acba
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder Yazar�n web sitesini ziyaret et  
sofualanli
Mesaj: 50+
Mesaj: 50+





Kay�t: Jan 26, 2009
Mesajlar: 81

MesajTarih: 2010-01-05, 23:03:15    Mesaj konusu: Al�nt�yla Cevap G�nder

Dosya linkleri silinmi� yeniler misiniz bana da laz�m b�yle bir �ey...
Ba�a d�n
Kullan�c�n�n profilini g�r�nt�le �zel mesaj g�nder  
�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 -> NukeBB Eklentileri T�m zamanlar GMT + 3 Saat
Sayfaya git �nceki  1, 2, 3, 4
4. sayfa (Toplam 4 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 Windows Hostta Nuke Siteye Seo Uygula... cyprus_tde Php Nuke Sorunlar�n�z 3 2010-06-22, 09:30:57 Son Mesaj� G�r�nt�le
Yeni mesaj yok �yeler arasi e-mail g�nderilmiyor haydarlim Php Nuke Sorunlar�n�z 0 2010-06-21, 20:26:01 Son Mesaj� G�r�nt�le
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 Siteye �yelik ahmetx Php Nuke Sorunlar�n�z 10 2010-05-20, 21:17:24 Son Mesaj� G�r�nt�le
Yeni mesaj yok www.teselliver.com siteye yard�m isokolik NukeBB Eklentileri 2 2010-05-07, 19:54:20 Son Mesaj� G�r�nt�le

Copyright � 2002-2025 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