MOD İsmi: Hidden Login MOD
Yazarı: eviL<3
MOD Description: Allows users to login Hidden, so they aren't listed in the "who's online" part / page.
Türkçesi: Kullanıcıların gizli olarak foruma giriş yapmasını sağlar, bu sayede onlar "kimler onlie" bölümünde/sayfasında gösterilmezler.
MOD Version: 1.0.1 (Updated 09/09/06)
Installation Level: Easy/Kolay
Installation Time: ~ 3 Minutes/Yaklaşık 3 dk
Tested on phpBB Version: 2.0.21
Demo Site: http://www.phpbbmodders.org
##############################################################
## MOD Title: Hidden Login MOD
## MOD Author: eviL3 < [email protected] > (Igor Wiedler) https://tik.lat/ACoZZ
## MOD Description: Allows users to login Hidden, so they aren't listed in
## the "who's online" part / page.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit:
## includes/page_header.php
## login.php
## language/lang_english/lang_main.php
## templates/subSilver/index_body.tpl
## templates/subSilver/login_body.tpl
##
## Included Files: (n/a)
## License: https://tik.lat/zBYqc GNU General Public License v2
##############################################################
## For security purposes, please check: https://tik.lat/DbhwT
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at https://tik.lat/ZxM2m
##############################################################
## Author Notes:
##
## I know that olympus has something like this. But i had the Idea already
## before i saw it in phpbb3 beta1. Thanks to noobarmy who also had this Idea
##
## I'd also like to thank Kalipo who gave me some good tipps
##
##############################################################
## MOD History:
##
## 2006-06-20 - Version 0.1.0
## - First release
##
## 2006-06-21 - Version 0.1.1
## - Small lang addition
## - If not hidden, log in unhidden
##
## 2006-06-21 - Version 0.1.2
## - Template fixes
## - Don't show when logging into admin
##
## 2006-06-21 - Version 0.1.3
## - Fix resetting when logging into admin
##
## 2006-07-20 - Version 1.0.0
## - Submitted to MODDB
##
## 2006-08-28 - Version 1.0.1
## - Optimized SQL, thanks TerraFrost
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------------
#
'L_AUTO_LOGIN' => $lang['Log_me_in'],
#
#-----[ AFTER, ADD ]------------------------------------------------
#
'L_HIDE_LOGIN' => $lang['Hidden_login'],
'L_HIDE_LOGIN_LONG' => $lang['Hidden_login_long'],
#
#-----[ FIND ]------------------------------------------------
#
//
// Allow autologin?
#
#-----[ BEFORE, ADD ]------------------------------------------------
#
$template->assign_block_vars('switch_allow_hidelogin', array());
#
#-----[ OPEN ]------------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------------
#
$autologin
#
#-----[ AFTER, ADD ]------------------------------------------------
#
$hidelogin = ( isset($HTTP_POST_VARS['hidelogin']) ) ? 0 : 1;
#
#-----[ FIND ]------------------------------------------------
#
// Reset login tries
$db->sql_query
#
#-----[ AFTER, ADD ]------------------------------------------------
#
// Hidelogin
if( !$userdata['session_logged_in'] )
{
$db->sql_query('UPDATE ' . USERS_TABLE . ' SET user_allow_viewonline = ' . $hidelogin . ' WHERE user_id = ' . $row['user_id']);
}
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_turkish/lang_main.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Log_me_in']
#
#-----[ AFTER, ADD ]-----------------------------------------
#
$lang['Hidden_login'] = 'Gizle';
$lang['Hidden_login_long'] = 'Beni Gizli Olarak Göster';
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- END switch_allow_autologin -->
#
#-----[ AFTER, ADD ]-----------------------------------------
#
{L_HIDE_LOGIN}
<input class="text" type="checkbox" name="hidelogin" />
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/login_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- END switch_allow_autologin -->
#
#-----[ AFTER, ADD ]-----------------------------------------
#
<!-- BEGIN switch_allow_hidelogin -->
<tr align="center">
<td colspan="2"><span class="gen">{L_HIDE_LOGIN_LONG}: <input type="checkbox" name="hidelogin" /></span></td>
</tr>
<!-- END switch_allow_hidelogin -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Yazarı: eviL<3
MOD Description: Allows users to login Hidden, so they aren't listed in the "who's online" part / page.
Türkçesi: Kullanıcıların gizli olarak foruma giriş yapmasını sağlar, bu sayede onlar "kimler onlie" bölümünde/sayfasında gösterilmezler.
MOD Version: 1.0.1 (Updated 09/09/06)
Installation Level: Easy/Kolay
Installation Time: ~ 3 Minutes/Yaklaşık 3 dk
Tested on phpBB Version: 2.0.21
Demo Site: http://www.phpbbmodders.org
##############################################################
## MOD Title: Hidden Login MOD
## MOD Author: eviL3 < [email protected] > (Igor Wiedler) https://tik.lat/ACoZZ
## MOD Description: Allows users to login Hidden, so they aren't listed in
## the "who's online" part / page.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit:
## includes/page_header.php
## login.php
## language/lang_english/lang_main.php
## templates/subSilver/index_body.tpl
## templates/subSilver/login_body.tpl
##
## Included Files: (n/a)
## License: https://tik.lat/zBYqc GNU General Public License v2
##############################################################
## For security purposes, please check: https://tik.lat/DbhwT
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at https://tik.lat/ZxM2m
##############################################################
## Author Notes:
##
## I know that olympus has something like this. But i had the Idea already
## before i saw it in phpbb3 beta1. Thanks to noobarmy who also had this Idea
##
## I'd also like to thank Kalipo who gave me some good tipps
##
##############################################################
## MOD History:
##
## 2006-06-20 - Version 0.1.0
## - First release
##
## 2006-06-21 - Version 0.1.1
## - Small lang addition
## - If not hidden, log in unhidden
##
## 2006-06-21 - Version 0.1.2
## - Template fixes
## - Don't show when logging into admin
##
## 2006-06-21 - Version 0.1.3
## - Fix resetting when logging into admin
##
## 2006-07-20 - Version 1.0.0
## - Submitted to MODDB
##
## 2006-08-28 - Version 1.0.1
## - Optimized SQL, thanks TerraFrost
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------------
#
'L_AUTO_LOGIN' => $lang['Log_me_in'],
#
#-----[ AFTER, ADD ]------------------------------------------------
#
'L_HIDE_LOGIN' => $lang['Hidden_login'],
'L_HIDE_LOGIN_LONG' => $lang['Hidden_login_long'],
#
#-----[ FIND ]------------------------------------------------
#
//
// Allow autologin?
#
#-----[ BEFORE, ADD ]------------------------------------------------
#
$template->assign_block_vars('switch_allow_hidelogin', array());
#
#-----[ OPEN ]------------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------------
#
$autologin
#
#-----[ AFTER, ADD ]------------------------------------------------
#
$hidelogin = ( isset($HTTP_POST_VARS['hidelogin']) ) ? 0 : 1;
#
#-----[ FIND ]------------------------------------------------
#
// Reset login tries
$db->sql_query
#
#-----[ AFTER, ADD ]------------------------------------------------
#
// Hidelogin
if( !$userdata['session_logged_in'] )
{
$db->sql_query('UPDATE ' . USERS_TABLE . ' SET user_allow_viewonline = ' . $hidelogin . ' WHERE user_id = ' . $row['user_id']);
}
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_turkish/lang_main.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Log_me_in']
#
#-----[ AFTER, ADD ]-----------------------------------------
#
$lang['Hidden_login'] = 'Gizle';
$lang['Hidden_login_long'] = 'Beni Gizli Olarak Göster';
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- END switch_allow_autologin -->
#
#-----[ AFTER, ADD ]-----------------------------------------
#
{L_HIDE_LOGIN}
<input class="text" type="checkbox" name="hidelogin" />
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/login_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<!-- END switch_allow_autologin -->
#
#-----[ AFTER, ADD ]-----------------------------------------
#
<!-- BEGIN switch_allow_hidelogin -->
<tr align="center">
<td colspan="2"><span class="gen">{L_HIDE_LOGIN_LONG}: <input type="checkbox" name="hidelogin" /></span></td>
</tr>
<!-- END switch_allow_hidelogin -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM