#################################################################
## Mod Title: At a glance (recent news and/or topics)
## Mod Version: 2.0.0
## Author: blulegend
## Description: Show latest news and recent topics on any page.
## Customizable to show only news, only recent topics,
## or both. Will check the authorization of users
## and only show allowed topics.
##
## - You can also customize the bullet for each topic.
## - Supports authorization and message tracking.
## - Uses templates.
##
## Installation Level: Easy.
## Installation Time: 5 Minutes
## Files To Edit: 2
## Included Files: 2 (glance.php, glance_body.tpl)
#################################################################
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites
#################################################################
##
## Author Notes:
## There is no demo I can provide for this MOD.
## Should be easy enough to try out. Looks like the one
## at
www.phpbb.com
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
1. Open glance_config.php to set your preferences.
2. Copy glance.php and glance_config.php to your forum root directory.
3. Copy glance_body.tpl to templates/subSilver (or your own template directory)
4. Do the following:
#
#-----[ OPEN any page you want it on (.php) ]------------------------------
#
#
#-----[ FIND ]-----------------------------------
#
//
// Generate the page
//
$template->pparse('body');
#
#-----[ BEFORE, ADD ]-----------------------------------
#
include($phpbb_root_path . 'glance.'.$phpEx);
#
#-----[ OPEN corresponding template file (.tpl) ]------------------------------
#
#
#-----[ ADD anywhere you want the box ]-----------------------------------
#
{GLANCE_OUTPUT}
#
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------
# EoM