3 頁 (共 6 頁)

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-03 12:55
eatbug
谢谢各位的帮助, 今天我查看了一下, 已经恢复正常了, 看来是我的空间服务商那边的问题, 抱歉给各位添麻烦了:)

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-03 14:07
hentaibbc
yehrussell 寫:
hentaibbc 寫: 另外如果真的要加速Top5 List的執行的話,
您可以在程式碼中,用strip_bbcode函式把BBCode移掉,可以減少 Loading 圖片的時間。

請問 strip_bbcode函式把BBCode移掉 :arrow: 如何改?
可以減少 Loading 圖片的時間 :arrow: 也包含表情符號嗎?
謝謝大大 :-)
打開toplist.php
找到

代碼: 選擇全部

				$desc = generate_text_for_display($desc, $row['bbcode_uid'], $row['bbcode_bitfield'], 7);
取代為

代碼: 選擇全部

				strip_bbcode($desc, $row['bbcode_uid']);
這樣就可以了
這個方式處理後,表情符號也會變回原本的字串...

如果在之後加上以下幾行

代碼: 選擇全部

				$desc_data = generate_text_for_edit($desc, $row['bbcode_uid'], 7);
				generate_text_for_storage($desc_data['text'], $bbcode_uid, $bbcode_bitfield, $flags, true, true, true);
				$desc = generate_text_for_display($desc_data['text'], $bbcode_uid, $bbcode_bitfield, $flags);
那麼表情符號就會出現了。

以上方法提供。

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-03 22:23
fai168
eatbug 寫:谢谢各位的帮助, 今天我查看了一下, 已经恢复正常了, 看来是我的空间服务商那边的问题, 抱歉给各位添麻烦了:)
非也,問題還是存在的

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-04 11:04
eatbug
fai168 寫:
eatbug 寫:谢谢各位的帮助, 今天我查看了一下, 已经恢复正常了, 看来是我的空间服务商那边的问题, 抱歉给各位添麻烦了:)
非也,問題還是存在的
奇怪...我这边访问已经恢复到以前很快的状态了, 点击刷新能够即时地显示整个index页面.

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-04 11:20
fai168
eatbug 寫:
fai168 寫:
eatbug 寫:谢谢各位的帮助, 今天我查看了一下, 已经恢复正常了, 看来是我的空间服务商那边的问题, 抱歉给各位添麻烦了:)
非也,問題還是存在的
奇怪...我这边访问已经恢复到以前很快的状态了, 点击刷新能够即时地显示整个index页面.
問題在於你的 top5 顯示的內容
你現在的 top5 顯的內容,沒有令你卡著的元素,如果其中一條有問題的貼被踢上 top5 之內,問題必定會再出現
除了top5 list 之外,可以說說你還安裝了甚麼外掛嗎?

Re: 刷新首页会卡在Top5 List v1.0.2这里

發表於 : 2009-01-04 12:13
eatbug
我明白了, 就是因为那个时候toplist里有载入影响速度的帖子是吧.
我安装了三十几个外挂... :P

[求救]Top5 List v1.0.2 顯示更改問題

發表於 : 2009-01-08 12:00
al970048
●作業系統:Windows XP。
●上網方式:公司內部區域網路
●安裝的程式:apache 2.2.8 MySQL 5.0.51b , php 5.2.6 , phpMyAdmin-2.10.3 .
●phpBB3 版本:phpBB3.0.2
-------------------------------------------------------------------------------------------------------------------------------------------

各位前輩 , 請問若想更改為只在某一版面顯示 , 而非目前顯示於首頁上方 , 請問要如何更改 , 謝謝 .

Re: 請問....Top5 List v1.0.2如何增加list數目與版面問題

發表於 : 2009-01-22 05:42
yve
再PHPBB3.0.4安装了,好像不工作

Re: 請問....Top5 List v1.0.2如何增加list數目與版面問題

發表於 : 2009-01-22 10:35
yve
one more question,how to change the font size?
thanks

Re: 請問....Top5 List v1.0.2如何增加list數目與版面問題

發表於 : 2009-01-22 13:54
心靈捕手
yve 寫:one more question,how to change the font size?
thanks
1. 前文不是說 "不工作"?
2. 在這個論壇發文, 請使用正體中文.

Re: 請問....Top5 List v1.0.2如何增加list數目與版面問題

發表於 : 2009-01-22 23:47
yve
sorry, I cannot type 正體中文

in the boot\toplist.php
this variable is not defined, so it didn't work once I added it ($forum_ary = array();), it's working now :lol:

[已解決]Top5 List v1.0.3字體大小

發表於 : 2009-03-20 15:04
teddywish
您好,我成功安裝了Top5 List v1.0.3 ,請問所顯示的文章標題及文章的字體大小是從toplist_body.html內(以下)著手嗎?
是否都需要重新整理模板的動作? 謝謝了

代碼: 選擇全部

.tooltip
{
	position: absolute;
	width: 450px;
	background-color: #FFFFCC;
	border: 1px solid #666666;
	display: none;
	padding: 3px;
	clear:both;
	margin-top: 3px;
	margin-left: 25px;
	font-size: 1.9em;
}
.title
{
	font-size: 1.9em;
}

Re: Top5 List v1.0.3字體大小

發表於 : 2009-03-21 19:36
oscerropper
<style type="text/css">
/* <![CDATA[ */

.toplist {
padding-right: 15px;
min-height: 14em;
}
.toplist li {
margin-top: 5px;
padding-left: 10px;
list-style-position:inside;
}
.tooltip
{
position: absolute;
width: 450px;
background-color: #FFFFCC;
border: 1px solid #666666;
display: none;
padding: 3px;
clear:both;
margin-top: 3px;
margin-left: 25px;
font-size: 1.2em; /* 滑鼠移過去後顯示內容的字體大小 */
}
.title
{
font-size: 1.1em;
}

/* ]]> */
.style1 {
font-size: 1.2em /* top5首頁上文章標題的字體大小 */
}
</style>

Re: Top5 List v1.0.3字體大小

發表於 : 2009-03-26 09:42
teddywish
多謝解答,但我試了多次仍未能更改"top5首頁上文章標題的字體大小" ,而且我的code 有點不同,請參閱以下Code及紅字。謝謝。
<style type="text/css">
/* <![CDATA[ */

.toplist {
padding-right: 15px;
min-height: 14em;
}
.toplist li {
margin-top: 5px;
padding-left: 10px;
list-style-position:inside;
}
.tooltip
{
position: absolute;
width: 450px;
background-color: #FFFFCC;
border: 1px solid #666666;
display: none;
padding: 3px;
clear:both;
margin-top: 3px;
margin-left: 25px;
font-size: 0.9em; /* 這個可順利更改 */
}
.title
{
font-size: 1.1em; /* 這個是改變什麼的,我更改後沒有任何作用*/
}

/* ]]> */
</style>

<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- BEGIN topcat -->
[<a href="javascript:showList('{topcat.CAT_ID}')" style="font-size: 1.2em"/* 這個只可以更改[最新] , [熱門] 這兩個字的大小 */>{topcat.CAT_NAME}</a>]&nbsp;&nbsp;
<!-- END topcat -->

<!-- BEGIN toplist -->
<!-- IF toplist.S_NEW_CAT -->
<!-- IF not toplist.S_FIRST_ROW -->
</ul>
</td>
</tr>
</table>
</div>

Re: Top5 List v1.0.3字體大小

發表於 : 2009-03-27 13:14
oscerropper
Hi teddywish

我指的修改不是從 *.html 改
而是從ACP的風格樣式下去編輯css

cheer.