[外掛]那位好心人可以帮我?

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

版主: 版主管理群

主題已鎖定
jikey
星球公民
星球公民
文章: 90
註冊時間: 2003-09-18 00:49

[外掛]那位好心人可以帮我?

文章 jikey »

代碼: 選擇全部

############################################### 
##   Hack Title:   db_update generator 
##   Hack Version:   1.0.2 
##   Author:      Freakin' Booty ;-P & Antony Bailey 
##   Description:  Creates a form into which you enter your SQL and a db_update.php file is then created. You can
##		   either copy/paste the file, or download it onto your computer. 
##   Compatibility:  2.0.6 
## 
##   Installation Level: Easy 
##   Installation Time: 2 minutes
##   Files To Edit: 1
##      language/lang_english/lang_main.php
##
##   Included Files: 5
##      db_generator.php
##      admin/admin_db_generator.php
##      language/lang_english/db_generator.tpl
##      templates/subSilver/db_generator_body.tpl
##      templates/subSilver/admin/admin_db_generator.tpl
## 
##	History:
##	0.0.1:	Initial code.
##	0.0.2:	Template fixed up and a few new bits added.
##	0.0.3:	Language variables added to language files, make it easier for translation.
##	0.0.4:	Added the possibility to download the db_update.php file - mainly to add ease-of-use and to prevent
##		people getting "headers already sent" errors. You can now specify your own table prefix - needed if
##		the generator is not on your own server.
##	0.0.5:	Fixed one language variable in the template.
##	0.0.6:	The default table prefix is now added in the field by default.
##	0.0.7:  The default table prefix, is now pulled from your phpBB config.php file, making the utility easier for a user.
##	0.0.8:	Cleaned up the db_update.php template.
##	0.0.8:	Added the admin panel option.
##	0.0.9:	Fixed a little spelling error.
##	0.1.0:	The table prefix is no longer retrieved from your forum, nor are you able to put it in. However,
##		the default prefix in the SQL you enter, will be replaced with an equivalent that enables you to use it
##		on any phpBB, regardless of the table prefix used there.
##		Fixed up the code a little, for it to be more efficient.
##      1.0.0:  Fixed admin bug. And taken to 1.0.0 for release. Change copyright link to sourceforge.net
##      1.0.1:  Updated RapidDr3am.SlackSlash.net to RapidDr3am.net
##      1.0.2:  Fixed a parse error my mistake thanks Kipper. ;)
## 
##   Author Notes: 
##      Notes. 
## 
##   Support:      http://www.phpbbsupport.co.uk 
##   Copyright:      ?003 db_update generator 1.0.2 - Freakin' Booty ;-P & Antony Bailey
## 
############################################### 
##   You downloaded this hack from phpBBSupport.co.uk, as such this is not a official phpBB hack. 
##   This means that support can not be found for this at phpBB.com, so please visit http://www.phpbbsupport.co.uk 
############################################### 
那位好心人可以帮我翻译这一小段。

代碼: 選擇全部

//
// db_update generator
//
$lang['Db_update_generator'] = 'db_update generator';
$lang['Instructions'] = 'Instructions';
$lang['SQL_instructions'] = 'This piece of software will create PHP files that will allow you to update your database using your browser. There are a few things you must look after when you insert an SQL in the box below.<br />First of all, make sure that every SQL query is ending with a semicolon (;). If not, the file created will be faulty. Next, ensure that the tables have the "phpbb_" prefix. This will automatically be replaced with a little piece of code that enabled you to use the db_update.php file on any forum regardless of what the table prefix is set to.';
$lang['Enter_SQL'] = 'Enter SQL';
$lang['Enter_SQL_explain'] = 'MySQL is the world\'s most popular open source database, recognized for its speed and reliability.';
$lang['Output_SQL'] = 'SQL Output';
$lang['Output_SQL_explain'] = 'Copy and paste the text from the textarea on the right into a blank file. Save the file as <u>db_update.php</u> and upload it to your server. Run it once by accessing with your browser.<br /><br />Alternatively, click the download button to download the file directly to your computer (recommended).';
$lang['Download'] = 'Download';
谢谢~~~感恩~~~
寒冰軒
竹貓忠實會員
竹貓忠實會員
文章: 417
註冊時間: 2003-11-06 23:24
來自: 阿婆A灶腳
聯繫:

Re: [外掛]那位好心人可以帮我?

文章 寒冰軒 »

jikey 寫:
那位好心人可以帮我翻译这一小段。

代碼: 選擇全部

//
// db_update generator
//
$lang['Db_update_generator'] = 'db_update generator';
$lang['Instructions'] = 'Instructions';
$lang['SQL_instructions'] = 'This piece of software will create PHP files that will allow you to update your database using your browser. There are a few things you must look after when you insert an SQL in the box below.<br />First of all, make sure that every SQL query is ending with a semicolon (;). If not, the file created will be faulty. Next, ensure that the tables have the "phpbb_" prefix. This will automatically be replaced with a little piece of code that enabled you to use the db_update.php file on any forum regardless of what the table prefix is set to.';
$lang['Enter_SQL'] = 'Enter SQL';
$lang['Enter_SQL_explain'] = 'MySQL is the world\'s most popular open source database, recognized for its speed and reliability.';
$lang['Output_SQL'] = 'SQL Output';
$lang['Output_SQL_explain'] = 'Copy and paste the text from the textarea on the right into a blank file. Save the file as <u>db_update.php</u> and upload it to your server. Run it once by accessing with your browser.<br /><br />Alternatively, click the download button to download the file directly to your computer (recommended).';
$lang['Download'] = 'Download';
谢谢~~~感恩~~~
這段應該是加到*php檔中的程式碼\r
安裝說明文件應該都有寫到\r
要安裝在那兒吧
~§ 架站系統:WindowsXP §~
~§ 架站程式:Appserv2.4.4a §~
~§ 使用網路:giga ADSL §~
~§ 安裝程式:Apache + php + MySql §~
~§ 論壇版本: 2.0.18 §~
申明檔
1.新手發問並不是可恥的事.可恥的是沒有按照發文規則及格式還裝做沒解決你的問題是我們的錯。
2.很樂意大家pm給我.或把我加入即時通.msn,但加入並不是代表小弟已成為您的私人看護
3.還是想不通嗎? 那可以到地下十八樓找你的答案。
[http://microduo.home99.tw/?fromuid=6331]微剋多資訊[/url]
主題已鎖定

回到「外掛問題討論」