[求檔]請問誰有下載中心 (pafiledb)

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
w2812451
星球公民
星球公民
文章: 255
註冊時間: 2005-07-16 21:38

[求檔]請問誰有下載中心 (pafiledb)

文章 w2812451 »

我的不見了!誰可以提供!原檔案在幾個月前已經不能用了!請問哪個好心的大大有保留的是否可以提供!感謝~蠻需要的
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

[轉貼] pafiledb0.0.9d_tw.rar

文章 kljian »

這裡有你想要的! pafiledb0.0.9d_tw.rar
w2812451
星球公民
星球公民
文章: 255
註冊時間: 2005-07-16 21:38

文章 w2812451 »

要如何安裝~我沒看見說明檔阿= =
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

文章 kljian »

w2812451 寫:要如何安裝~我沒看見說明檔阿= =
在目錄 pafiledb\docs 底下有 install.txt 文字檔找一下!

代碼: 選擇全部

############################################################## 
## 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 
############################################################## 
# 
#-----[ COPY ]------------------------------------------ 
# 
copy dload.php to root 
copy admin/*.php to admin/ 
copy templates/subSilver/*.tpl to templates/subSilver/ 
copy templates/subSilver/images/*.gif to templates/subSilver/images
copy templates/subSilver/images/lang_english*.gif to templates/subSilver/images/lang_english
copy templates/subSilver/admin/*.tpl to templates/subSilver/admin/
copy pafiledb/*.* to pafiledb/
copy language/lang_english/* to language/lang_english/*

# 
#-----[ SQL ]------------------------------------------ 
# 

run pafiledb/docs/pafiledb_installer.php or pafiledb_mysql.sql

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/constants.php
# 
#-----[ FIND ]------------------------------------------ 
#
define('PAGE_GROUPCP', -11);
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#  
define('PAGE_DOWNLOAD', -12);

# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/index.php

# 
#-----[ FIND ]------------------------------------------ 
# 

//
// End functions
// -------------
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#  

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_pafiledb.' . $phpEx);
# 
#-----[ FIND ]------------------------------------------ 
# 

						case PAGE_FAQ:
							$location = $lang['Viewing_FAQ'];
							$location_url = "index.$phpEx?pane=right";
							break;
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#  

						case PAGE_DOWNLOAD:
							$location = $lang['Viewing_Download'];
							$location_url = "../dload.$phpEx";
							break;            
# 
#-----[ FIND ]------------------------------------------ 
# 

					case PAGE_FAQ:
						$location = $lang['Viewing_FAQ'];
						$location_url = "index.$phpEx?pane=right";
						break;
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#  

					case PAGE_DOWNLOAD:
						$location = $lang['Viewing_Download'];
						$location_url = "../dload.$phpEx";
						break;

# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/admin_db_utilities.php
# 
#-----[ FIND ]------------------------------------------ 
# 
	include('./page_footer_admin.'.$phpEx);
}
$tables = array('auth_access', 'banlist', 'categories'....

# 
#-----[ FIND IN LINE ]------------------------------------------ 
# 
'forums', 'forum_prune', 

# 
#-----[ ADD INTO LINE ]------------------------------------------ 
# 
'pa_cat', 'pa_comments', 'pa_custom', 'pa_customdata', 'pa_files', 'pa_license', 'pa_config', 'pa_votes', 'pa_download_info', 'pa_mirros',


# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/overall_header.tpl

# 
#-----[ FIND ]------------------------------------------ 
#  	
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
					<tr> 
						<td height="25" align="center" nowrap class="mainmenu" valign="top"> 
						&nbsp;<a href="{U_DOWNLOAD}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_download.gif" width="13" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" title="{PRIVATE_MESSAGE_INFO}" hspace="3" align="top" />{L_DOWNLOAD}</a>&nbsp; 
						</td>
					</tr>
# 
#-----[ OPEN ]------------------------------------------ 
# 

language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
#  	

$lang['FAQ'] = 'FAQ';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

$lang['Download'] = 'Download'; 

# 
#-----[ FIND ]------------------------------------------ 
#  	

$lang['Viewing_FAQ'] = 'Viewing FAQ';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

$lang['Viewing_Download'] = 'Viewing Download';


#-----[ OPEN ]------------------------------------------ 
# 

includes/page_header.php

# 
#-----[ FIND ]------------------------------------------ 
#  	

	'L_FAQ' => $lang['FAQ'],

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

	'L_DOWNLOAD' => $lang['Download'], 

# 
#-----[ FIND ]------------------------------------------ 
#  	

	'U_FAQ' => append_sid('faq.'.$phpEx),

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

	'U_DOWNLOAD' => append_sid('dload.'.$phpEx),

# 
#-----[ OPEN ]------------------------------------------ 
#

viewonline.php

# 
#-----[ FIND ]------------------------------------------ 
# 
				case PAGE_FAQ:
					$location = $lang['Viewing_FAQ'];
					$location_url = "faq.$phpEx";
					break;
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

				case PAGE_DOWNLOAD:
					$location = $lang['Viewing_Download'];
					$location_url = "dload.$phpEx";
					break;


# 
#-----[ OPEN ]------------------------------------------ 
#

templates/subSilver/subSilver.cfg

# 
#-----[ FIND ]------------------------------------------ 
# 
//
// Vote graphic length defines the maximum length of a vote result

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
$images['pa_search'] = "$current_template_images/{LANG}/icon_pa_search.gif";
$images['pa_stats'] = "$current_template_images/{LANG}/icon_pa_stats.gif";
$images['pa_toplist'] = "$current_template_images/{LANG}/icon_pa_toplist.gif";
$images['pa_upload'] = "$current_template_images/{LANG}/icon_pa_upload.gif";
$images['pa_viewall'] = "$current_template_images/{LANG}/icon_pa_viewall.gif";
$images['pa_download'] = "$current_template_images/{LANG}/icon_pa_download.gif";
$images['pa_rate'] = "$current_template_images/{LANG}/icon_pa_rate.gif";
$images['pa_email'] = "$current_template_images/{LANG}/icon_pa_email.gif";
$images['pa_comment_post'] = "$current_template_images/{LANG}/icon_pa_post_comment.gif";
$images['pa_file_new'] = "$current_template_images/icon_pa_new.gif";

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM  
主題已鎖定

回到「外掛問題討論」