############################################################## 
## MOD Title:   Full Album Pack Outside Pics MOD 
## MOD Author:  MartinTruckenbrodt < webmaster@martin-truckenbrodt.com > (Martin Truckenbrodt) http://martin-truckenbrodt.com 
## MOD Description: 
##   displaying of random and recent pics of Migthy Gorgon's Full Album Pack http://www.fap.oftheweek.de out of phpBB
##   by using PHP include
## 
## MOD Version: 1.0.2 
## 
## Installation Level: Easy 
## Installation Time:  2 Minutes 
## Files To Edit: 
##   language/lang_english/lang_album_main.php 
## 
## Included Files: 
##   root/album_mod/album_outside_randompic.php 
##   root/album_mod/album_outside_recentpic.php 
##   root/album_mod/album_outside_singlepic.php 
## 
############################################################## 
## Author Notes: 
## 
##  DEMO: 
##    http://www.killi.org/index.php - Random pics
##    http://www.killi.org/index2.php - Recent pics
##    http://www.killi.org/index3.php - Single pic
## 
##  Support: 
##    http://martin-truckenbrodt.com/cgi/phpBB2
## 
############################################################## 
## MOD History: 
## 
##   2005-11-06 - Version 1.0.0
##      - first release 
## 
##   2006-01-28 - Version 1.0.1
##      - MOD renamed 
##      - some fixes 
##      - now really runs with FAP
##......- file names changed
##      - album_outside_singlepic added
##      - XHTML compatibilty
## 
##   2006-03-23 - Version 1.0.2
##      - random and recents pics now checks for pictures from unrestricted categories (cat_view_level = 1 in ALBUM_CAT_TABLE) 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ COPY ]------------------------------------------------ 
# 
copy root/album_mod/album_outside_randompic.php to album_mod/album_outside_randompic.php
copy root/album_mod/album_outside_recentpic.php to album_mod/album_outside_recentpic.php
copy root/album_mod/album_outside_singlepic.php to album_mod/album_outside_singlepic.php

#
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_album_main.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
?>

# 
#-----[ BEFORE ADD ]------------------------------------------ 
# 
//
// Random and Recent Pics MOD 
//
$lang['Random_Pics'] = 'Random pics from the Photo Album';
$lang['Recent_Pics'] = 'Recent pics from the Photo Album';

# 
#-----[ DIY INSTRUCTIONS ]------------------------------------------ 
# 
Into the HTML files of your website add one of the following lines:

<?php include "phpBB2/album_mod/album_outside_randompic.php" ?>

<?php include "phpBB2/album_mod/album_outside_recentpic.php" ?>

<?php picid = xx; include "phpBB2/album_mod/album_outside_recentpic.php" ?>

Notice: replace xx with the pic_id of the picture you want to show!!!


Perhaps you have to change the paths to the files and the phpBB root path.
Perhaps you have to change the number of displayed pictures.
Last but not least you have to add attributes or classes to the table, th and td tags.
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM