############################################################## 
## MOD Title: Last topic_from - Profile Control Panel
## MOD Author: Ptirhiik < admin@rpgnet-fr.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:
##		This mod is an extension to the Last topics from mod for the Profile Control Panel mod.
##
## MOD Version: 1.0.2
## 
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: (n/a)
##
## Included Files:
##		functions_last_topics_from.php
##		mod_last_topics_from.php
##		lang_extend_last_topics_from.php
##		profilcp_public_last_topics.php
##		public_last_topics_body.tpl
##
############################################################## 
## 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: 
##	In answer to the KMR request : http://phpbb.com/phpBB/viewtopic.php?t=120187
## 
##	o users can choose their prefered setup (required full mods settings mod to be installed).
##		Admin can also choose to override the users choice for each setup parameter.
##
##	o PCP version is for Profile Control Panel v 1.0.4 installed
##	o std_user_panel version is for phpBB without Profile Control Panel v 1.0.4 installed
##
############################################################## 
## MOD History: 
## 
##   2003-10-18 - Version 1.0.2
##	- adaptation for lang settings and PCP v 1.0.4
##
##   2003-09-16 - Version 1.0.1
##      - add the use of the topics list mod for enhancement to display,
##      - add the use of the mods_settings mod for users preferences,
##	- add the Profil Control Panel extension
##
##   2003-07-18 - Version 1.0.0
##      - first release
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ SQL ]-------------------------------------------------
#
# This part is optional : do it only if you want your users to be able to choose their setup
#	if you want so, you'll have to install the MOD-mods_settings-users_choices mod included in the pack
#
ALTER TABLE phpbb_users ADD user_last_topics_from_started TINYINT(2) DEFAULT '3' NOT NULL;
ALTER TABLE phpbb_users ADD user_last_topics_from_replied TINYINT(2) DEFAULT '3' NOT NULL;
ALTER TABLE phpbb_users ADD user_last_topics_from_ended TINYINT(2) DEFAULT '3' NOT NULL;
ALTER TABLE phpbb_users ADD user_last_topics_from_split TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_last_topics_from_forum TINYINT(1) DEFAULT '1' NOT NULL;
#
#-----[ COPY ]------------------------------------------------
#
copy functions_last_topics_from.php to includes/functions_last_topics_from.php
copy mod_last_topics_from.php to includes/mods_settings/mod_last_topics_from.php
copy lang_extend_last_topics_from.php to language/lang_english/lang_extend_last_topics_from.php
copy profilcp_public_last_topics.php to profilcp/profilcp_public_last_topics.php
copy public_last_topics_body.tpl to templates/subSilver/profilcp/public_last_topics_body.tpl
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM