代碼: 選擇全部
##############################################################
## MOD Title: pafiledb integration
## MOD Version: 0.0.9c
## MOD Author: squall < mohdalbasri@yahoo.com > (Mohammed Al-Basri) www.mohd.tk
## MJ < mj@phpbbfm.net > www.phpbbfm.com
## MOD Description: Integration of pafiledb (Database download manager) with phpbb.
## pafiledb use header, footer, session, template, and database system
## of phpbb.
## Only for phpBB 2.0.4!
##
## Installation Level: (easy)
## Installation Time: 10-15 Minutes
## Files To Edit (10) : admin/index.php
## includes/constant.php
## admin/admin_db_utilities.php
## includes/page_header.php,
## language/lang_english/lang_main.php,
## templates/subSilver/admin/page_header.tpl,
## templates/subSilver/overall_header.tpl,
## templates/subSilver/subSilver.cfg
##
## Included Files: dload.php,
## admin/admin_pa_catauth.php
## admin/admin_pa_category.php,
## admin/admin_pa_custom.php,
## admin/admin_pa_file.php,
## admin/admin_pa_license.php,
## admin/admin_pa_settings.php,
## language/*/lang_admin_pafiledb.php
## language/*/lang_pafiledb.php
## pafiledb/*.*,
## templates/subSilver/pa_*.tpl ( 18 )
## templates/subSilver/admin/pa_*.tpl ( 19 )
## templates/subSilver/images/icon_mini_download.gif
## templates/subSilver/images/lang_english/icon_pa_*.gif ( 9 )
##
##
##############################################################
##############################################################
## 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 Note:
## follow all the instruction below first then upload and run from your browser,
## pafiledb/docs/pafiledb_installer.php (choose new installation) and if you have the table already installed,
## you won't need to change anything in them except that you won't need the admin table
## since you are going to use ACP.
##
## Create and CHMOD (0777) THE FOLLOWING DIRECTORIES:
## - pafiledb/uploads/
## - pafiledb/cache/
## - pafiledb/cache/templates/subSilver/
## - pafiledb/cache/templates/subSilver/admin
## - pafiledb/images/screenshots/
##
## Change History:
## 0.0.9 : ADD/Fixed:
## - THE WHOLE MOD IS RE WRITIEN
## - ADDED ALOT OF FEATURE
## - FIXING ALOT OF SECURITY BUGS
## 0.0.8 : Added/Fixed:
## - Fixed the global varaible problem. (you don't have to set global var to on)
## - Changed the whole coding structure in all file.
## - Comment viewing like the viewtopic.
## - Added the file checker feature (beware if this one or you will end up erasing all file.)
## - Changed some images and included them into templates/*/images/ folder.
## - Main Templates cleaned up, added clickable folder icons.
## - Fixed bug with category sort feature.
## - Added edit download count when editing file.
## - Added Dutch, German and Italian language support .
##
## 0.0.7 : Added/Fixed:
## - Fixed bug with screen shot upload.
## - Fixed bug with templates in ACP.
## - Removed Variable $str found in search.php.
## - Changed directory for images and icons.
## - Changed all url and action to append_sid.
##
## 0.0.6 : Added/Fixed:
## - Backupdb & restore to phpBB forum backup style
## - Changed tables to phpbb style
## - Show screenshots as image instead of link. (you may choose now either links or image).
## - Long Description - Multiple line text area.
## - Replaced pafiledb language with phpbb.
## - Unlimited subCategories.
## - Added Upload Screenshot feature (there is a small bugs on it)
## - Added Disable "View All" link
## - Added Disable Database feature
## - comment feature (only registered users can post)
## - Email is using phpBB class emailer.
## - New File indicator you can now set the number of day to show that the file is new
## - Added toplist file (you can now specify number of file that in toplist.
## - Removed the following bugs:
## * Replaced pafiledb Time Zone with phpbb.
## * Replaced pafiledb Language with phpbb.
## * Email fields can be left blank, but confirmation of email sent is returned.
## * Custom Field data not reading from db
## * Time on posted comment
## * Edit file (ACP), sub-cats & files not showing
## * Backup Database screwed
## * removing some un needed row from setting table like language and style.
## * fixing the problem of jumpmenu fix in pafiledb.php file because file send the $str instead of $lang
## * 'Comment Explain' text missing
## * Title on posted comment
## * max_comment_chars field in _settings table missing
## * Javascript error when posting or previewing comment
## * Email not actually sending to address ??? (Not for me anyway!)
## * Time on file page
##
## 0.0.5 : - Re-packing of all working files
## - Changed paFileDB_installer.php
##
## 0.0.4 : Fixed:
## - {dbname} showing in the email instead of the variable that should replace it.
## - Uploaded file not returning full URL.
## - Replaced pafiledb Time Zone with phpbb.
## - Email fields can be left blank, but confirmation of email sent is returned
## - Fixed sort for viewall.. (sort according to rating not yet due to php version)
## - Custom Field data not reading from db
## - Added support for view online when some one in download page.
##
## 0.0.3 : - Fixed the editing file bug in ACP
## - Fixed the the file in sub category bug.
## - Fixed the uploading file url bug when uploading
## - Changed message after rating or e-mail sending
## - Made copywrite with phpbb copywrite only if you are in download database
##
## 0.0.2 : All templates made to fit phpBB default, clean up of code.
##
## 0.0.1 : First release, I need just to modify the *.tpl file in admin
## section.
##
##############################################################
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
demo:http://www.rokk.us/phpBB/dload.php
這個模組是整合pafiledb跟phpbb功能的一個強大的下載模組
作者已經將pafiledb0.08整個改寫架構,所以用過0.08版的不用擔心
比之前的版本好太多了@@"
可在分區內設定下載權限(後台控制畫面跟版面權限類似)
並可由使用者上傳檔案,再經由後台核準。
總之是個強大的下載模組。
竹貓這都沒看到人發表出來,所以小弟就獻醜了

我只有翻譯語系檔而已,有些scipt上的英文我還沒去改。
感謝竹子大提供中文圖檔,我已經包起來了^^"
歡迎至本站討論此模組,讓他更加完美@@!!
http://www.rokk.us/phpBB/viewforum.php?f=6