分類為 ‘Hacks 修改’ 的文章

大聯盟計畫 (2010-3-31)

最近Y虎有出個計畫-大聯盟計畫
好讓廠商清庫存,讓大家在家拼經濟(宅經濟)
不過Y虎沒有輪播功能只好自己DIY
先把廣告模組的HTML原始碼複製到文字檔 ads.txt
(每一行一個商品代碼)
讓PHP亂數讀取以及顯示就搞定:
$lines = file(”ads.txt”);
shuffle($lines);
echo ($lines[0]);

關閉WP版本顯示 (2010-1-6)

關閉 WordPress 的版本顯示
<meta name=”generator” content=”WordPress 2.9.1″ />

開啟佈景裡面的 functions.php
<?php
後面加一行
remove_action(’wp_head’, ‘wp_generator’);

有些佈景內建可關閉的就不用改囉.

Half-open limit fix (patch) for Windows (2009-5-13)

修改 Windows 連線限制,支援 Win7
Half-open limit fix is a program designed to change the maximum number of concurrent half-open outbound TCP connections (connection attempts) in the Windows system file tcpip.sys.
Microsoft first introduced this limit in Windows XP SP2 (Service Pack 2) and is present in all later versions of Windows. This was done to try to [...]

訪客統計 (2009-3-2)

取得統計資料手續非常簡單。一切都是免費的,且無須註冊!只要把下面那段 html 語法複製下來,並且貼到任何您想追蹤的頁面就完成了。
http://whos.amung.us/

Smartlinker (2009-1-21)

Smartlinker is a toolbar on the WordPressTinyMCE editor that enables you to hyperlink words and phrases in your blog. A word/phrase can be the name of a person, place or thing. The Hyperlinksare “pre-selected” from a variety of encyclopedias like wikipedia, msn encarta, BBC, knowledgerush to name a few.
文章中加入連結的外掛,如上所示。