問題外掛:簡易子版面 V1.1
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=36645
使用版本:phpBB 2.0.17
網站位置:http://yuscvscv.e2uhosting.com/phpBB2
狀況描述:
最後發表 的欄位不夠寬,哪位大大能教我調\r
如下
http://yuscvscv.e2uhosting.com/phpBB2/viewforum.php?f=8
補充:
1.cashmod 222
2.注音魔人退散吧!
3.HP/SP/EXP V1.2.0
4.在某些頁自動重整1.0.1 (簡化版)
5.刪除免費空間廣告
6.後台控制註冊時,N秒後才能按下我同意
7.簡易子版面v1.1
[問題] 簡易子版面V1.1,最後發表 的欄位不夠寬,哪位大大能
版主: 版主管理群
To 小可魚:
建議您:
先參考這裡( k122417901 大大) 的改法:
http://phpbb-tw.net/phpbb/viewtopic.php?p=200681#200681
至於, 後頭我的修改部分, 因為當初是對應該外掛 1.0 版,
所以必須要再做修改, 請先略過.
建議您:
先參考這裡( k122417901 大大) 的改法:
http://phpbb-tw.net/phpbb/viewtopic.php?p=200681#200681
至於, 後頭我的修改部分, 因為當初是對應該外掛 1.0 版,
所以必須要再做修改, 請先略過.
剛剛查看安裝說明小可魚 寫:但是沒改善多少,
還有其他辦法嗎
發現 1.0 和 1.1, 在 viewforum.php 此處的修改, 並沒有改變;
所以, 您可以參考我後頭的改法, 試試看.
( ps. 此處修改, 是將" 最後發表時間" 放到最上面一行)
代碼: 選擇全部
#
#-----[ Open ]-----
#
viewforum.php
#
#-----[ Find ]-----
#
$last_post = '<table width="100%" align="center"><tr><td align="right"><span class="genmed"><a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"> '.$forum_data[$j]['topic_title'].' </a>'.'<br />'.$last_post_time . '<br />'.'by ';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> </span></td>';
$last_post .= '<td align="right" valign="middle"><img src="' . $images['icon_latest_reply'] . '" border="0" /></td></tr></table>';
#
#-----[ Replace With ]-----
#
$last_post = $last_post_time . '<br />';
$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"> '.$forum_data[$j]['topic_title'].' </a>'.'<br />';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';

