[問題]Cash Mod 2.21安裝後產生怪現像??

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

版主: 版主管理群

主題已鎖定
krc
星球公民
星球公民
文章: 58
註冊時間: 2004-08-18 01:56
來自: 你心靈深處
聯繫:

[問題]Cash Mod 2.21安裝後產生怪現像??

文章 krc »

Cash Mod 2.21外掛來源:http://phpbb-tw.net/phpbb/viewtopic.php?t=27163
三合一包包中的Cash Mod2.21版
在依照安裝說明檔cm_install_221安裝後
發現幣值的運算以及後台的顯示都怪怪的(如圖)
http://krc.myweb.hinet.net/1/99.jpg
不管我後台設發表文章及回覆文章每篇可得的數值\r
((以下為安裝說明檔詳細內文))

代碼: 選擇全部

## EasyMod 0.0.10 Compatible
############################################################## 
## MOD Title: Cash Mod
## MOD Author: Xore < mods@xore.ca > (Robert Hetzler) http://www.xore.ca
## MOD Description: Cash Mod for users to gain money/points by posting 
## MOD Version: 2.2.1
## 
## Installation Level: Intermediate
## Installation Time: 15 Minutes 
## Files To Edit: common.php
##                memberlist.php
##                posting.php
##                privmsg.php
##                profile.php
##                viewtopic.php
##                includes/functions.php
##                includes/functions_post.php
##                includes/usercp_viewprofile.php
##                templates/subSilver/memberlist_body.tpl
##                templates/subSilver/profile_view_body.tpl
##                templates/subSilver/viewtopic_body.tpl
## Included Files: cash.php
##                 admin/admin_cash.php
##                 admin/cash_config.php
##                 admin/cash_currencies.php
##                 admin/cash_events.php
##                 admin/cash_exchange.php
##                 admin/cash_forums.php
##                 admin/cash_groups.php
##                 admin/cash_help.php
##                 admin/cash_log.php
##                 admin/cash_recount.php
##                 admin/cash_reset.php
##                 admin/cash_settings.php
##                 includes/classes_cash.php
##                 includes/functions_cash.php
##                 language/lang_english/lang_cash.php
##                 templates/subSilver/cash_donate.tpl
##                 templates/subSilver/cash_exchange.tpl
##                 templates/subSilver/cash_modedit.tpl
##                 templates/subSilver/cash_viewprofile.tpl
##                 templates/subSilver/cash_viewtopic.tpl
##                 templates/subSilver/admin/cash_config.tpl
##                 templates/subSilver/admin/cash_currencies.tpl
##                 templates/subSilver/admin/cash_event.tpl
##                 templates/subSilver/admin/cash_events.tpl
##                 templates/subSilver/admin/cash_exchange.tpl
##                 templates/subSilver/admin/cash_forum.tpl
##                 templates/subSilver/admin/cash_group.tpl
##                 templates/subSilver/admin/cash_groups.tpl
##                 templates/subSilver/admin/cash_help.tpl
##                 templates/subSilver/admin/cash_log.tpl
##                 templates/subSilver/admin/cash_menu.tpl
##                 templates/subSilver/admin/cash_navbar.tpl
##                 templates/subSilver/admin/cash_reset.tpl
##                 templates/subSilver/admin/cash_resetting.tpl
##                 templates/subSilver/admin/cash_settings.tpl
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ 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/ 
############################################################## 
## Author Notes:
##
##     Please read the README.txt, there is
##          IMPORTANT & NECESSARY installation information there
##
##     Many thanks to everyone who has contributed, they can be found in
##          credits.txt
##     My apologies if i've missed anyone
##
############################################################## 
## MOD History:
## v2.2.1 Fixed a few minor bugs
## v2.2.0 A bundle of new features
## v2.0.2 Another Bug fix, plus help/support link.
## v2.0.1 A few bug fixes...
## v2.0.0 Multiple currencies, fixed log_actions mod incompatibility
##        And a bunch of other stuff ;-)
## v1.1.2 EasyMOD Compliance
## v1.1.1 Bug fix for admin panels
## v1.1.0 Forum management added, donations, admin editing, logging, quotes stripping
##        Renaming from MoneySystems to Cash Mod
## v1.0.1 SQL update, with quotes
## v1.0.0 First version release. no bugs, i hope :P
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
# 
#-----[ COPY ]------------------------------------------ 
#
copy cash.php                                      to cash.php
copy admin/admin_cash.php                          to admin/admin_cash.php
copy admin/cash_config.php                         to admin/cash_config.php
copy admin/cash_currencies.php                     to admin/cash_currencies.php
copy admin/cash_events.php                         to admin/cash_events.php
copy admin/cash_exchange.php                       to admin/cash_exchange.php
copy admin/cash_forums.php                         to admin/cash_forums.php
copy admin/cash_groups.php                         to admin/cash_groups.php
copy admin/cash_help.php                           to admin/cash_help.php
copy admin/cash_log.php                            to admin/cash_log.php
copy admin/cash_recount.php                        to admin/cash_recount.php
copy admin/cash_reset.php                          to admin/cash_reset.php
copy admin/cash_settings.php                       to admin/cash_settings.php
copy includes/classes_cash.php                     to includes/classes_cash.php
copy includes/functions_cash.php                   to includes/functions_cash.php
copy language/lang_english/lang_cash.php           to language/lang_english/lang_cash.php
copy templates/subSilver/cash_donate.tpl           to templates/subSilver/cash_donate.tpl
copy templates/subSilver/cash_exchange.tpl         to templates/subSilver/cash_exchange.tpl
copy templates/subSilver/cash_modedit.tpl          to templates/subSilver/cash_modedit.tpl
copy templates/subSilver/cash_viewprofile.tpl      to templates/subSilver/cash_viewprofile.tpl
copy templates/subSilver/cash_viewtopic.tpl        to templates/subSilver/cash_viewtopic.tpl
copy templates/subSilver/admin/cash_config.tpl     to templates/subSilver/admin/cash_config.tpl
copy templates/subSilver/admin/cash_currencies.tpl to templates/subSilver/admin/cash_currencies.tpl
copy templates/subSilver/admin/cash_event.tpl      to templates/subSilver/admin/cash_event.tpl
copy templates/subSilver/admin/cash_events.tpl     to templates/subSilver/admin/cash_events.tpl
copy templates/subSilver/admin/cash_exchange.tpl   to templates/subSilver/admin/cash_exchange.tpl
copy templates/subSilver/admin/cash_forum.tpl      to templates/subSilver/admin/cash_forum.tpl
copy templates/subSilver/admin/cash_group.tpl      to templates/subSilver/admin/cash_group.tpl
copy templates/subSilver/admin/cash_groups.tpl     to templates/subSilver/admin/cash_groups.tpl
copy templates/subSilver/admin/cash_help.tpl       to templates/subSilver/admin/cash_help.tpl
copy templates/subSilver/admin/cash_log.tpl        to templates/subSilver/admin/cash_log.tpl
copy templates/subSilver/admin/cash_menu.tpl       to templates/subSilver/admin/cash_menu.tpl
copy templates/subSilver/admin/cash_navbar.tpl     to templates/subSilver/admin/cash_navbar.tpl
copy templates/subSilver/admin/cash_reset.tpl      to templates/subSilver/admin/cash_reset.tpl
copy templates/subSilver/admin/cash_resetting.tpl  to templates/subSilver/admin/cash_resetting.tpl
copy templates/subSilver/admin/cash_settings.tpl   to templates/subSilver/admin/cash_settings.tpl

# 
#-----[ SQL ]------------------------------------------
#
#   There is an automatic sql installer that works currently for mysql and mssql
#   It is neccessary to copy the file sql_install.php to your main phpbb directory and run it from there
#   After that, you want to delete the file immediately.
#
#   If you prefer to run the queries manually yourself, or to translate it to a different dbms
#   than mysql or mssql, the raw queries are located in sql_221.txt, but are only available for mysql.
#   I will try to include more dbms's for the installer for future releases, but nothing is guaranteed
#   at present
#

# 
#-----[ OPEN ]------------------------------------------ 
#
common.php

# 
#-----[ FIND ]------------------------------------------ 
# 
include($phpbb_root_path . 'includes/db.'.$phpEx);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
if ( defined('IN_CASHMOD') )
{
	include($phpbb_root_path . 'includes/functions_cash.'.$phpEx);
}

# 
#-----[ OPEN ]------------------------------------------ 
#
memberlist.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IN_CASHMOD', true);
define('CM_MEMBERLIST', true);

# 
#-----[ FIND ]------------------------------------------ 
# 
$select_sort_mode = '<select name="mode">';

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
$cm_memberlist->droplists($mode_types_text,$mode_types);

# 
#-----[ FIND ]------------------------------------------ 
# 
	default:

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	case $cm_memberlist->modecheck($mode):
		$order_by = $cm_memberlist->getfield($mode) . " $sort_order LIMIT $start, " . $board_config['topics_per_page'];
		break;

# 
#-----[ FIND ]------------------------------------------ 
# 
	ORDER BY $order_by";

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$cm_memberlist->generate_columns($template,$sql,8);

# 
#-----[ FIND ]------------------------------------------ 
# 
			'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id"))

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		);

		$cm_memberlist->listing($template,$row

# 
#-----[ OPEN ]------------------------------------------ 
#
posting.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IN_CASHMOD', true);
define('CM_POSTING', true);

# 
#-----[ FIND ]------------------------------------------ 
# 
		$sql = "SELECT f.*, t.topic_status, t.topic_title

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
t.topic_title

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
, t.topic_poster

# 
#-----[ FIND ]------------------------------------------ 
# 
		$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
		$temp = $submit;
		$submit = !(!$submit || ( isset($board_config['cash_disable']) && !$board_config['cash_disable'] && (($mode == 'editpost') || ($mode == 'delete'))));

# 
#-----[ FIND ]------------------------------------------ 
# 
		$where_sql = ( !$submit ) ? "AND pt.post_id = p.post_id AND u.user_id = p.poster_id" : '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		$submit = $temp;
		unset($temp);

# 
#-----[ FIND ]------------------------------------------ 
# 
		$post_data['poster_post'] = ( $post_info['poster_id'] == $userdata['user_id'] ) ? true : false;

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		$post_data['post_text'] = ( ($mode == 'editpost') || ($mode == 'delete') ) ? $post_info['post_text'] : '';
		$post_data['bbcode_uid'] = ( ($mode == 'editpost') || ($mode == 'delete') ) ? $post_info['bbcode_uid'] : '';

# 
#-----[ FIND ]------------------------------------------ 
# 
		$post_data['first_post'] = ( $mode == 'newtopic' ) ? true : 0;

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		$post_data['topic_poster'] = ( $mode == 'reply' ) ? $post_info['topic_poster'] : 0;

# 
#-----[ OPEN ]------------------------------------------ 
#
privmsg.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IN_CASHMOD', true);

# 
#-----[ FIND ]------------------------------------------ 
# 
				$emailer->reset();

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
			}
			$pmer = new cash_user($userdata['user_id'],$userdata);
			$pmer->give_pm_amount();
			while ( false ) {

# 
#-----[ OPEN ]------------------------------------------ 
#
profile.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
if ( (isset($HTTP_GET_VARS['mode']) && ($HTTP_GET_VARS['mode'] == 'viewprofile')) || (isset($HTTP_POST_VARS['mode']) && ($HTTP_POST_VARS['mode'] == 'viewprofile')) )
{
	define('IN_CASHMOD', true);
	define('CM_VIEWPROFILE',true);
}

# 
#-----[ OPEN ]------------------------------------------ 
#
viewtopic.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IN_CASHMOD', true);
define('CM_VIEWTOPIC', true);

# 
#-----[ FIND ]------------------------------------------ 
# 
	LIMIT $start, ".$board_config['posts_per_page'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$cm_viewtopic->generate_columns($template,$forum_id,$sql);

# 
#-----[ FIND ]------------------------------------------ 
# 
		'U_POST_ID' => $postrow[$i]['post_id'])

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	);

	$cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/functions.php

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

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
	if ( defined('IN_CASHMOD') )
	{
		if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.'.$phpEx)) )
		{
			include($phpbb_root_path . 'language/lang_english/lang_cash.' . $phpEx);
		}
		else
		{
			include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cash.' . $phpEx);
		}
	}

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 
	$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
	$cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);

# 
#-----[ FIND ]------------------------------------------ 
# 
	$message = $lang['Stored']

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$lang['Stored']


# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
 . '<br />' . $cash_message








# 
#-----[ FIND ]------------------------------------------ 
# 
		include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#        
		$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/usercp_viewprofile.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$template->pparse('body');
	
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
$cm_viewprofile->post_vars($template,$profiledata,$userdata);

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

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
	{L_POSTS}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# on the next line
#是說在   <th class="thTop" nowrap="nowrap">{L_POSTS}</th>  這一行換行!不是在{L_POSTS}換行
	  <!-- BEGIN cashrow -->
	  <th class="thTop" nowrap="nowrap">{cashrow.NAME}</th>
	  <!-- END cashrow -->

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
	 {memberrow.POSTS}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# on the next line
#注意!同上
	  <!-- BEGIN cashrow -->
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.cashrow.CASH_DISPLAY}</span></td>
	  <!-- END cashrow -->
\r
# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <td class="catBottom" colspan="8" height="28"> </td>
# 建議找colspan="
colspan="8"

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
8

# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
#
{NUM_COLUMNS}











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

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#		  <td> <b><span class="gen">{INTERESTS}</span></b></td>
# 
{INTERESTS}

# 
#-----[ FIND ]------------------------------------------ 
# (on the next line)
# 
		</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		{CASH}

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

# 
#-----[ FIND ]------------------------------------------ 
# 
{postrow.POSTER_FROM}

#
#-----[ IN-LINE FIND ]------------------------------------------ 
#
{postrow.POSTER_FROM}

# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#
<br />{postrow.CASH}

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 







*****************
附:
#(控制台顯示修正) 
# 
#-----[ OPEN ]------------------------------------------ 
# 
language/your language/lang_main.php 

# 
#-----[ FIND ]------------------------------------------ 
# 
// 
// That's all Folks! 
    
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
//Cash_MOD (fix by LERA X) 
$lang['Cash Mod'] = '虛擬貨幣系統'; 
$lang['Cash_Admin'] = '貨幣主控台'; 
$lang['Cash_Help'] = '幫助'; 
但test後發現,金額部份都比我設定的還要多
比如我設發文一篇為20,但test後卻為50~~~@@??
多的30那裡來的~~??

請問此部分請修正那邊的檔案呢?
test網址 :http://krc.idv.tw
111/111
~~目前架站環境~~
資料庫版本:appserv2.30 版
PHPBB版本:2.0.10中文正體版
作業系統:win xp 架立於E槽之下
網路環境:中華ADSL 2M/512K
krc
星球公民
星球公民
文章: 58
註冊時間: 2004-08-18 01:56
來自: 你心靈深處
聯繫:

文章 krc »

圖像空白處已修正完畢,但是............
幣值運算錯誤的部分~~~~~~~~~還沒解決
仍需請教各位大大
~~目前架站環境~~
資料庫版本:appserv2.30 版
PHPBB版本:2.0.10中文正體版
作業系統:win xp 架立於E槽之下
網路環境:中華ADSL 2M/512K
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

方便的話 麻煩把Cash Mod的主要功能下的基本設置內的
在發表/回覆確認畫面顯示賺取金額 勾選為 是\r
還有
會員賺取金額時顯示的訊息
其中必須包含一個"%s"
還有 有人提到這個三合一包包的Cash Mod 2.21有點小問題請看
http://phpbb-tw.net/phpbb/viewtopic.php?t=27163 可以順便改一下
在來 麻煩把您的細部設定下的 貨幣加減設定 裡面你的設定貼來看一下
-.-
krc
星球公民
星球公民
文章: 58
註冊時間: 2004-08-18 01:56
來自: 你心靈深處
聯繫:

文章 krc »

神羽大大,已照您所說的將贈予的說明開啟,
並且在三合一包漏掉的程式碼也已補上,
現行存在問題為幣值運算上的錯誤
後台幣值細部設定如圖
圖檔
自行測試結果,發文時系統會給予30,回覆時會給予20
跟後台設定的數字有明顯出入????why????多的錢那裡來的~~??~~地下錢莊嗎?

有請各位大大賜教....
~~目前架站環境~~
資料庫版本:appserv2.30 版
PHPBB版本:2.0.10中文正體版
作業系統:win xp 架立於E槽之下
網路環境:中華ADSL 2M/512K
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

看不出所以然耶~ 偶好遜的
http://www.phpbb.com/phpBB/viewtopic.php?t=94055
試試看拿正港的2.2.1的檔案覆蓋 不行的話 拆掉現在的 在使用 原裝的安裝文件修改
或者你有安裝其他會影響你現在設定的幣值的欄位的外掛嗎
-.-
krc
星球公民
星球公民
文章: 58
註冊時間: 2004-08-18 01:56
來自: 你心靈深處
聯繫:

文章 krc »

神羽大大\r
結果我把您給的路徑原始檔覆蓋貼過
結果還是一樣~~^^~
不管我設多少,貨幣給予的基本數都會再加30上去\r
所以只好以(-xx)來設定 ,xx為數字
免強還是能用啦~~^^~~這是好加在的地方~
因為貨幣的部份我沒有安裝過其他的版本or銀行
就是直接安裝三合一中的版本\r

不過還是謝謝神羽大大鼎力相助\r
順便請問一下各位大大,再來若要安裝銀行mod的話\r
,各位是否有比較推薦的銀行mod
因為我看非官方外掛中有很多的銀行mod都不能抓了~~ :roll:
~~目前架站環境~~
資料庫版本:appserv2.30 版
PHPBB版本:2.0.10中文正體版
作業系統:win xp 架立於E槽之下
網路環境:中華ADSL 2M/512K
dener
星球公民
星球公民
文章: 35
註冊時間: 2004-08-15 15:58

文章 dener »

水怪大陸完整板有銀行的mod\r
唯...貨幣必須名稱為user_money
○作業系統:Windows XP Pro
○快速架站:AppServ 2.4.0
○phpMyAdmin版本:2.6.0-rc1
○phpBB版本:2.0.13
○連線方式:2M/256K
○我的網站:http://220.134.150.72/
沒有全天候24小時開機,如找不到網頁請見諒:)
目前狀態,停機中
garyng818
星球普通子民
星球普通子民
文章: 6
註冊時間: 2004-09-08 17:11

[問題]我有問題呢!

文章 garyng818 »

為什麼我裝完mod2.2.1後, 無論進入viewtopic 還是 admin casd setting 也是白頁? 什麼也沒有, 我試過不修整viewtopic 的code, 它就沒有問題, 但如果改了這個code, 就看不到. admin 裡的情況也是一樣. 變了白頁
view topic 的 code 是這樣改的:

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------ 
#
viewtopic.php

# 
#-----[ FIND ]------------------------------------------ 
# 
define('IN_PHPBB', true);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IN_CASHMOD', true);
define('CM_VIEWTOPIC', true);

# 
#-----[ FIND ]------------------------------------------ 
# 
	LIMIT $start, ".$board_config['posts_per_page'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$cm_viewtopic->generate_columns($template,$forum_id,$sql);

# 
#-----[ FIND ]------------------------------------------ 
# 
		'U_POST_ID' => $postrow[$i]['post_id'])

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	);

	$cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id

# 
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

寄件者: "gary ng" <garyng818@hotmail.com> 加入通訊錄
收件者: j03060928@yahoo.com.tw
主題: hello, can you teach me something about cash mod?
日期: Tue, 14 Sep 2004 02:09:52 +0000


Hello,

I had install the cash mod 2.2.1, but when I go to view topic or go to
the
cash mod setting in admin, it also just show a white page. I try to
take out
the codes in viewtopic.php. Then i can have the viewtopic page show up,
but
if i change the codes in view topic, it will show a white page. I try
to ask
people in forum, but no one can help me.. do you know what is the
problem
is? please help

Gary
would you please give me the address of your website or you can go to my forum
很抱歉 不接受任何來至 電子信件或私人訊息上的解答或服務~ 抱歉
-.-
主題已鎖定

回到「外掛問題討論」