[已解決][問題] Advanced Quick Reply在搞怪...
版主: 版主管理群
[已解決][問題] Advanced Quick Reply在搞怪...
問題外掛:Advanced Quick Reply 1.1.1
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... 6&start=15
使用版本:phpbb 2.0.17
網站位置:http://www.forum.spwork.com/
狀況描述:
我裝了Advanced Quick Reply...
不過用起來怪怪的說....
可以不要啟用表情符號嗎??
我回覆的框框裡面...滑鼠左鍵無法選字...
要用右鍵....弄起來真的怪怪的.....
現在發現....好像整個網頁都怪怪的了...
我都照說明文件一步一步下去改了...還是一樣....
可以幫我看一下嗎???
我是一個超級新手...
----------------------------------------------------------------------
我在另一篇文有發...差不多的文章....
不過看了板規...好像有違規....請幫我砍叭...
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... 6&start=15
使用版本:phpbb 2.0.17
網站位置:http://www.forum.spwork.com/
狀況描述:
我裝了Advanced Quick Reply...
不過用起來怪怪的說....
可以不要啟用表情符號嗎??
我回覆的框框裡面...滑鼠左鍵無法選字...
要用右鍵....弄起來真的怪怪的.....
現在發現....好像整個網頁都怪怪的了...
我都照說明文件一步一步下去改了...還是一樣....
可以幫我看一下嗎???
我是一個超級新手...
----------------------------------------------------------------------
我在另一篇文有發...差不多的文章....
不過看了板規...好像有違規....請幫我砍叭...
最後由 seal 於 2005-08-13 16:31 編輯,總共編輯了 1 次。
我是小包...小包是我
代碼: 選擇全部
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></td>
<td align="right" valign="bottom" nowrap="nowrap"><span class="pagenum">{PAGINATION}</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="2" border="0">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> </span></td>
</tr>
{POLL_DISPLAY}
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}">
<fieldset><legend align=right><span class="name"><a name="{postrow.U_POST_ID}"></a><b><a href="javascript:emoticon('[b]{postrow.POSTER_NAME}[/b], ')">{postrow.POSTER_NAME}</a> </b></span></legend>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<span class="postdetails">
{postrow.POSTER_RANK}
{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_FROM}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POSTER_JOINED}
</table></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="templates/xder_orz/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<tr align="center">
<td class="row1" colspan="2" >
{QUICKREPLY_OUTPUT}
</td>
</tr>
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="{S_POST_DAYS_ACTION}">
<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
</form></tr>
</table></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>
<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>麻煩您囉...
我實在是無力呀....
我是小包...小包是我
代碼: 選擇全部
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
\n{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/xder_orz/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
TH { background-image: url(templates/xder_orz/images/{T_TH_CLASS2}) }
TD.rowpic { background-image: url(templates/xder_orz/images/{T_TH_CLASS3}); background-repeat: repeat-y }
TD.cat, TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/xder_orz/images/{T_TH_CLASS1}) }
-->
</style>
</head>
<body>
<a name="top"></a>
<table width="670" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<a href="http://www.forum.spwork.com"><img src="templates/xder_orz/images/title.gif" width="670"><br />
</td>
<tr>
<td align="center" width="100%" valign="middle">
<table cellspacing="0" cellpadding="2" border="0">
<tr>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap"><span class="mainmenu"> [ <a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a> ]</span><span class="mainmenu"> [ <a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a> ] [ <a href="{U_PRIVATEMSGS}" class="mainmenu"> {PRIVATE_MESSAGE_INFO}</a> ] [ <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a> ] [ <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a> ]
<!-- BEGIN switch_user_logged_out -->
[ <a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a> ]</span>
<!-- END switch_user_logged_out -->
</td>
</tr>
<tr>
<td align="right"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table>老實說..我覺得都還好說...
又要再麻煩您囉.....><
我是小包...小包是我
To seal:
您的 overall_header.tpl 也沒有問題.
不過, 我查看您的 overall_footer.tpl
倒是發現了一個奇怪的 java 語法, 如下:
建議您:
將這段語法移除!
您的 overall_header.tpl 也沒有問題.
不過, 我查看您的 overall_footer.tpl
倒是發現了一個奇怪的 java 語法, 如下:
代碼: 選擇全部
<script language=JavaScript>
<!--
if(document.all){
var tags=document.all.tags("a")
for (var i=0;i<tags.length;i++)
tags(i).outerHTML=tags(i).outerHTML.replace(">"," hidefocus=true>")}
//-->
</script>
將這段語法移除!
代碼: 選擇全部
<script language=JavaScript>
<!--
if(document.all){
var tags=document.all.tags("a")
for (var i=0;i<tags.length;i++)
tags(i).outerHTML=tags(i).outerHTML.replace(">"," hidefocus=true>")}
//-->
</script> 這個語法可以把
html語法的"a"內的">" replace 做 " hidefocus=true>"
這支外掛的安裝非常簡易,seal 寫:網頁有錯誤的部份...似乎已經修正囉...
感謝您....不過...快速回覆...似乎還有些問題....
在編輯文章上...滑鼠左鍵還是一樣...無效...
所以...我打算把Advanced Quick Reply移掉...
請問...我把東西拿掉....照說明....一步一步把改掉的東西改回來就可以了嗎???
移除的話, 只要將您的備份, 還原即可;
如果忘了備份, 那麼只好將安裝程序, 倒轉回去.
不過, 我實在有些納悶,
為何該語法移除後, 仍舊無法使用左鍵呢?
先前, 將該語法放到我的測試論壇後,
的確出現同樣的" Script Error", 也無法使用左鍵,
可是將該語法移除後, 一切也都正常囉!
http://wang5555.dnsfor.me/test/phpbb2/viewtopic.php?p=2#2
建議您:
1. 如果您有安裝 eXtreme_style 的話,
先清空您的 cache/ 底下的 tpl_*.php 再試試看!
2. 請確認您下載的 Advanced_Quick_Reply 是最新的.
http://www.phpbbhacks.com/download/586
弄好了....不過....左鍵的部份還是一樣....心靈捕手 寫:這支外掛的安裝非常簡易,seal 寫:網頁有錯誤的部份...似乎已經修正囉...
感謝您....不過...快速回覆...似乎還有些問題....
在編輯文章上...滑鼠左鍵還是一樣...無效...
所以...我打算把Advanced Quick Reply移掉...
請問...我把東西拿掉....照說明....一步一步把改掉的東西改回來就可以了嗎???
移除的話, 只要將您的備份, 還原即可;
如果忘了備份, 那麼只好將安裝程序, 倒轉回去.
不過, 我實在有些納悶,
為何該語法移除後, 仍舊無法使用左鍵呢?
先前, 將該語法放到我的測試論壇後,
的確出現同樣的" Script Error", 也無法使用左鍵,
可是將該語法移除後, 一切也都正常囉!
http://wang5555.dnsfor.me/test/phpbb2/viewtopic.php?p=2#2
建議您:
1. 如果您有安裝 eXtreme_style 的話,
先清空您的 cache/ 底下的 tpl_*.php 再試試看!
2. 請確認您下載的 Advanced_Quick_Reply 是最新的.
http://www.phpbbhacks.com/download/586
真是有夠怪.......
我是小包...小包是我
剛剛再測試一下seal 寫:弄好了....不過....左鍵的部份還是一樣....
真是有夠怪.......
我發現上頭的回覆有誤!
當我使用測試論壇時,
- 覆蓋您的 viewtopic_body.tpl 時無誤
- 覆蓋您的 overall_header.tpl 時無誤-> 這是錯的!
- 覆蓋您的 overall_footer.tpl 時有誤-> 這只對了一半!
第2次覆蓋時, 我只注意到有無" Scritt Error", 並沒有注意到" 左鍵" 是否正常?
第3次覆蓋時( overall_header.tpl 已還原), 當我發現有" Scritt Error" 時,
再將其出現的莫名 java 語法移除後, 也就恢復正常了.
而再測試時發現:
其實, 真正讓" 左鍵" 無法( 反白選取) 使用的, 應該是 overall_header.tpl .
目前測試論壇, 覆蓋您的 overall_header.tpl 後,
滑鼠" 左鍵" 無法反白選取, 而會指向您的論壇連結.
http://wang5555.dnsfor.me/test/phpbb2/viewtopic.php?p=2#2
一般而言, 風格檔不會有這種設計,
應該是您有加以修改過吧!
建議您:
用此風格的原始 overall_header.tpl 覆蓋您的論壇吧!
如果說 overall_header.tpl 和 overall_footer.tpl 您都沒有更動過,
那麼建議您: ( 更改) 使用其他風格作為您的論壇預設風格.
心靈捕手 寫: 而再測試時發現:
其實, 真正讓" 左鍵" 無法( 反白選取) 使用的, 應該是 overall_header.tpl .
目前測試論壇, 覆蓋您的 overall_header.tpl 後,
滑鼠" 左鍵" 無法反白選取, 而會指向您的論壇連結.
http://wang5555.dnsfor.me/test/phpbb2/viewtopic.php?p=2#2
一般而言, 風格檔不會有這種設計,
應該是您有加以修改過吧!
[/b]
感謝您呀...我抓到問題了....上次改的時候...少打了一個" </a> "
結果影響到整個網頁....阿啦啦....太謝謝您啦......
我是小包...小包是我


