Category Archives: Hacks 修改

WordPress安裝後的一些建議

1.預設帳號修改(WP新版本已取消)
2.刪除安裝檔 wp-admin/install.php
3.刪除說明檔 readme.html
5.移除WP版本 wp-content/themes/xxx/functions.php
6.保護設定檔 wp-config.php

Posted in Hacks 修改.

大聯盟計畫

最近Y虎有出個計畫-大聯盟計畫
好讓廠商清庫存,讓大家在家拼經濟(宅經濟) 
不過Y虎沒有輪播功能只好自己DIY
先把廣告模組的HTML原始碼複製到文字檔 ads.txt
(每一行一個商品代碼)

讓PHP亂數讀取以及顯示就搞定:
$lines = file("ads.txt");
shuffle($lines);
echo ($lines[0]);

Posted in Hacks 修改.

關閉WP版本顯示

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

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

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

Half-open limit fix (patch) for Windows

修改 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 slow the spreading of viruses and malware from system to system and also to reduce the impact of infected systems participating in DoS (Denial of Service) attacks.

This limit makes it impossible for Windows systems to have more than 10 concurrent half-open outbound connections. After 10, new connection attempts are put in a queue and forced to wait.

Therefore, the speed of connection to other computers is actually limited.

http://half-open.com/ 

Posted in Hacks 修改.

訪客統計

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

http://whos.amung.us/

Posted in Hacks 修改.

Smartlinker

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.

文章中加入連結的外掛,如上所示。

Posted in Hacks 修改, Plugins 外掛. Tagged with .

WP 駭客版

10-killer-wordpress-hacks

因為一般版本通常不會釋出奇怪修正程式,所以有些要自己修補

當然上面的改法有些是有點KUSO,有些改的也不是很完整

所以改成適合自己的才重要吧 🙂

Posted in Hacks 修改.