############################################################## 
## MOD Titulo: Favorites Mod
## MOD Autor: DanielT < mods@danielt.com > (Daniel Taylor) http://www.danielt.com 
## MOD Descripcion: Permite a los usuarios crear una lista de Temas Favoritos.
## MOD Version: 1.0.3 
## Traducido: ThE KuKa - http://www.thekuka.net
## Nivel de Instalacion: Moderada
## Tiempo de Instalacion: 5 Minutos 
## Archivos a Editar: viewtopic.php
##              includes/page_header.php
##              templates/subSilver/overall_header.tpl
##              templates/subSilver/viewtopic_body.tpl
##              language/lang_spanish/lang_main.php
## Archivos Incluidos: favorites.php, fav_body.tpl
############################################################## 
## Por razones de seguridad, comprueba : http://www.phpbb.com/mods/downloads/ para las
## ltimas versiones de este MOD. Descargar este MOD de otros sitios podria facilitar que
## introdujeras cdigo peligroso en tu Foro . Asi como phpBB no ofrecer soporte para MOD'S
## no ofrecidos en nuestra base de datos, situada en: http://www.phpbb.com/mods/downloads/ 
############################################################## 
## Antes de aadir este MOD deberias hacer copias de todos los ficheros relacionados.
############################################################## 
#
#-----[ SQL ]------------------------------------------
# Cambia 'phpbb_' por el prefijo de tus tablas (si es necesario) 
CREATE TABLE `phpbb_favorites` ( 
`fav_id` int(11) NOT NULL auto_increment, 
`user_id` int(11) NOT NULL default '0', 
`topic_id` int(11) NOT NULL default '0', 
PRIMARY KEY (`fav_id`) 
) 
#
#-----[ COPIAR ]------------------------------------------
#
Copiar favorites.php  en  favorites.php
Copiar fav_body.tpl   en  templates/subSilver/fav_body.tpl
#
#-----[ ABRIR ]------------------------------------------
#
language/lang_spanish/lang_main.php
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------

#
#-----[ ANTES AADIR ]------------------------------------------
#
$lang['remove_fav_data'] = 'No se pudo eliminar los datos de la tabla de favoritos';
$lang['insert_fav_data'] = 'No se pudo agregar los datos a la tabla de favoritos';
$lang['no_fav_topic'] = 'No se defini ningn tema para aadir como favorito';
$lang['favorites'] = 'Favoritos';
$lang['add_fav'] = 'Aadir a Favoritos';

#
#-----[ ABRIR ]------------------------------------------
#
viewtopic.php
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
	'S_WATCH_TOPIC_IMG' => $s_watching_topic_img,
#
#-----[ DESPUES AADIR ]------------------------------------------
#
	'U_FAV' => append_sid("favorites.$phpEx?t=" . $topic_id . "&mode=add"),
	'L_FAV' => $lang['add_fav'],
#
#-----[ ABRIR ]------------------------------------------
#
includes/page_header.php
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
	'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),

#
#-----[ DESPUES AADIR ]------------------------------------------
#
	'L_FAV' => $lang['favorites'],
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

#
#-----[ DESPUES AADIR ]------------------------------------------
#
	'U_FAV' => append_sid('favorites.'.$phpEx),
#
#-----[ ABRIR ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
<img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
#
#-----[ EN LA LINEA, DESPUES AADIR ]------------------------------------------
#
&nbsp; &nbsp;<a href="{U_FAV}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_FAV}" hspace="3" />{L_FAV}</a>&nbsp;
#
#-----[ ABRIR ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ BUSCAR / ENCONTRAR ]------------------------------------------
#
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
#
#-----[ EN LA LINEA BUSCAR / ENCONTRAR ]------------------------------------------
#
{S_WATCH_TOPIC}
#
#-----[ EN LA LINEA, DESPUES AADIR ]------------------------------------------
#
<!-- BEGIN switch_user_logged_out --><br /><a href="{U_FAV}">{L_FAV}</a><!-- END switch_user_logged_out -->
#
#-----[ GRABAR/CERRAR Y SUBIR TODOS LOS ARCHIVOS ]------------------------------------------
#
# EoM / Fin de Modificaciones
