December 12, 2004 – 6:20 pm
由於 Tatter Tools 本身沒有分類的 RSS,令讀者不能有效地閱讀所需的資料。為了這個問題,本人加設了這一細小的 plug-in 方便大家。
category_rss.zip (2.0 KB)
首先下載這個檔案 \’category_rss.zip\’ 然後上載到 Tattor Tools 的 Directory 中。
首先打開 /inc_function.php
搜尋 (大概在 1177 行)
<td class=branch3 onclick=”<?=$row[link]?>“><?=str_cut($row[label],$limit,1)?> <? if ($p_show_tree_cnt) print “<span class=c_cnt>($row[cnt])</span>”;?></td>
改為
<td class=branch3 onclick=”<?=$row[link]?>“><?=str_cut($row[label],$limit,1)?> <? if ($p_show_tree_cnt) print “<span class=c_cnt>($row[cnt])</span>”;?><a href=\’<?=$row[rsslink]?>\’>RSS</a></td>
搜尋 (大概在 1192 行)
<td class=branch3><?=str_cut($irow[label], $limit, 1)?> <? if ($p_show_tree_cnt) print “<span class=c_cnt>($irow[cnt])</span>”;?></td>
改為
<td class=branch3><?=str_cut($irow[label], $limit, 1)?> <? if [...]
December 6, 2004 – 1:18 pm
這個 AuthImage 的原始構想來自於 Gudlfy 的 WordPress AuthImage Plugin,我另外加上了幾個新的想法:
可變動的驗證碼影像檔前置碼 (AuthImage Prefix)。透過這個前置碼,你可以改變的你的影像命名規則,讓這些智慧型的迴響機器人即使掃瞄到你的驗證碼影像暫存區,也猜不到你的真實驗置碼是多少。
驗證碼的背景圖檔選擇。
自動清理暫存區內過期的驗證碼影像檔。
有興趣的人請根據以下步驟將 AutImage Plugin 安裝到你的 pLog 裡面:
下載 Mark 精心調製的 AuthImage Plugin
將檔案解壓縮後上傳到 /your-blog 的目錄下
到設定>>外掛程式中心,看看 authimage 是否安裝成功
將 /your-blog/authimage 中的 tmp 目錄存取權限改為 777
修改你的模版。以我的 Marks Place 為例子,我是採用 grey 這個模版,所以我必須把下面的程式加到 /your-blog/templates/grey 中的 commentform.template 這個模版。
若果 gd 版本大過 1.6
把 /authimage/authimage.php的第 40 行:
ImageGIF($im, $tmpfname);
改為
ImagePNG($im, $tmpfname);
December 5, 2004 – 8:56 pm
很多人去到 pLog 主網頁都會發覺主頁不見了。
pLog 主頁臨時網站:
主網頁: http://plog.bliang.com 討論區: http://plog.bliang.com/forums/index.php Wiki: http://plog.bliang.com/wiki/index.php