Code: Selecteer alles
##############################################################
## MOD Title: Adaption for guestbook to integrate the color groups mod 1.2.1
## MOD Author: Brandsrus < martenkorfbalt@hotmail.com > (Marten Brands) N/A
## MOD Description: Makes it possible to view the color of generated by the color groups mod in the profile guestbook.
## MOD Version: 0.0.1
##
## Installation Level: Easy
## Installation Time: 3 minutes
## Files To Edit: includes/functions_guestbook.php
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Generator: MOD Studio [ ModTemplateTools 1.0.2288.38406 ]
##############################################################
## 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/
##############################################################
## Author Notes: I must installed the profile guestbook from Paul and the Color Groups mod from nivisec
##############################################################
## MOD History:
##
## 2006-05-14 - Version 0.0.1
## -- Makes possible to view the color group in profile guestbook
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_guestbook.php
#
#-----[ FIND ]------------------------------------------
#
if (!defined('IN_PHPBB'))
{
die("Hacking attempt");
}
#
#-----[ BEFORE, ADD ]------------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
'POSTER_NAME' => $poster,
#
#-----[ REPLACE WITH ]------------------------------------------
#
'POSTER_NAME' => ($poster_name = color_group_colorize_name($poster_id, true)) ? $poster_name : $poster,
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM