Simple Registration (kısa Kayıt Formu)

bLoOdLusT1912

Kadim Üye
1 Ağu 2007
5,470
41
Kod:
############################################################## 
## MOD Title: Simple Registration 
## MOD Author: Spinebuster ( [email protected] ) 
## 
## MOD Description: This simple hack alters the registration form for new users.  
##                  It makes it so only the mandatory fields are displayed to make things that much easier. 
## 
## MOD Version: 1.0 
## 
## Installation Level: (Easy) 
## Installation Time: 2 Minutes 
## Files To Edit:   2 
##         templates/subSilver/profile_add_body.tpl 
##         includes/usercp_register.php 
##                
## Included Files:   (N/A) 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb-customs.com 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-customs.com 
############################################################## 
## Author Notes: None 
## 
############################################################## 
## MOD History: 
## 
##   2005-4-30 - Version 2.0 
##   - Fixed a bug with the avatar panel not showing up. 
##   2005-1-23 - Version 1.0 
##      - First Release 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author(s) listed above. 
############################################### 
# 
#-----[ OPEN ]------------------------------------------ 
# 
   includes/usercp_register.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
      if ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) ) 
      { 
         $template->assign_block_vars('switch_avatar_block', array() ); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      if ( $userdata['session_logged_in'] || $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) ) 
      { 
         $template->assign_block_vars('switch_avatar_block', array() ); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
   templates/subSilver/profile_add_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<tr> 
  <td class="catSides" colspan="2" height="28"> </td> 
</tr> 
<tr> 
  <th class="thSides" colspan="2" height="25" valign="middle">{L_PROFILE_INFO}</th> 
</tr> 
<tr> 
# 
#-----[ BEFORE - ADD ]------------------------------------------ 
# 
<!-- BEGIN switch_user_logged_in --> 
# 
#-----[ FIND ]------------------------------------------ 
# 
<!-- BEGIN switch_avatar_block --> 
# 
#-----[ BEFORE - ADD ]------------------------------------------ 
# 
<!-- END switch_user_logged_in --> 
# 
#-----[ 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.