########################################################
## Mod Title: Gallery - phpBB2 Integration
## Mod Version: 1.4.3
##
## $Date: 2003/08/10 18:23:24 $
## $Revision: 1.1.2.1 $
##
## Author: Martin (WebSnail) < www.snailsource.com >
## Description: This MOD integrates Gallery 1.3.4_pl1
## with the phpBB2 users and usergroups (ver 2.0.6)
##
## Installation Level: Medium
## Installation Time: 10-15 Minutes
## Files To Edit: overall_header.tmpl
## page_header.php
########################################################
EDIT PhpBB2 Files Instructions.
Files to Edit:
==============
- includes/page_header.php
- includes/sessions.php
- templates/subSilver/overall_header.tpl
- templates/subSilver/admin/auth_ug_body.tpl
- admin/admin_ug_auth.php
- language/lang_english/lang_main.php
#
#-----[ OPEN includes/page_header.php]------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
'T_SPAN_CLASS2' => $theme['span_class2'],
'T_SPAN_CLASS3' => $theme['span_class3'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'GALLERY_CODE' => $gallery_body,
#-----[ FIND ]------------------------------------------
#
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '', ''),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_GALLERY' => $lang['Gallery'],
#-----[ FIND ]------------------------------------------
#
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'U_GALLERY' => append_sid('modules.'.$phpEx.'?op=modload&name=gallery&file=index'),
#
#-----[ OPEN includes/sessions.php]------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
$session_id = ( isset($HTTP_GET_VARS['sid']) ) ? $HTTP_GET_VARS['sid'] : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// MOD
if(!isset($HTTP_GET_VARS['sid'])) {
$session_id = ( isset($HTTP_POST_VARS['sid']) ) ? $HTTP_POST_VARS['sid'] : '';
}
// MOD end
# --- [ REPEAT!! (2 copies of code to edit) ] -------------------------------------
#
#-----[ OPEN templates/subSilver/overall_header.tpl]------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
#
#-----[ BEFORE, ADD ]------------------------------------------
#
#-----[ FIND ]------------------------------------------
#