[問題]關於【繁體付費文章--三合一包包(含最新修正)】
版主: 版主管理群
[問題]關於【繁體付費文章--三合一包包(含最新修正)】
問題外掛:繁體付費文章--三合一包包(含最新修正)
參考連結:搜尋字串 "繁體付費文章--三合一包包(含最新修正)"
使用版本:Phpbb 2.0.10
MOD:CashMod221、multi_bbc_1-2-1a、
Advanced_Hide_Post_1.1.0.1b_big5
修正昇級應該不用掛吧!@@因為是CashMod221!
[修正昇級]進階隱藏 for CashMod2 1.0.4.txt
狀況描述: 回復、付費等等...都完全沒有作用!我已在論壇中
找到非常多的相關文章但都找不到我要找的!@@
所以不得不來問問大大們!我試了很久了!而且沒
有出現任何的Debug Mode!所以我真的找不出問
題到底是在那裡!請大大幫幫小弟我吧!
參考連結:搜尋字串 "繁體付費文章--三合一包包(含最新修正)"
使用版本:Phpbb 2.0.10
MOD:CashMod221、multi_bbc_1-2-1a、
Advanced_Hide_Post_1.1.0.1b_big5
修正昇級應該不用掛吧!@@因為是CashMod221!
[修正昇級]進階隱藏 for CashMod2 1.0.4.txt
狀況描述: 回復、付費等等...都完全沒有作用!我已在論壇中
找到非常多的相關文章但都找不到我要找的!@@
所以不得不來問問大大們!我試了很久了!而且沒
有出現任何的Debug Mode!所以我真的找不出問
題到底是在那裡!請大大幫幫小弟我吧!
換Advanced_Hide_Post 1.0.2 的版本試看看吧 我裝這個三合一包包也是相同的情況
http://www.starryhometown.com/Starry_Fo ... =1612#1612
http://0928.adsldns.org/phpbb2/viewtopi ... =1370#1370
http://www.starryhometown.com/Starry_Fo ... =1612#1612
http://0928.adsldns.org/phpbb2/viewtopi ... =1370#1370
-.-
應該是沒有吧 這個外掛的作者都有說到 1.0.2本版並不是他自己釋出的
http://roc.l2p.net/viewtopic.php?t=12
http://roc.l2p.net/viewtopic.php?t=12
1.0.2 釋出的 → http://www.ioptional.com/shi 寫:I'm sorry, and this version is not released by me. Have you tried to ask Ray?
-.-
-
- 星球公民
- 文章: 84
- 註冊時間: 2004-06-03 23:12
- 來自: Starry Recollection
- 聯繫:
Re: [問題]關於【繁體付費文章--三合一包包(含最新修正)】
我是可以用....但只可用user_points / user_money 其中一樣....liu885 寫:問題外掛:繁體付費文章--三合一包包(含最新修正)
參考連結:搜尋字串 "繁體付費文章--三合一包包(含最新修正)"
使用版本:Phpbb 2.0.10
MOD:CashMod221、multi_bbc_1-2-1a、
Advanced_Hide_Post_1.1.0.1b_big5
修正昇級應該不用掛吧!@@因為是CashMod221!
[修正昇級]進階隱藏 for CashMod2 1.0.4.txt
狀況描述: 回復、付費等等...都完全沒有作用!我已在論壇中
找到非常多的相關文章但都找不到我要找的!@@
所以不得不來問問大大們!我試了很久了!而且沒
有出現任何的Debug Mode!所以我真的找不出問
題到底是在那裡!請大大幫幫小弟我吧!
沒關係啦\r神川小羽 寫:如果在能力之內 能幫你解答 當然是盡我所能 只是總要來點線索吧 沒有錯誤訊息\rb700615 寫:我裝的神羽大大的版本後
還是出現我上次發表的那個問題^^"
可否請神羽大大再幫忙解答^^
也沒有提供連結 這連要用猜的都有困難 而且這個Advanced_Hide_Post 修改的檔案
又多步驟又長 ....
謝謝大大的幫忙
我再看看最後一次\r
如果真的有問題的話可能就有可能是這個外掛本身的問題了吧^^
可否請神羽大大\r
告訴我
安裝好後
後台要怎麼設定
我知道的基本設置裡面可以設定
但是關於裡面的細項
請神羽大大幫個忙吧^^
我用的是CASH MOD 2.2.1
資料庫裡有一個貨幣的名稱是user_seal
我也發現了一個問題
裝3合1包的時候如果有把他內含的[修正昇級]進階隱藏 for CashMod2 1.0.4.txt
裝進去後就不能使用囉
但是如果沒有裝的話好像只能使用隱藏文章的選項
[修正昇級]進階隱藏 for CashMod2 1.0.4.txt內容如下
如果加上這個的話會有付費觀看文章的選項
但是不能用\r
是否是哪裡出問題了??
裝3合1包的時候如果有把他內含的[修正昇級]進階隱藏 for CashMod2 1.0.4.txt
裝進去後就不能使用囉
但是如果沒有裝的話好像只能使用隱藏文章的選項
[修正昇級]進階隱藏 for CashMod2 1.0.4.txt內容如下
代碼: 選擇全部
#
#-----[ SQL ]------------------------------------------
#
# 您也可以把 ahp_4_cashMOD_db_install.php 上載到您的論壇根目錄裡,再從
# 瀏覽器裡執行它來進行數據庫的更新
ALTER TABLE phpbb_cash
ADD cash_max_sellingprice INT DEFAULT '0' NOT NULL ,
ADD cash_min_sellingprice INT DEFAULT '1' NOT NULL ,
ADD cash_max_fortunerequired INT DEFAULT '0' NOT NULL ,
ADD cash_min_fortunerequired INT DEFAULT '1' NOT NULL ;
#
#-----[ OPEN ]--------------------------------------------
#
posting.php
#
#-----[ FIND ]--------------------------------------------
#
case CASH_TYPE_CASHMOD2:
if (!$board_config['cash_disabled'])
{
$sql = 'SELECT cash_id, cash_dbfield, cash_name, cash_before, cash_image, cash_imageurl, cash_max_sellingprice, cash_min_sellingprice, cash_max_fortunerequired, cash_min_fortunerequired
FROM ' . CASH_TABLE . ' WHERE cash_enabled ORDER BY cash_order ASC';
if ( $result = $db->sql_query($sql) )
{
while ( $row = $db->sql_fetchrow($result) )
{
$cash_name[] = $row['cash_name'];
$cash_field_name[] = $row['cash_dbfield'];
$cash_id[] = $row['cash_id'];
$cash_prefix[] = $row['cash_before'] <> 0;
$cash_img = $row['cash_image'];
$cash_imgurl = $row['cash_imageurl'];
$cash_min_sell[] = intval($row['cash_min_sellingprice']);
$cash_max_sell[] = intval($row['cash_max_sellingprice']);
$cash_min_fortune[] = intval($row['cash_min_fortunerequired']);
$cash_max_fortune[] = intval($row['cash_max_fortunerequired']);
}
}
}
#
#-----[ REPLACE WITH ]--------------------------------------------
#
case CASH_TYPE_CASHMOD2:
if (!$board_config['cash_disabled'])
{
while ( $c_cur = &$cash->currency_next($cash_id,CURRENCY_ENABLED) )
{
$cash_name = $c_cur->name();
$cash_field_name = $c_cur->db();
$is_prefix = $c_cur->mask(CURRENCY_PREFIX);
$max_min['max_price'] = $c_cur->cashmaxsellingprice();
$max_min['min_price'] = $c_cur->cashminsellingprice();
$max_min['max_fortune'] = $c_cur->cashmaxfortunerequired();
$max_min['min_fortune'] = $c_cur->cashminfortunerequired();
}
}
#
#-----[ OPEN ]--------------------------------------------
#
includes/functions_hide.php
#
#-----[ FIND ]------------------------------------------
#
global $board_config
#
#-----[ IN-LINE FIND ]------------------------------------------
#
;
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, $cash
#
#-----[ FIND ]--------------------------------------------
#
case CASH_TYPE_CASHMOD2:
if (!$board_config['cash_disabled'])
{
$sql = 'SELECT cash_dbfield, cash_name, cash_image, cash_imageurl, cash_before, cash_max_sellingprice, cash_min_sellingprice, cash_max_fortunerequired, cash_min_fortunerequired FROM ' . CASH_TABLE . ' WHERE cash_enabled<>0 AND cash_id=' . $cash_id;
if ( ($result = $db->sql_query($sql)) && ($db->sql_numrows($result)) )
{
$row = $db->sql_fetchrow($result);
$cash_name = $row['cash_image'] ? '<img src="' . $row['cash_imageurl'] . '" alt="' . $row['cash_name'] . '">' : $row['cash_name'];
$cash_field_name = $row['cash_dbfield'];
$is_prefix = $row['cash_before'] <> 0;
$max_min['max_price'] = $row['cash_max_sellingprice'] ? $row['cash_max_sellingprice'] : intval($board_config['max_sellingprice']);
$max_min['min_price'] = $row['cash_min_sellingprice'] ? $row['cash_min_sellingprice'] : intval($board_config['min_sellingprice']);
$max_min['max_fortune'] = $row['cash_max_fortunerequired'] ? $row['cash_max_fortunerequired'] : intval($board_config['max_fortunerequired']);
$max_min['min_fortune'] = $row['cash_min_fortunerequired'] ? $row['cash_min_fortunerequired'] : intval($board_config['min_fortunerequired']);
}
}
#
#-----[ REPLACE WITH ]--------------------------------------------
#
case CASH_TYPE_CASHMOD2:
if (!$board_config['cash_disabled'])
{
while ( $c_cur = &$cash->currency_next($cm_i,CURRENCY_ENABLED) )
{
$c_cur = $cash->currency($cash_id);
$cash_name = $c_cur->name();
$cash_field_name = $c_cur->db();
$is_prefix = $c_cur->mask(CURRENCY_PREFIX);
$max_min['max_price'] = $c_cur->cashmaxsellingprice();
$max_min['min_price'] = $c_cur->cashminsellingprice();
$max_min['max_fortune'] = $c_cur->cashmaxfortunerequired();
$max_min['min_fortune'] = $c_cur->cashminfortunerequired();
}
}
#
#-----[ OPEN ]--------------------------------------------
#
admin/cash_settings.php
#
#-----[ FIND ]--------------------------------------------
#
'cash_allowancetime' => 'int'
#
#-----[ AFTER, ADD ]--------------------------------------------
#
, 'cash_max_sellingprice' => 'float', 'cash_min_sellingprice' => 'float', 'cash_max_fortunerequired' => 'float', 'cash_min_fortunerequired' => 'float'
#
#-----[ FIND ]--------------------------------------------
# ps:找到的會缺最後的那個" , " 這是作者的錯誤嗎?
"ALLOWANCE_NEXT" => $allowances_next,
#
#-----[ AFTER, ADD ]--------------------------------------------
#
"MAX_PRICE" => $c_cur->cashmaxsellingprice(),
"MIN_PRICE" => $c_cur->cashminsellingprice(),
"MAX_FORTUNE" => $c_cur->cashmaxfortunerequired(),
"MIN_FORTUNE" => $c_cur->cashminfortunerequired(),
#
#-----[ OPEN ]--------------------------------------------
#
includes/functions_cash.php
#
#-----[ FIND ]--------------------------------------------
#
function allowanceamount()
{
return $this->currency['cash_allowanceamount']/$this->factor();
}
#
#-----[ AFTER, ADD ]--------------------------------------------
#
function cashmaxsellingprice()
{
return $this->currency['cash_max_sellingprice']/$this->factor();
}
function cashminsellingprice()
{
return $this->currency['cash_min_sellingprice']/$this->factor();
}
function cashmaxfortunerequired()
{
return $this->currency['cash_max_fortunerequired']/$this->factor();
}
function cashminfortunerequired()
{
return $this->currency['cash_min_fortunerequired']/$this->factor();
}
#
#-----[ OPEN ]--------------------------------------------
#
templates/subSilver/admin/cash_settings.tpl
#
#-----[ FIND ]--------------------------------------------
#
<tr>
<td class="row1">{L_CASH_ALLOWANCE_NEXT}</td>
<!-- BEGIN cashrow -->
<td class="row2">{cashrow.ALLOWANCE_NEXT}</td>
<!-- END cashrow -->
</tr>
#
#-----[ AFTER, ADD ]--------------------------------------------
#
<tr>
<th class="thHead" colspan="{NUM_COLUMNS}">{L_HIDE_POST}</th>
</tr>
<tr>
<td class="row1">{L_MAX_SELLINGPRICE}<br /><span class="gensmall">{L_MAX_PRICE_EXPLAIN}</span></td>
<!-- BEGIN cashrow -->
<td class="row2"><input class="post" type="text" maxlength="10" size="10" name="cash_{cashrow.CASH_INDEX}[cash_max_sellingprice]" value="{cashrow.MAX_PRICE}" /></td>
<!-- END cashrow -->
</tr>
<tr>
<td class="row1">{L_MIN_SELLINGPRICE}<br /><span class="gensmall">{L_MIN_PRICE_EXPLAIN}</span></td>
<!-- BEGIN cashrow -->
<td class="row2"><input class="post" type="text" maxlength="10" size="10" name="cash_{cashrow.CASH_INDEX}[cash_min_sellingprice]" value="{cashrow.MIN_PRICE}" /></td>
<!-- END cashrow -->
</tr>
<tr>
<td class="row1">{L_MAX_FORTUNEREQUIRED}<br /><span class="gensmall">{L_MAX_FORTUNE_EXPLAIN}</span></td>
<!-- BEGIN cashrow -->
<td class="row2"><input class="post" type="text" maxlength="10" size="10" name="cash_{cashrow.CASH_INDEX}[cash_max_fortunerequired]" value="{cashrow.MAX_FORTUNE}" /></td>
<!-- END cashrow -->
</tr>
<tr>
<td class="row1">{L_MIN_FORTUNEREQUIRED}<br /><span class="gensmall">{L_MIN_FORTUNE_EXPLAIN}</span></td>
<!-- BEGIN cashrow -->
<td class="row2"><input class="post" type="text" maxlength="10" size="10" name="cash_{cashrow.CASH_INDEX}[cash_min_fortunerequired]" value="{cashrow.MIN_FORTUNE}" /></td>
<!-- END cashrow -->
</tr>
<tr>
<td class="cat" colspan="{NUM_COLUMNS}" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" />
</td>
</tr>
但是不能用\r
是否是哪裡出問題了??