1 頁 (共 1 頁)

[問題]看不懂安裝術語~"~

發表於 : 2003-12-19 23:54
andyexex
------[REPLACE ALL BETWEEN]------

------[AND]------

------[WITH]------


這些什麼意思阿@@"

發表於 : 2003-12-19 23:56
------[替換中間全部]------

------[和]------

------[跟]------

Re: [問題]看不懂安裝術語~"~

發表於 : 2003-12-20 00:02
寒冰軒
andyexex 寫:------[REPLACE ALL BETWEEN]------

------[AND]------

------[WITH]------


這些什麼意思阿@@"
http://www.otek.com.tw/newotek/Tch_TWOnline_Trial.htm

安裝時看不懂的英文我都會到這兒先查一下
還不錯用啦\r
因為英文不好所以嚕~ 找點工具來幫忙

發表於 : 2003-12-20 00:16
andyexex
那這段是要怎麼做?
[php]<?php
------[FIND]------
//start of display-items

------[REPLACE ALL BETWEEN]------
//start of display-items
------[AND]------
//
// Note! The order used for parsing the message _is_ important, moving things around could break any
// output
//

------[WITH]------
$gsql = "select * from " . CONFIG_TABLE . " where config_name='viewtopic'";
if ( !($gresult = $db->sql_query($gsql)) )
{
message_die(CRITICAL_ERROR, 'ERROR: Getting Global Variables!');
}
$grow = mysql_fetch_array($gresult);
if ($grow['config_value'] == images)
{
$itempurge = str_replace("?, "", $postrow[$i]['user_items']);
$itemarray = explode('?,$itempurge);
$itemcount = count ($itemarray);
$user_items = "<br>";
for ($xe = 0;$xe < $itemcount;$xe++)
{
if ($itemarray[$xe] != NULL)
{
if (file_exists("shop/images/".$itemarray[$xe].".jpg"))
{
$user_items .= " <img src=\"shop/images/$itemarray[$xe].jpg\" title=\"$itemarray[$xe]\" alt=\"$itemaray[$xe]\">";
}
elseif (file_exists("shop/images/".$itemarray[$xe].".gif"))
{
$user_items .= " <img src=\"shop/images/$itemarray[$xe].gif\" title=\"$itemarray[$xe]\" alt=\"$itemaray[$xe]\">";
}
}
}
}
$ususername = $postrow[$i]['username'];
$usernameurl = append_sid("shop.".$phpEx."?action=inventory&searchname=".$ususername);

$usql = "select user_privs, user_effects from " . USERS_TABLE . " where username='$ususername'";
if ( !($uresult = $db->sql_query($usql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Getting User Info!'); }
$urow = mysql_fetch_array($uresult);
$usereffects = explode("?, $urow['user_effects']);
$userprivs = explode("?, $urow['user_privs']);
$userbs = array();
$usercount = count($userprivs);
for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("?, $userprivs[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }
$usercount = count($usereffects);
for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("?, $usereffects[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }
$sql = "select config_value from " . CONFIG_TABLE . " where config_name='specialshop'";
if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Getting Item Info!'); }
$row = mysql_fetch_array($result);
$shoparray = explode("?, $row['config_value']);
$shoparraycount = count ($shoparray);
$shopstatarray = array();
for ($x = 0; $x < $shoparraycount; $x++)
{
$temparray = explode("?, $shoparray[$x]);
$shopstatarray[] = $temparray[0];
$shopstatarray[] = $temparray[1];
}
if (($userbs[10] == on) && ($shopstatarray[12] == on)) { $poster = "<font color=\"".$userbs[11]."\">".$poster."</font>"; }
if ((($userbs[12] == on) && ($shopstatarray[14] == on)) || (($userbs[14] == on) && ($shopstataray[16] = on))) {
$nameeffects = "<span style=\"width:100";
if (($userbs[12] == on) && ($shopstatarray[14] == on)) { $nameeffects .= "; filter:shadow(color=#".$userbs[13].", strength=5)"; }
if (($userbs[14] == on) && ($shopstatarray[16] == on)) { $nameeffects .= "; filter:glow(color=#".$userbs[15].", strength=5)"; }
$nameeffects .= "\">".$poster."</span>";
$poster = $nameeffects;
}
if (($shopstatarray[6] == on) && ($userbs[2] != on) && ($poster_rank != "Site Admin")) { $poster_avatar = ""; }
if (($shopstatarray[8] == on) && ($userbs[4] != on) && ($poster_rank != "Site Admin")) { $user_sig = ""; }
if (($shopstatarray[10] == on) && ($userbs[6] != on) && ($poster_rank != "Site Admin")) { $poster_rank = "None"; $rank_image = ""; }

?>[/php]

我只知道先尋找到 //start of display-items
然後其他的我都看不懂怎麼處理耶~"~

發表於 : 2003-12-20 00:26
mit
用------[WITH]------ 以下那一堆東西
取代要修改的檔案中\r
//start of display-items

//
// Note! The order used for parsing the message _is_ important, moving things around could break any
// output
//

中間所有的程式碼。

懂嗎?加油 ;-)

發表於 : 2003-12-20 00:40
andyexex
收到,我會努力的^^y

發表於 : 2003-12-20 01:21
依夢兒
建議你先看一看這一篇:
http://phpbb-tw.net/phpbb/viewtopic.php?t=19308