[MOD] Login Box At Overall Header / Giriş Menüsü Yukarıda

EftelyA

Yaşayan Forum Efsanesi
22 Kas 2007
9,097
59
EsEs
Kod:
############################################################## 
## MOD Title: Login Box At Overall Header 
## MOD Author: maxJackal < [email protected] > (Oguzhan E) http://www.turkbilgi.web.tr 
## MOD Description: This mod puts a small login box at top of all pages.
##          So you can quickly log in to forum at any page you want without going to login page. (like vB v3)
## MOD Version: 1.0.0
## 
## Installation Level: (Very) Easy
## Installation Time: 3-5 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:   2 (and 1 optional)
##       language/lang_english/lang_main.php
##       templates/subSilver/overall_header.tpl
##       templates/subSilver/index_body.tpl (optional)
## 
## Included Files: n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
## 1. About This Mod
## -----------
## This mod has 2 parts. The first part is common for all installs. So you must do first part.
## If you don't want to you use original phpBB(c) login box any longer, you must also do the
## second part after doing first part.
## 
## 2. EasyMOD
## -----------
## This MOD is compatible and can be installed by EasyMOD
## of Nuttzy (but is not officially EasyMOD Compliant)!
## http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15
## 
## 2.1 Translation are not managed
## -----------
## EM can not already manage actions for any other
## language than English (but language intructions are proceed
## to all installed languages in order to prevent errors).
## So the translations provided with this MOD must be installed
## manually if you need them.
##
## 3. Official last version link
## -----------
## Meanwhile the phpBB group validation and as the MOD is not yet
## in the phpBB MOD database, check this official link for updates...
## http://www.turkbilgi.web.tr
##
############################################################## 
## MOD History: 
## 
##   2003-12-01 - Version 0.0.1 
##            - very fist release 
##   2003-12-02 - Version 0.0.2 
##       - use language file for "Remember me" 
##   2003-12-03 - Version 0.0.3 
##       - easyMod v0.0.10 compliant 
##   2003-12-25 - Version 0.0.4 
##      - public release (nothing changed) 
##   2004-01-01 - Version 0.0.5
##       - changed the code at index_body.tpl (now more useful for modified files)
##   2004-06-01 - Version 1.0.0
##       - completely rewritten
##       - easyMod v0.0.11 compliant 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# - PART 1 ---------------------------------------------
# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php
# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['Log_me_in'] = 'Log me on automatically each visit';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
$lang['Log_me_in'] = 'Hatırla Beni';  // modified by mod: LoginBoxAtOverallHeader - maxJackal

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#
<a name="top"></a>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- start : mod LoginBoxAtOverallHeader by maxJackal -->
<!-- BEGIN switch_user_logged_out -->
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
   <tr>
      <form method="post" action="{S_LOGIN_ACTION}">      
      <td align="center" width="100%" nowrap="nowrap">
         <table cellspacing="0" cellpadding="2" border="0" width="100%" class="bodyline"><tr><td align="right" nowrap="nowrap" class="catHead">
           <span class="gensmall">{L_USERNAME}: 
         <input class="post" type="text" name="username" size="10" />
            {L_PASSWORD}: 
         <input class="post" type="password" name="password" size="10" maxlength="32" />
              {L_AUTO_LOGIN} 
         <input class="text" type="checkbox" name="autologin" value="ON" />
            
         <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span>  </td></tr></table>
      </td>
      </form>
   </tr>
</table>
<!-- END switch_user_logged_out -->
<!-- end : mod LoginBoxAtOverallHeader by maxJackal -->

##########################################################################################
# - PART 2 ---------------------------------------------
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------ 
#
<form method="post" action="{S_LOGIN_ACTION}">

#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- deleted : mod LoginBoxAtOverallHeader by maxJackal 

#
#-----[ FIND ]------------------------------------------ 
#
      <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
      </span> </td>
   </tr>
  </table>
</form>

#
#-----[ AFTER, ADD ]------------------------------------------
#
end mod: LoginBoxAtOverallHeader --> 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.