############################################################## ## MOD Title: Photo Album Addon v2 for phpBB2 ## MOD Author: Smartor < smartor_xp@hotmail.com > (Hoang Ngoc Tu) http://smartor.is-root.com ## MOD Description: ## This is a phpBB-based photo album/gallery management system. ## It is really powerful, stable, efficient, rich features and highly customizable. ## The version 2 was written from the scratch for more security, performance, etc. ## It is not really a MOD/hack, it is rather a phpBB-based system :) ## ## Features: ## - Fully integrated with phpBB2 backend (DB, session, template, multi languages, etc.) ## - Powerful and handy AdminCP ## - Auto-generated thumbnail (require GD) ## - Manual-uploaded thumbnail (for someone cannot install GD) ## - Thumbnail cache (for better performance) ## - Multi-categories ## - Powerfull and phpBB-like permissions system ## - ModeratorCP ## - Upload Quota ## - Pic Description ## - Recent pics ## - Personal galleries (for member-oriented boards) ## - Rate system ## - Comment system ## - Hotlink prevention (can set allowed domains) ## - Auto optimization for different GD versions ## - Pic view counter ## - Admin/Moderator pic approval ## - Probably uploadable in PHP Safe Mode ## - The rest is for your exploring ;) ## ## Requirements: ## A running phpBB 2.0.x (of course - recommend the lastest version) ## GD 1.8.x - 2.0 or higher (require for auto-thumbnail - more detail at http://www.boutell.com/gd) ## HTTP File Upload Enabled (this MOD can work with PHP Safe-Mode in some cases) ## MySQL 3.23.x ## A basic ability to follow my instructions (read this file carefully by letter and follow step-by-step) ## ## Tested with: phpBB 2.0.4 - PHP4 (I recommend the up-to-date version) - MySQL 3.23.x ## ## MOD Version: 2.0.35 ## ## Installation Level: medium ## Installation Time: 15 minutes ## ## Files To Edit: 9 ## viewonline.php ## admin/index.php ## includes/constants.php ## includes/page_header.php ## includes/usercp_viewprofile.php ## language/lang_english/lang_main.php ## templates/subSilver/profile_view_body.tpl ## templates/subSilver/overall_header.tpl ## templates/subSilver/subSilver.cfg ## ## Included Files: 56 ## album.php ## album_cat.php ## album_comment.php ## album_comment_edit.php ## album_comment_delete.php ## album_delete.php ## album_edit.php ## album_modcp.php ## album_personal.php ## album_personal_index.php ## album_page.php ## album_pic.php ## album_rate.php ## album_thumbnail.php ## album_upload.php ## admin/admin_album_cat.php ## admin/admin_clearcache.php ## admin/admin_album_config.php ## admin/admin_album_moderators.php ## admin/admin_albim_personal.php ## album_mod/album_common.php ## album_mod/album_constants.php ## album_mod/album_functions.php ## images/nothumbnail.jpg ## language/lang_english/lang_admin_album.php ## language/lang_english/lang_main_album.php ## templates/subSilver/album_cat_body.tpl ## templates/subSilver/album_comment_body.tpl ## templates/subSilver/album_edit_body.tpl ## templates/subSilver/album_index_body.tpl ## templates/subSilver/album_modcp_body.tpl ## templates/subSilver/album_move_body.tpl ## templates/subSilver/album_page_body.tpl ## templates/subSilver/album_personal_body.tpl ## templates/subSilver/album_personal_index_body.tpl ## templates/subSilver/album_rate_body.tpl ## templates/subSilver/album_upload_body.tpl ## templates/subSilver/admin/album_auth_body.tpl ## templates/subSilver/admin/album_cat_body.tpl ## templates/subSilver/admin/album_cat_delete_body.tpl ## templates/subSilver/admin/album_cat_new_body.tpl ## templates/subSilver/admin/album_cat_select_body.tpl ## templates/subSilver/admin/album_config_body.tpl ## templates/subSilver/admin/album_personal_body.tpl ## templates/subSilver/images/icon_mini_album.gif ## templates/subSilver/images/lang_english/upload_pic.gif ## ############################################################## ## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ ############################################################## ## Author Notes: ## ## Special thanks to all my testers, translators and users :) ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # NOTE: (for upgrade from older versions) # # If you are using a version 1.5.x/1.6.x of Album you must read file update_v1_to_lastest.txt # # If you are using Album v1.0.x or older, sorry I have no guide to upgrade # # If you are using a older version of Album v2 you must read appropriate files in "update" directory # #-----[ OPEN ]------------------------------------------------------- # includes/constants.php # #-----[ FIND ]---------------------------------------- # if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } # #-----[ AFTER, ADD ]---------------------------------- # Don't worried! This file is very *lite* // Album MOD include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx); # #-----[ OPEN ]------------------------------------------------------- # includes/page_header.php # #-----[ FIND ]---------------------------------------- # 'U_GROUP_CP' => append_sid('groupcp.'.$phpEx), # #-----[ AFTER, ADD ]---------------------------------- # // Album MOD 'L_ALBUM' => $lang['Album'], 'U_ALBUM' => append_sid('album.'.$phpEx), # #-----[ OPEN ]------------------------------------------------------- # viewonline.php # #-----[ FIND ]---------------------------------------- # case PAGE_FAQ: $location = $lang['Viewing_FAQ']; $location_url = "faq.$phpEx"; break; # #-----[ AFTER, ADD ]---------------------------------- # case PAGE_ALBUM: $location = $lang['Album']; $location_url = "album.$phpEx"; break; # #-----[ OPEN ]------------------------------------------------------- # admin/index.php # #-----[ FIND ]---------------------------------------- # case PAGE_FAQ: $location = $lang['Viewing_FAQ']; $location_url = "index.$phpEx?pane=right"; break; # #-----[ AFTER, ADD ]---------------------------------- # case PAGE_ALBUM: $location = $lang['Album']; $location_url = "index.$phpEx?pane=right"; break; # #-----[ OPEN ]------------------------------------------------------- # also for other templates templates/subSilver/overall_header.tpl # #-----[ FIND ]---------------------------------------- #