1 頁 (共 1 頁)

[問題!!重要!!]關於虛擬形象...

發表於 : 2003-10-08 17:40
超級訪客
●我的phpbb版本:plus1.2
虛擬形象mod中的說明檔裡的部分內容跟plus1.2的這2個檔有些不同
templates/XXXXX/viewtopic_body.tpl
templates/XXXXX/profile_view_body.tpl
說明檔寫道:

代碼: 選擇全部

templates/XXXXX/[color=red]viewtopic_body.tpl[/color]
find
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" 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>
before add
[color=blue]<script language="JavaScript" src="face_js.js"></script>[/color]

[color=red]templates/XXXXX/profile_view_body.tpl[/color]
find
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
  </tr>
</table>
after add
[color=blue]<script language="JavaScript" src="face_js.js"></script>[/color]
plus1.2裡的
viewtopic_body.tpl

代碼: 選擇全部

<table width="100%" border="0" cellspacing="2" cellpadding="2"> 
<tr> 
<td height="34" valign="top" class="nav"><a href="{U_VIEW_TOPIC}" class="maintitle">{TOPIC_TITLE}</a> 
<br /> 
{PAGINATION}</td> 
<td class="gensmall"> </td> 
</tr> 
</table> 
<table width="100%" cellspacing="2" cellpadding="2" border="0"> 
<tr> 
<td nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" hspace="8" border="0" title="{L_POST_REPLY_TOPIC}" /></a></td> 
<td width="100%" class="nav"><a href="{U_INDEX}">{L_INDEX}</a> & <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td> 
<td valign="bottom" nowrap="nowrap"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr> 
<td><a href="{U_VIEW_OLDER_TOPIC}"><img src="templates/fisubsilver/images/lang_english/topic_previous.gif" alt="{L_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}" width="15" height="25" border="0" /></a></td> 
<td nowrap="nowrap"><a href="tellafriend.php?topic={TOPIC_TITLE}&link={TELL_LINK}"><img src="templates/fisubsilver/images/lang_english/topic_email.gif" alt="Email this topic" width="24" height="25" border="0" title="Email this topic - only it isn't installed" /><a href="{U_PRINT}" target="_blank"><img src="templates/fisubsilver/images/lang_english/topic_print.gif" width="24" height="25" border="0" alt="{L_PRINT}" title="{L_PRINT}" /></a>{S_WATCH_TOPIC_IMG}<a href="{U_PRIVATEMSGS}"><img src="{PRIVMSG_IMG}" border="0" alt="{PRIVATE_MESSAGE_INFO}" title="{PRIVATE_MESSAGE_INFO}" /></a></td> 
<td><a href="{U_VIEW_NEWER_TOPIC}"><img src="templates/fisubsilver/images/lang_english/topic_next.gif" alt="{L_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}" width="14" height="25" border="0" /></a></td> 
</tr> 
</table></td> 
</tr> 
</table>
{POLL_DISPLAY}
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th width="150" height="28">{L_AUTHOR}</th>
<th width="100%">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}" id="{postrow.U_POST_ID}"></a><strong><a href="javascript:emoticon('[b]{postrow.POSTER_NAME}[/b], ')">{postrow.POSTER_NAME}</a></strong><br />{postrow.CARD_IMG}</span><br />
<span class="postdetails">{postrow.POSTER_RANK}<br />
{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_GENDER}<br />
{postrow.POSTER_AGE}<br />
{postrow.POSTER_JOINED}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POST_DAY_STATS}<br />
{postrow.POST_PERCENT_STATS}<br />
{postrow.POSTER_FROM}</span><br />
{postrow.POSTER_FROM_FLAG}
{postrow.ONLINE_STATUS1}<br />
<img src="images/spacer.gif" alt="" width="150" height="1" />
</td>
<td class="{postrow.ROW_CLASS}" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<form method="post" action="{postrow.S_CARD}"><td class="postdetails"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" /></a>{postrow.ICON} {L_POSTED}: 
{postrow.POST_DATE} </span>{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td align="right" valign="top" nowrap="nowrap">{postrow.QUOTE_IMG}{postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}{postrow.CARD_EXTRA_SPACE}{postrow.CARD_HIDDEN_FIELDS}{postrow.EDIT_IMG}<a href="#top"><img src="templates/fisubsilver/images/icon_up.gif" alt="{L_BACK_TO_TOP}" width="16" height="18" title="{L_BACK_TO_TOP}" class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" /></a>{postrow.DELETE_IMG}{postrow.IP_IMG}</td></form>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="postbody">
<hr />
{postrow.MESSAGE}</td>
</tr>
<tr>
<td height="40" valign="bottom" class="genmed">{postrow.ATTACHMENTS}{postrow.SIGNATURE}<span class="postdetails">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom" nowrap="nowrap" class="{postrow.ROW_CLASS}">{postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.AIM_IMG}{postrow.YIM_IMG}{postrow.MSN_IMG}{postrow.ICQ_IMG}</td>
</tr>
<tr>
<td class="spacerow" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<!-- BEGIN switch_topic_locked -->
<tr align="center"> 
		<td class="row1" colspan="2" >
		{QUICKREPLY_OUTPUT}
		</td>
	</tr>
<!-- END switch_topic_locked -->
<tr>
<td colspan="2" align="center" class="cat"> 
<form method="post" action="{S_POST_DAYS_ACTION}">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="gensmall">{L_DISPLAY_POSTS}:?</td>
<td>{S_SELECT_POST_DAYS}?/td>
<td>{S_SELECT_POST_ORDER}?/td>
<td><input type="submit" value="{L_GO}" class="catbutton" name="submit" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<table width="100%" cellspacing="2" cellpadding="2" border="0"> 
<tr> 
<td nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" hspace="8" border="0" title="{L_POST_REPLY_TOPIC}" /></a></td> 
<td width="100%" class="nav"><a href="{U_INDEX}">{L_INDEX}</a> & <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td> 
<td valign="top" nowrap="nowrap"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
            <tr> 
                        <td><a href="{U_VIEW_OLDER_TOPIC}"><img src="templates/fisubsilver/images/lang_english/topic_previous.gif" alt="{L_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}" width="15" height="25" border="0" /></a></td> 
                        <td nowrap="nowrap"><img src="templates/fisubsilver/images/lang_english/topic_email.gif" alt="Email this topic" width="24" height="25" border="0" title="Email this topic - only it isn't installed" /><a href="{U_PRINT}" target="_blank"><img src="templates/fisubsilver/images/lang_english/topic_print.gif" width="24" height="25" border="0" alt="{L_PRINT}" title="{L_PRINT}" /></a>{S_WATCH_TOPIC_IMG}<a href="{U_PRIVATEMSGS}"><img src="{PRIVMSG_IMG}" border="0" alt="{PRIVATE_MESSAGE_INFO}" title="{PRIVATE_MESSAGE_INFO}" /></a></td> 
                        <td><a href="{U_VIEW_NEWER_TOPIC}"><img src="templates/fisubsilver/images/lang_english/topic_next.gif" alt="{L_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}" width="14" height="25" border="0" /></a></td> 
            </tr> 
</table></td> 
</tr> 
</table> 
<table width="100%" border="0" cellspacing="2" cellpadding="2"> 
<tr> 
<td class="nav" valign="top">{PAGINATION}</td> 
<td class="gensmall" align="right" valign="top">{S_AUTH_LIST}<br /> 
{S_TOPIC_ADMIN}</td> 
</tr> 
</table>
profile_view_body.tpl

代碼: 選擇全部

<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
	<td class="maintitle">{L_VIEWING_PROFILE}</td>
</tr>
<tr>
<td class="nav"><a href="{U_INDEX}">{L_INDEX}</a> » {L_VIEWING_PROFILE}</td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th colspan="2">{L_VIEWING_PROFILE}</th>
</tr>
<tr>
<td class="cat" width="40%" align="center">{L_AVATAR}</td>
<td class="cat" width="60%" align="center">{L_ABOUT_USER}</td>
</tr>
<tr>
<td class="row1" align="center">{AVATAR_IMG}<br />
<span class="postdetails">{POSTER_RANK}</span></td>
<td class="row1" rowspan="3" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_JOINED}:</td>
<td width="100%">{JOINED}</td>
</tr>
<tr> 
<td valign="middle" align="right" class="explaintitle">{L_LOGON}: </td> 
<td width="100%">{LAST_LOGON}</td> 
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap" class="explaintitle">{L_TOTAL_POSTS}:</td>
<td valign="top">{POSTS}<br />
<span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]<br />
<a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a><br /><a href="{U_PERSONAL_GALLERY}" class="genmed">{L_PERSONAL_GALLERY}</a></span></td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_LOCATION}:</td>
<td>{LOCATION}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_WEBSITE}:</td>
<td>{WWW}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_OCCUPATION}:</td>
<td>{OCCUPATION}</td>
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap" class="explaintitle">{L_INTERESTS}:</td>
<td>{INTERESTS}</td>
</tr>
<tr> 
<td valign="top" align="right" nowrap="nowrap" class="explaintitle">{L_GENDER}:</td>
<td>{GENDER}</td>
</tr>
<tr> 
<td valign="top" align="right" nowrap="nowrap" class="explaintitle">{L_BIRTHDAY}:</td>
<td>{BIRTHDAY}</td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap" class="explaintitle">{L_CHINESE}: </td>
<td>{CHINESE} {CHINESE_IMG}</td>
</tr>
<tr> 
<td valign="middle" align="right" nowrap="nowrap"><span class="explaintitle">{L_ZODIAC}: </span></td>
<td>{ZODIAC} {ZODIAC_IMG}</td>
</tr>
<!-- BEGIN switch_upload_limits -->
		<tr> 
			<td valign="top" align="right" nowrap="nowrap" class="explaintitle">{L_UPLOAD_QUOTA}:</span></td>
			<td> 
				<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
				<tr> 
					<td colspan="3" width="100%" class="row2">
						<table cellspacing="0" cellpadding="1" border="0">
						<tr> 
							<td bgcolor="{T_TD_COLOR2}"><img src="templates/subSilver/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
						</tr>
						</table>
					</td>
				</tr>
				<tr> 
					<td width="33%" class="row1"><span class="gensmall">0%</span></td>
					<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
					<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
				</tr>
				</table>
				<b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
				<span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
			</td>
		</tr>
<!-- END switch_upload_limits -->
</table>
</td>
</tr>
<tr>
<td class="cat" align="center">{L_CONTACT} {USERNAME}</td>
</tr>
<tr>
<td class="row1" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_EMAIL_ADDRESS}:</td>
<td width="100%">{EMAIL_IMG}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle"> {L_PM}:</td>
<td>{PM_IMG}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_MESSENGER}:</td>
<td>{MSN}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_YAHOO}:</td>
<td>{YIM_IMG}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_AIM}:</td>
<td>{AIM_IMG}</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="explaintitle">{L_ICQ_NUMBER}:</td>
<td>{ICQ_IMG}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="cat" colspan="2"> </td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
	<tr>
		<td class="nav"><a href="{U_INDEX}">{L_INDEX}</a> » {L_VIEWING_PROFILE}</td>
	</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
	<td><br />{JUMPBOX}</td>
	</tr>
</table>
請問這一段<script language="JavaScript" src="face_js.js"></script>
要分別加在這2個檔的哪裡呢?

發表於 : 2003-10-08 17:48
動感超人
不好意思捏^^bb,
竹貓主站 這邊只回答官方釋出版本的問題,如果有任何 Plus 問題請到 竹貓分站 詢問。

Plus 因為內建了許多外掛,所以檔案裡的內容當然就有些許的不一樣囉,只要找到大概符合的位置插入就可以了。

發表於 : 2003-10-08 17:51
超級訪客
哇哩咧...
那首頁這一段是寫假的喔...= =|||
+ 非官方外掛問題區
Unofficial phpBB MOD Q & A
(非官方外掛問題非必答之版區,請自行負責安裝的後果)
關於phpBB PLUS 問題請在本區發問!
而且我說的是1.2
不是1.3 = =|||

發表於 : 2003-10-08 17:59
動感超人
^^||
抱歉,剛剛誤打了版本號上去。
各版的 Plus 的檔案內容還是跟 phpBB 本身的檔案內容有點不一樣。

版面的描述可能是竹大忘了改吧,或是....(我不知道)^^bb

發表於 : 2003-10-08 18:41
依夢兒
超級訪客 寫:哇哩咧...
那首頁這一段是寫假的喔...= =|||
+ 非官方外掛問題區
Unofficial phpBB MOD Q & A
(非官方外掛問題非必答之版區,請自行負責安裝的後果)
關於phpBB PLUS 問題請在本區發問!
我想應該是小竹子少打了一個字....

關於phpBB PLUS 問題請在本區發問!

應該是\r

關於phpBB PLUS 問題請在本區發問!

:mrgreen: