[問題]在安裝推薦網站mod為什麼文章裡的文章都看不見(變成和背景一樣白色)

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

版主: 版主管理群

bleaktea
星球普通子民
星球普通子民
文章: 11
註冊時間: 2005-11-18 22:46

[問題]請教大大幫忙

文章 bleaktea »

心靈捕手 寫:To bleaktea:

根據測試此風格 (Skyblue) 並不會受此外掛 (Advanced Links Mod) 影響.

問題只是出在 templates/Skyblue/viewtopic_body.tpl 的修改.

我猜想:
您在上頭的廣告圖片, 是到某個色情網站, 直接去複製原始碼, 回來套用的吧!

以下的修改, 提供您參考:
#
#-----[ OPEN ]-----
#
templates/Skyblue/viewtopic_body.tpl

#
#-----[ FIND ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD -->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-tw">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>新增網頁2</title>
<style>
<!--
.left_bg { background: url('http://night.movie-av.com/style/night/back_02.gif') no-repeat top left; border: 1px solid #ffffff}
.right_bg { background: url('http://night.movie-av.com/style/night/back_02.gif') no-repeat top right; 1px solid #ffffff}
table			{ font: 12px Tahoma, Verdana; color: #ffffff }
.tableborder		{ background: ffffff; border: 1px solid #8F8C7E } 
.altbg2			{ background:#1E2460  }
-->
</style>
</head>

<body>
<p> </p>
<p> </p>
<table class="tableborder" id="table1" cellSpacing="1" cellPadding="4" width="55%" align="center">
	<tr class="altbg2" align="middle">
		<td width="15%">
		<a target="_blank" href="http://www.369588.com/?FID=16888">
		<img height="60" alt="" src="http://www.369588.com/88-31banner.gif" width="120" border="0" pop="廣告位置4"></a></td>
		<td width="15%">
		<a target="_blank" href="http://jsvcd.com/cgi-bin/vcd.cgi?id=2004">
		<img height="60" alt="" src="http://www.5168888.com/av/22.gif" width="120" border="0" pop="廣告位置3"></a></td>
		<td width="15%">
		<a target="_blank" href="http://7-11av.com/cgi-bin/vcd.cgi?id=2004">
		<img height="60" alt="" src="http://www.5168888.com/av/13.gif" width="120" border="0" pop="廣告位置2"></a></td>
		<td width="15%">
		<a target="_blank" style="text-decoration: none; color: #31302B" href="http://lipi389.lipin.com.tw/">
		<img height="60" alt="" src="http://www.5168888.com/av/27.gif" width="120" border="0" pop="W320 電子郵件開放註冊"></a></td>
		<td width="15%">
		<a target="_blank" style="text-decoration: none; color: #31302B" href="http://night.movie-av.com/">
		<img height="60" alt="" src="http://images2.18mtv.com/images/33av_join_members.gif" width="120" border="0" pop="廣告位置5"></a></td>
	</tr>
</table>

</body>

</html><br/>
<!-- End add - Complete banner MOD -->
#
#-----[ REPLACE WITH ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD -->

<table class="tableborder" id="table1" cellSpacing="1" cellPadding="4" width="55%" align="center">
	<tr class="altbg2" align="middle">
		<td width="15%">
		<a target="_blank" href="http://www.369588.com/?FID=16888">
		<img height="60" alt="" src="http://www.369588.com/88-31banner.gif" width="120" border="0" pop="廣告位置4"></a></td>
		<td width="15%">
		<a target="_blank" href="http://jsvcd.com/cgi-bin/vcd.cgi?id=2004">
		<img height="60" alt="" src="http://www.5168888.com/av/22.gif" width="120" border="0" pop="廣告位置3"></a></td>
		<td width="15%">
		<a target="_blank" href="http://7-11av.com/cgi-bin/vcd.cgi?id=2004">
		<img height="60" alt="" src="http://www.5168888.com/av/13.gif" width="120" border="0" pop="廣告位置2"></a></td>
		<td width="15%">
		<a target="_blank" style="text-decoration: none; color: #31302B" href="http://lipi389.lipin.com.tw/">
		<img height="60" alt="" src="http://www.5168888.com/av/27.gif" width="120" border="0" pop="W320 電子郵件開放註冊"></a></td>
		<td width="15%">
		<a target="_blank" style="text-decoration: none; color: #31302B" href="http://night.movie-av.com/">
		<img height="60" alt="" src="http://images2.18mtv.com/images/33av_join_members.gif" width="120" border="0" pop="廣告位置5"></a></td>
	</tr>
</table>

<!-- End add - Complete banner MOD -->
#
#-----[ SAVE & CLOSE ]-----
#
#EOM

ps.
尚未發現 '兒童不宜' 的宣言.



大大:
你說的問題只是出在 templates/Skyblue/viewtopic_body.tpl 的修改.
我找了我的templates/Skyblue/viewtopic_body.tpl 程式碼
不知道怎麼改(像你所說的)
以下是我的templates/Skyblue/viewtopic_body.tpl 的原始碼
麻煩大大
謝謝!!

(宣言晚上會放上去)

代碼: 選擇全部

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" colspan="2">
	  <span class="gensmall">

<!-- Start add - Complete banner MOD -->
{BANNER_14_IMG}<br/>
<!-- End add - Complete banner MOD -->
<b>{PAGINATION}</b>
</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="middle" width="100%"><a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a><br><a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br /></span></td>
	<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>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
  </tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
	<tr align="right">
		<td class="catHead" colspan="2" height="28"><span class="style1"><a href="{U_VIEW_OLDER_TOPIC}" class="nav"><span class="style1">{L_VIEW_PREVIOUS_TOPIC}</span></a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav"><span class="style1">{L_VIEW_NEXT_TOPIC}</span></a> &nbsp;</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}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></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}" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}</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="center" 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>&nbsp;</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 colspan="2">
	<hr>
	</td>
	</tr>
	<!-- END postrow -->
	<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="style1">{L_DISPLAY_POSTS}: </span>{S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;
			  <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td>
			</form>
			</tr>
		</table></td>
	</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
<!-- Start add - Complete banner MOD -->
<td align="left" valign="bottom" colspan="2">{BANNER_15_IMG}</td>
<!-- End add - Complete banner MOD -->
  	<td colspan="3" align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span><br><span class="gensmall">{S_WATCH_TOPIC}</span></td>
	<td align="right" valign="top" 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>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span><br><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td width="40%" valign="top" nowrap="nowrap" align="left">{S_TOPIC_ADMIN}</td>
	<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>

頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8547
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

To:

查看您貼出的
發現您似乎真的有安裝 Complete banner MOD

但是我在瀏覽文章 (viewtopic.php) 的介面的確發現了上述的程式碼

即使您真的有安裝 Complete banner MOD
而且也從控制台在瀏覽文章 (viewtopic.php) 的介面新增了這些 '橫幅廣告'
也不至於會多出這麼多不相干的代碼才對

建議您:
試試以下的修改!
#
#-----[ FIND ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD --> 
{BANNER_14_IMG}<br/> 
<!-- End add - Complete banner MOD -->
#
#-----[ REPLACE WITH ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD
{BANNER_14_IMG}<br/> 
End add - Complete banner MOD -->
#
#-----[ FIND ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD --> 
<td align="left" valign="bottom" colspan="2">{BANNER_15_IMG}</td> 
<!-- End add - Complete banner MOD -->
#
#-----[ REPLACE WITH ]-----
#

代碼: 選擇全部

<!-- Start add - Complete banner MOD
<td align="left" valign="bottom" colspan="2">{BANNER_15_IMG}</td> 
End add - Complete banner MOD -->
這個修改是暫時註解掉 '橫幅廣告'.

如果有效的話, 那麼您的廣告圖片會不見.
若要有廣告圖片的話, 那麼只要參考前面回文的語法即可.
ps. 因為您上, 下各有一個廣告連結, 所以前面回文有更新.

如果無效的話, 那麼很有可能, 這些多餘的語法, 是別人幫你植入;
恐怕得發時間找一找.
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
bleaktea
星球普通子民
星球普通子民
文章: 11
註冊時間: 2005-11-18 22:46

[問題]感恩!!

文章 bleaktea »

謝謝大大!!
我剛剛用過了
但是整個版會走樣
就是發表文章的按扭和前往頁面 1, 2, 3, 4, 5 下一頁的等…資訊會跑到畫面的最右邊
很不好看
在你的解說下我更了解php了
謝謝你
最後我還是把viewtopic_body.tpl用原始檔更換
就不會有問題了
但是就是不能放廣告了
不過還是很謝謝大大!!
感恩!!
主題已鎖定

回到「外掛問題討論」