##############################################################
## MOD Title: Super Kniffel für phpBB3
## MOD Author: Bierhasser < bierhasser@bierhasser.dyndns.org > http://www.a-y-c-e.de
## MOD Description:
## MOD Version: 1.2.0
##
## Installation Level: (Easy)
## Installation Time: 10 Minutes
## Files To Edit:
##      viewonline.php,
##      includes/constants.php,
##      includes/functions.php
##      styles/prosilver/template/overall_header.html
##      styles/prosilver/theme/bidi.css
##      styles/prosilver/theme/button.css
##      styles/prosilver/theme/colours.css
##      styles/subsilver2/template/overall_header.html
## Included Files:
##      /root/superkniffel.php
##      /root/styles/prosilver/template/superkniffel.html
##      /root/styles/prosilver/theme/images/icon_superkniffel.gif
##      /root/styles/subsilver2/template/superkniffel.html
##      /root/styles/subsilver2/theme/images/icon_mini_superkniffel.gif
##      /root/includes/functions_superkniffel.php
##	  /root/includes/conf_superkniffel.php
##      /root/images/superkniffel/*
##      /root/language/de/mods/lang_superkniffel.php
##      /root/language/de/mods/info_superkniffel.php
##      /root/language/en/mods/lang_superkniffel.php
##      /root/language/en/mods/info_superkniffel.php
##      /root/adm/mods/superkniffel_version.php
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## MOD History:
##
##   2009-03-08 - Version 1.0.0
##      - version ALFA
##
##   2009-05-14 - Version 1.1.0
##      - Version not released
##
##   2009-11-27 - Version 1.2.0
##      - Finisch
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#

viewonline.php

#
#-----[ Find ]------------------------------------------
#

		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;

#
#-----[ Add AFTER ]------------------------------------------
#

/*--- Mod Super-Kniffel ---*/
		case 'superkniffel':
			$user->add_lang('mods/lang_superkniffel');
			$location = $user->lang['PLAY_KNIFFEL'];
			$location_url = append_sid("{$phpbb_root_path}superkniffel.$phpEx");
		break;
/*--- Mod Super-Kniffel ---*/

#
#-----[ OPEN ]------------------------------------------
#

includes/constants.php

#
#-----[ Find ]------------------------------------------
#

// Additional tables

#
#-----[ Add AFTER ]------------------------------------------
#

/*--- Mod Super-Kniffel ---*/
define('KNIFFEL_HIGSCORE_TABLE', 	$table_prefix . 'kniffel_highscore');
define('KNIFFEL_USER_TABLE', 		$table_prefix . 'kniffel_user');
define('KNIFFEL_WURF_TABLE', 		$table_prefix . 'kniffel_wurf');
/*--- Mod Super-Kniffel ---*/

#
#-----[ OPEN ]------------------------------------------
#

includes/functions.php

#
#-----[ Find ]------------------------------------------
#

		'U_PRIVATEMSGS'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;folder=inbox'),

#
#-----[ ADD AFTER ]------------------------------------------
#

		/*--- Mod Super-Kniffel ---*/
		'U_SUPERKNIFFEL'				=> append_sid("{$phpbb_root_path}superkniffel.$phpEx"),
		/*--- Mod Super-Kniffel ---*/

#
#-----[ OPEN ]------------------------------------------
#

styles/prosilver/template/overall_header.html

#
#-----[ Find ]------------------------------------------
#

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>

#
#-----[ ADD BEFORE ]------------------------------------------
#

<li class="icon-superkniffel"><a href="{U_SUPERKNIFFEL}" title="Kniffel">Kniffel</a></li>

#
#-----[ OPEN ]------------------------------------------
#

styles/prosilver/theme/bidi.css

#
#-----[ Find ]------------------------------------------
#

.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp,

#
#-----[ In-line Find ]------------------------------------------
#


.rtl .icon-faq,

#
#-----[ IN-LINE AFTER Add ]------------------------------------------
#

 .rtl .icon-superkniffel,

#
#-----[ OPEN ]------------------------------------------
#

styles/prosilver/theme/button.css

#
#-----[ Find ]------------------------------------------
#

.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,

#
#-----[ In-line Find ]------------------------------------------
#

.icon-faq,

#
#-----[ In-line after Add ]------------------------------------------
#

 .icon-superkniffel,

#
#-----[ OPEN ]------------------------------------------
#

styles/prosilver/theme/colours.css

#
#-----[ Find ]------------------------------------------
#

.icon-faq						{ background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }

#
#-----[ Add after ]------------------------------------------
#

.icon-superkniffel				{ background-image: url("{T_THEME_PATH}/images/icon_superkniffel.gif"); }

#
#-----[ OPEN ]------------------------------------------
#

styles/subsilver2/template/overall_header.html

#
#-----[ Find ]------------------------------------------
#

&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a>

#
#-----[ Add after ]------------------------------------------
#

 &nbsp; &nbsp;<a href="{U_SUPERKNIFFEL}"><img src="{T_THEME_PATH}/images/icon_mini_superkniffel.gif" width="12" height="13" alt="Super Kniffel" /> Kniffel</a>

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