######################################################## 
## Mod Title:   Custom registration form mod 
## Mod Version: 1.0.1
## Author:       Niels Chr. Denmark < ncr@db9.dk > (Niels Chr. Rd) http://mods.db9.dk
## 
## This mod will make it posible to make a shorter registration formular 
## than the pressent one, you can remove most fields and only leave name,password and email 
## all others can be submitted lateron from the profile 
## 
## This mod is for phpBB2!! ver 2.0.2
## 
## instalation level: easy 
## instalation time: 3 minutes
## 
## Files to edit: include/usercp_register.php 
##
## Files to add: templates/subsilver/profile_register_body.tpl 
## 
## 
############################################################## 
## This MOD is released under the GPL License. 
## Intellectual Property is retained by the MOD Author(s) listed above 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ 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/downloads/ 
############################################################## 
## Authors Notes: 
## 
## To make a new custom template, you should manually make a copy of the 
## file: template/Subsilver/profile_add_body.tpl, and name it 
## template/Subsilver/profile_register_body.tpl
##  
## modify this new HTML file so it hold those info you would like new users to see when register
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_register.php
 
# 
#-----[ FIND ]------------------------------------------ 
# 
$template->set_filenames(array(
	'body' => 'profile_add_body.tpl')
);

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
if ($mode=='register') 
$template->set_filenames(array(   'body' => 'profile_register_body.tpl')); 
else $template->set_filenames(array('body' => 'profile_add_body.tpl'));


# 
#-----[ COPY ]------------------------------------------ 
# 
template/Subsilver/profile_register_body.tpl

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

