Tarih: 2008-03-22, 16:38:04 Mesaj konusu: Son 24 Saat İçin Online Olanlar
Arkdaaşlar ben bu modülü kuramıyorum ne yaptıysam page_header ekledigimde kodları forum hep hata veriyor su kodları yükledigimde hemen sorun veriyor aynen kodlar bunlar
Kod:
//
// Users of the day MOD
//
// ############ Edit below ############
// #
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
// #
// ############ Edit above ############
$sql = "s*elect user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
Tarih: 2008-03-22, 18:19:31 Mesaj konusu: Re: Son 24 Saat İçin Online Olanlar
bu siteden hemde indirdim neyse indirdigim dosya bu bir bakrsanız sevinirim yada elinde olan varsas bu eklenti bana yollasın dogru olanını sevinirim arkdaşlar..
Kod:
########################################################
##
## MOD Title: Users of the day
## MOD Version: 2.1
## Author: ZoZo <zozo@etoiles.net>
##
## Description:
## Displays, under the online users list, a list of the registered users
## who have visited during the last XX hours. Can also display the list
## of the users who didn't come. (see "Edit below")
##
## Installation Level: easy
## Installation Time: 2-3 minutes
##
## Files To Edit: 3
## - /templates/subSilver/index_body.tpl
## - /language/lang_english/lang_main.php
## - /includes/page_header.php
##
## Included Files: None
##
########################################################
## VERSION HISTORY:
##
## October 22th 2004: v2.1
## 1. Now admins are displayed first, then mods then users.
## 2. Corrected a problem in the text file with Easy Mod Installer.
##
## June 20th 2003: v2.0
## 1. The list's delay is customizable, but you must give a number in hours, 24 by default.
## 2. There's now a counter for each list.
## 3. The MOD doesn't display the list of the users who didn't visit by default.
##
## October 28th 2002: v1.1
## 1. The MOD uses the database variable "user_session_time" instead of "user_lastvisit", which is updated only when the user logs out.
##
## October 15th 2002: v1.0
## 1. Created main features.
##
########################################################
## TODO LIST:
##
## 1. Don't restrict the time unit to hours.
##
########################################################
## PLEASE REPORT ANY BUGS OR SUGGESTIONS ##
########################################################
#
#-----[ ACTION: Aç ]--------------------------------
#
/language/lang_turkish/lang_main.php
#
#-----[ ACTION: bul ]--------------------------------
#
$lang['Registered_users'] = 'Registered Users:';
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
$lang['Day_users'] = '%d kayıtlı kullanıcımız visit forumumuzu %d içinde ziyaret etti:';
$lang['Not_day_users'] = '%d kayıtlı kullanıcımız <span style="color:red">DIDN\'T</span> forumumuzu %d içinde ziyaret etti:';
#
#-----[ ACTION: repeat for all languages ]------------
#
#
#-----[ ACTION: Aç ]--------------------------------
#
/includes/page_header.php
#
#-----[ ACTION: Bul ]--------------------------------
#
'LOGGED_IN_USER_LIST' => $online_userlist,
#
#-----[ ACTION: Sonrasına Ekle ]---------------------------
#
'USERS_OF_THE_DAY_LIST' => $day_userlist,
#
#-----[ ACTION: Bul ]--------------------------------
#
//
// Obtain number of new private messages
// if user is logged in
//
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
//
// Users of the day MOD
//
// ############ Edit below ############
// #
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
// #
// ############ Edit above ############
$sql = "s*elect user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
kardeşim bu modul değilki modül böyle olmaz olsa olsa blok'tur bu?
neyse metalmusic bu eklenti çok doğru çalışıyor ama bunu yaparken biraz temiz çalışman lazım.Kesinlikle yedeklerini al.Ben daha önce kurmuştum sorun yok gerçekten.
block deil bu forum eklentisi ikincisi kurdum dogru sekilde temiz calışmayı zarten severim www.metalmuzik.org bakabilirsiniz..
ve ben bunu kurdum calışmadı ama ne iştir
Tarih: 2008-03-24, 13:33:47 Mesaj konusu: Re: Son 24 Saat İçin Online Olanlar
AL KARDEŞ BEN SENİN İÇİN CEVİRDİM BUYUR..
Kod:
########################################################
##
## MOD Title: Users of the day
## MOD Version: 2.1
## Author: ZoZo <zozo@etoiles.net>
##
## Description:
## Displays, under the online users list, a list of the registered users
## who have visited during the last XX hours. Can also display the list
## of the users who didn't come. (see "Edit below")
##
## Installation Level: easy
## Installation Time: 2-3 minutes
##
## Files To Edit: 3
## - /templates/subSilver/index_body.tpl
## - /language/lang_english/lang_main.php
## - /includes/page_header.php
##
## Included Files: None
##
########################################################
## VERSION HISTORY:
##
## October 22th 2004: v2.1
## 1. Now admins are displayed first, then mods then users.
## 2. Corrected a problem in the text file with Easy Mod Installer.
##
## June 20th 2003: v2.0
## 1. The list's delay is customizable, but you must give a number in hours, 24 by default.
## 2. There's now a counter for each list.
## 3. The MOD doesn't display the list of the users who didn't visit by default.
##
## October 28th 2002: v1.1
## 1. The MOD uses the database variable "user_session_time" instead of "user_lastvisit", which is updated only when the user logs out.
##
## October 15th 2002: v1.0
## 1. Created main features.
##
########################################################
## TODO LIST:
##
## 1. Don't restrict the time unit to hours.
##
########################################################
## PLEASE REPORT ANY BUGS OR SUGGESTIONS ##
########################################################
#
#-----[ ACTION: Aç ]---------------------------------
#
/templates/subSilver/index_body.tpl
#
#-----[ ACTION: Aç ]--------------------------------
#
/language/lang_turkish/lang_main.php
#
#-----[ ACTION: bul ]--------------------------------
#
$lang['Registered_users'] = 'Registered Users:';
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
$lang['Day_users'] = '%d kayıtlı kullanıcımız visit forumumuzu %d içinde ziyaret etti:';
$lang['Not_day_users'] = '%d kayıtlı kullanıcımız <span style="color:red">DIDN\'T</span> forumumuzu %d içinde ziyaret etti:';
#
#-----[ ACTION: Bu Bölümle İşin Bitti ]------------
#
#
#-----[ ACTION: Aç ]--------------------------------
#
/includes/page_header.php
#
#-----[ ACTION: Bul ]--------------------------------
#
'LOGGED_IN_USER_LIST' => $online_userlist,
#
#-----[ ACTION: Sonrasına Ekle ]---------------------------
#
'USERS_OF_THE_DAY_LIST' => $day_userlist,
#
#-----[ ACTION: Bul ]--------------------------------
#
//
// Obtain number of new private messages
// if user is logged in
//
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
//
// Users of the day MOD
//
// ############ Edit below ############
// #
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
// #
// ############ Edit above ############
$sql = "select user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
Tarih: 2008-04-23, 13:38:29 Mesaj konusu: Re: Son 24 Saat İçin Online Olanlar
metalmuzik :
AL KARDEŞ BEN SENİN İÇİN CEVİRDİM BUYUR..
Kod:
########################################################
##
## MOD Title: Users of the day
## MOD Version: 2.1
## Author: ZoZo <zozo@etoiles.net>
##
## Description:
## Displays, under the online users list, a list of the registered users
## who have visited during the last XX hours. Can also display the list
## of the users who didn't come. (see "Edit below")
##
## Installation Level: easy
## Installation Time: 2-3 minutes
##
## Files To Edit: 3
## - /templates/subSilver/index_body.tpl
## - /language/lang_english/lang_main.php
## - /includes/page_header.php
##
## Included Files: None
##
########################################################
## VERSION HISTORY:
##
## October 22th 2004: v2.1
## 1. Now admins are displayed first, then mods then users.
## 2. Corrected a problem in the text file with Easy Mod Installer.
##
## June 20th 2003: v2.0
## 1. The list's delay is customizable, but you must give a number in hours, 24 by default.
## 2. There's now a counter for each list.
## 3. The MOD doesn't display the list of the users who didn't visit by default.
##
## October 28th 2002: v1.1
## 1. The MOD uses the database variable "user_session_time" instead of "user_lastvisit", which is updated only when the user logs out.
##
## October 15th 2002: v1.0
## 1. Created main features.
##
########################################################
## TODO LIST:
##
## 1. Don't restrict the time unit to hours.
##
########################################################
## PLEASE REPORT ANY BUGS OR SUGGESTIONS ##
########################################################
#
#-----[ ACTION: Aç ]---------------------------------
#
/templates/subSilver/index_body.tpl
#
#-----[ ACTION: Aç ]--------------------------------
#
/language/lang_turkish/lang_main.php
#
#-----[ ACTION: bul ]--------------------------------
#
$lang['Registered_users'] = 'Registered Users:';
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
$lang['Day_users'] = '%d kayıtlı kullanıcımız visit forumumuzu %d içinde ziyaret etti:';
$lang['Not_day_users'] = '%d kayıtlı kullanıcımız <span style="color:red">DIDN\'T</span> forumumuzu %d içinde ziyaret etti:';
#
#-----[ ACTION: Bu Bölümle İşin Bitti ]------------
#
#
#-----[ ACTION: Aç ]--------------------------------
#
/includes/page_header.php
#
#-----[ ACTION: Bul ]--------------------------------
#
'LOGGED_IN_USER_LIST' => $online_userlist,
#
#-----[ ACTION: Sonrasına Ekle ]---------------------------
#
'USERS_OF_THE_DAY_LIST' => $day_userlist,
#
#-----[ ACTION: Bul ]--------------------------------
#
//
// Obtain number of new private messages
// if user is logged in
//
#
#-----[ ACTION: Öncesine Ekle ]--------------------------
#
//
// Users of the day MOD
//
// ############ Edit below ############
// #
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
// #
// ############ Edit above ############
$sql = "select user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
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