1 頁 (共 1 頁)

[問題] 在回覆文章後...出現的讀秒頁面有怪東西(己解決)

發表於 : 2005-03-23 02:50
無敵肉腳
●架設主機作業系統:Windows Xp Pro sp2
●快速架站程式:竹貓提供的phpBB2.0.11升級到2.0.13了
●您的上網方式:ADSL
●您的 phpBB2 版本:phpBB (2.0.13)。
●您的 domain(網域名稱) :playgame.no-ip.org
●您的 phpBB2 連結網址: http://playgame.no-ip.org/phpbb2/

安裝mod:
付費文章
金錢2.2.2
閃光id
隱藏文章
跑馬燈
廣告圖片
縮圖<===沒有效果
flashcode
所有連結變彩色\r
檔案上傳mod
管理員紀錄mod
薪資發放\r
visual_confirmation_guide_1.1.3
ClanzDarkness

代碼: 選擇全部

Warning: Missing argument 21 for submit_post() in e:\appserv\www\phpbb2\includes\functions_post.php on line 216 
下面是該上下方程序

代碼: 選擇全部

//
// Post a new topic/reply/poll or edit existing post/poll
//
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$pay_money)
{
	global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
	global $userdata, $user_ip;

	include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

	$current_time = time();

	if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost') 
	{
		//
		// Flood control
		//
		$where_sql = ($userdata['user_id'] == ANONYMOUS) ? "poster_ip = '$user_ip'" : 'poster_id = ' . $userdata['user_id'];
		$sql = "SELECT MAX(post_time) AS last_post_time
			FROM " . POSTS_TABLE . "
			WHERE $where_sql";
		if ($result = $db->sql_query($sql))
		{
			if ($row = $db->sql_fetchrow($result))
			{
				if (intval($row['last_post_time']) > 0 && ($current_time - intval($row['last_post_time'])) < intval($board_config['flood_interval']))
				{
					message_die(GENERAL_MESSAGE, $lang['Flood_Error']);
				}
			}
		}
	      // 
      // Double Post Control 
      // 
還有就是我的字型顏色在用滑鼠反藍後選取顏色..
沒反應.......只能用打字輸入顏色碼才能用............

發表於 : 2005-03-26 02:05
無敵肉腳
我剛重新反安裝方法查了一遍...
發現\r
Visual Confirmation 1.1.3

作者留言:

代碼: 選擇全部

##	本份文件是安裝說明, Visual Confirmation 外掛的真正作者是 phpBB Group
##
##	Visual Confirmation 的原始檔案可以在\r
##		contrib/visual_confirmation.zip 找到\r
##
##	如果你使用的 usercp_confirm.php 來自 visual_confirmation.zip
##		請把 if (!preg_match('/^[A-Z1-9]+$/', $confirm_id
##		更換成 if (!preg_match('/^[A-Za-z0-9]+$/', $confirm_id))
我把原來的A-Za-z0-9那個改成原
A-z1-9
顏色棒就出來了.......可以使用滑鼠點擊改變文字顏色\r
可是...一樣...文字大小...無法改變...只能手動方式加入code
還有那個發文後讀秒頁面..還是一樣出現那個東西

代碼: 選擇全部

Warning: Missing argument 21 for submit_post() in e:\appserv\www\phpbb2\includes\functions_post.php on line 216 
因為我有重新檢查過...找到了顏色棒的錯誤地方...但是還是沒找到讀秒頁面的問題
可否給我一個方向...
多謝

發表於 : 2005-03-27 00:37
無敵肉腳
己解決\r
原來在是\r
posting.php裡有個碼加錯地方