WordPress 2.0/1.5.x Hack: How to trim the fat resource hogging Admin DashBoard在WordPress 2.0/1.5.x哈克:如何減少脂肪的資源荒加工Admin儀表板
I got tired of the fat, resource-hogging DashBoard shipped with WordPress 1.5.我厭倦了脂肪,資源荒加工儀表板出貨的WordPress 1.5 。 It gets feed from God-knows-how-many WordPress blogs for no good reason and without my (or your) consent.它得到飼料來自上帝的不知如何許多WordPress Blogs的,沒有很好的理由,並沒有我的(或您)的同意。
Update: This also works on WordPress 2.0. 更新:這也對工程的WordPress 2.0 。
It comes up the first thing when you login to admin.說到起來的第一件事,當您登錄到政府當局。 I don’t like any of that.我不喜歡的任何表示。 This thing downloads even when I am on my home setup running WordPress from localhost!這件事下載,甚至當我在我的主頁安裝運行的WordPress從本地!
So despite my reluctance to modify core WordPress code, I just couldn’t take it any longer.因此,雖然我不願意修改核心的WordPress代碼,我只是不能採取任何更長的時間。
So I hacked the code, trimmed it of all fat and made it look lean and mean on an Atkins diet.因此,我砍死的代碼,削減它的所有脂肪和作出它看起來和精益意味著對一阿特金斯的飲食習慣。 In other words you have all the cool info about your blogs, as before, without any irrelevant information.在其他的話,你都冷靜的信息您的博客,一如以往,沒有任何不相關的信息。 As a result it doesn’t need to query other blogs (fetch feeds etc) and as such loads much faster.由於它不需要查詢的其他博客(市值飼料等)和作為,例如負載快得多。
In the original version some people informed that it takes as much as 75 seconds on slow DNS to load!在原始版本的一些人獲悉,需多達75秒,緩慢的DNS負載!
Take a look at the screenshot.考慮一下在截圖。 If you like it, feel free to如果您喜歡它,請隨時 download下載 . 。 Grab the index.php and drop it in wp-admin directory, replacing the original file.抓的index.php和下降,它在可濕性粉劑管理員目錄,取代了原始檔案。 You must make a backup of the original file before that (and everything else under the Sun if you so like).您必須備份原始文件之前, (和一切在陽光下,如果你想) 。
Drop me a word/pingback/trackback if you find it useful.下降,我一個字/ pingback /跟踪如果您發現它有用。 A linkback would be highly appreciated. 1 linkback會高度讚賞。
Update : Please download the 更新 :請下載 version 2 of this file第2版此文件 here這裡 . 。 It contains它包含 few time-saving enhancements (without any performance penalties)數節省時間,增強(無任何表現的刑罰) . 。
Note: If you find this plugin useful, please consider contributing to ensure development of more such plugins and maintenance.注意:如果您覺得這是有用的插件,請考慮貢獻,以確保發展更多這類插件和維修。
Filed under提起下 CMS Software CMS軟件 , , Headline News頭條新聞 , , How To如何 , , PHP PHP的 , , Pro Blogging贊成Blogging , , Tech Note技術說明 , , Technology技術 , , Web網頁 , , WordPress在WordPress | |
| |
RSS 2.0 2.0 | |
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |



March 20th, 2005 at 5:19 am 2005年3月20日在上午05時19分
Fantastic, thank you very much!神奇,非常感謝你!
March 20th, 2005 at 5:55 am 2005年3月20日在上午05時55分
Much better this way, thanx.好得多這樣, thanx 。
March 20th, 2005 at 6:32 am 2005年3月20日在上午06時32分
I just wanted to say thank you for the slimmed down admin page.我只想說,謝謝你為減肥政府當局頁。 Much appreciated!欣賞!
March 20th, 2005 at 6:36 am 2005年3月20日在上午06時36分
[...] s too long. [ … … ] s太長。 I do have to send a shout out to angsuman for his much slimmed down dashboard hack.我確有派遣一個喊出來由Angsuman他很多減肥儀表板哈克。 It removes all the RS [...]它刪除所有的RS [ … … ]
March 20th, 2005 at 7:58 am 2005年3月20日在上午07時58分
nice modification尼斯改造
i’d be interested to know how you got your nice url’s to work.我會有興趣知道,你怎樣得到您的尼斯URL的工作。
ie:即: http://siteurl/index.php/category/post
March 20th, 2005 at 2:08 pm 2005年3月20日在下午2時08分
@Matteo I have described @馬特奧我所描述的 my permalink structure我的永久結構 and also和也 some justifications why I haven’t included date in permalink一些理由,為什麼我不包括日期在永久性 . 。 Let me know if you find it useful.讓我知道,如果你發現它是有用的。
March 22nd, 2005 at 4:13 am 2005年3月22日在上午04時13分
[...] 17; Change Filed under: Blogging / Related — Teeters Priss sent me a link to a WordPress hack that chang [...] [ … … ] 17日;改變提起下:博客/相關-在報章雜誌p riss送我一連接到的W ordPress的入侵,常[ … … ]
March 22nd, 2005 at 3:45 pm 2005年3月22日在下午3時45分
I am PATHETICALLY grateful to you for the “dashboard on a diet”!我很可憐感謝你為“控制台上的膳食” ! Thanks.謝謝。 You’re a prince.您是一位王子。 I’m linking to you….我聯繫你… … 。
As to the permalink thing, I can’t even get the .htaccess/modrewrite to work.至於永久的事,我甚至不能得到.htaccess / modrewrite工作。 I have an .htaccess produced by Cpanel which has other domains allowed to access images on various sites - wp never sees it as writeable, even if I set it 777, and I haven’ta clue how to make it behave manually.我有一個。 htaccess的所產生的cPanel有其他域允許訪問的圖像就不同的網站-可濕性粉劑從來沒有認為這是可寫入的,即使我設置7 77,我h aven'ta的線索,如何使它的表現,手動。 I really wish I could follow what you’ve done….我真的希望我可以按照什麼您做… … 。
March 22nd, 2005 at 6:27 pm 2005年3月22日在下午6時27分
@Vkaryl @ vkaryl
Thanks a lot!感謝了很多! You made my day你我的天
To implement the落實 solution on permalinks關於永久性解決方案 you do not need .htaccess/mod_rewrite to work.您不需要.htaccess / mod_rewrite工作。
Frankly I don’t like them either.坦白說,我不喜歡他們。 They are too arcane in syntax and even the slightest change can easily break the site.他們太晦澀,在語法,甚至有絲毫的改變,可以很容易打破的網站。
To implement my solution with permalinks all you have to do is login as admin in WordPress, go to Options/Permalink and change the Structure to /index.php/archive/%postname%/ and Category base to /index.php/category實施我的解決方案與永久所有您需要做的就是登錄,作為政府當局在WordPress ,到Options /永久和改變結構,以/的index.php /存檔/ % postname % / 類和基地 /的index.php /類別
You are done!你這樣做!
Now you get permalinks url like this website for posts and category.現在,您獲得永久網址一樣,這個網站的職位和類別。 No more ugly url’s with query strings.沒有更多的醜陋的URL的查詢字符串。 Also such permalinks helps search engines to better place your site wrt.還等永久性有助於搜索引擎對更美好的地方您的網站wrt 。 keywords.關鍵詞。
Enjoy!享受!
March 23rd, 2005 at 8:31 am 2005年3月23日在上午8時31分
AHHHH!!!! ahhhh ! You are a KING!你是一個國王! Thank you….謝謝… … 。 I think there’s something mentioned on the permalinks page similar, but it made no sense to me - but now I see.我覺得有什麼東西提到,永久頁類似,但它是毫無意義的,我-但我現在看到的。
Thanks SO much.感謝這麼多。 WordPress has the world’s best community!在WordPress有世界上最好的社會!
March 23rd, 2005 at 9:36 pm 2005年3月23日在下午9點36分
Awesome!可怕的! dashboard now fires up so faaaast!儀表板,現在火災,使faaaast ! amazing stuff mate驚人的東西伴侶
March 24th, 2005 at 1:44 am 2005年3月24日在上午01時44分
Now this was one of the best things I did for my blog today!現在,這是其中一個最好的東西,我並為我的博客今天!
Thank you soooo much.謝謝soooo得多。
Aki安岐
March 27th, 2005 at 5:18 am 2005年3月27日在上午05時18分
Hi.嗨。 Thanks for the hack.感謝為哈克。 I really appreciate your sharing.我真的很感謝您分享。
There is one problem I believe.有一個問題,我相信。 I had a password problem and WP issued a new one.我有一個密碼的問題和可濕性粉劑發出新的一。 The problem?這個問題呢? The dashboard diet has reduced the “change password” option all together.儀表板的飲食習慣,減少了“更改密碼”選項,所有在一起。 I don’t think it’s there anymore.我不認為它的存在了。 Consequently, it seems I’m now stuck with the standard issue password instead of one of my choice.因此,似乎我現在堅持與標準的問題,密碼,而不是我的一個選擇。
Any ideas on how I might rectify this?任何想法就如何我可能會糾正這個?
Thanks again.再次感謝。
E. Alvin Davis e.艾文戴維斯
ScoreMoreClients.com/blog scoremoreclients.com /博客
March 29th, 2005 at 3:38 pm 2005年3月29日在下午3時38分
@E. @ e. Alvin Davis Dashboard-on-Diet doesn’t do absolutely anything to the password change screen.艾文戴維斯儀表板-對-飲食不這樣做絕對沒有密碼變更畫面。
To access it (password change screen) you should go to Users Menu (in admin), click on Your Profile and supply your preferred at the bottom.訪問它(密碼變更屏幕) ,你應該去的用戶菜單(在管理員) ,點擊您的個人資料和供應您的首選處於低谷。
Let me reassure you again that Dashboard-On-Diet cannot and does not affect any other screen.讓我放心,您再次儀表板-對-飲食不能也不會影響任何其他畫面。 It has been thoroughly tested before release.它已被徹底測試之前釋放。
If you are unable to access the User/Your Profile then it has probably to do with some plugins you have installed or any other changes made.如果您無法訪問用戶/您的個人資料,然後它可能做一些插件您已經安裝或任何其他的變化。
March 29th, 2005 at 7:38 pm 2005年3月29日在下午7點38分
You are absolutely correct.你是完全正確的。 My mistake.我的錯誤。 Thanks for pointing this out — and for your great modifications.感謝指出這點-為您的偉大的修改。
March 30th, 2005 at 9:35 pm 2005年3月30日在下午9點35分
Much better, thanks好得多,感謝
March 30th, 2005 at 9:36 pm 2005年3月30日在下午9點36分
[...] of the Anti-Apartheid Movement My Wordpress dashboard is on diet This seemed like a good idea to [...] [ … … ]反種族隔離運動,我的WordPress Dashboard是關於飲食,這好像一個好主意[ … … ]
April 1st, 2005 at 5:54 am 2005年4月1日在上午05時54分
Very nice, thanks.很好,謝謝。 Dashboard is now useful - well, almost Dashboard是現在有用的-好,幾乎
April 2nd, 2005 at 4:50 pm 2005年4月2日在下午4時50分
[...] I hacked the code, trimmed it of all fat and made it look lean and mean on an Atkins diet. [ … … ] i砍死的代碼,削減它的所有脂肪和作出它看起來和精益意味著對一阿特金斯的飲食習慣。 More..更多.. [...] [ … … ]
April 9th, 2005 at 3:20 pm 2005年4月9日在下午3時20分
nice work.尼斯的工作。 my dashboard now looks a lot less cluttered.我的控制台,現在看來,很多不凌亂。
April 9th, 2005 at 8:20 pm 2005年4月9日在下午8時20分
I Now Have Trimmed the Fat 我現在已經削減脂肪
This is just a cool little hack for WordPress.這只是一個冷靜的小技巧,為的WordPress 。 It slim-ifies your Dashboard to just display stats on your blog and none of that other stuff.它輕薄ifies您的儀表板,只是顯示的統計資料對您的博客並沒有其他的東西。 You do have to overwrite the code for the index.php file in your admin directory, but that’s all you have to d…您有覆蓋的代碼為的index.php文件在您的管理員目錄,但是這一切你都到D …
April 12th, 2005 at 1:00 am 2005年4月12日在上午01點
[...] luding WealthyBlogger and I always cringe when I see it. [ … … ]瀘定wealthyblogger和我一直cringe當我看到它。 Angsuman Chakraborty has created a great little hack, which [...]日由Angsuman Chakraborty創造了一個偉大的小技巧, [ … … ]
April 12th, 2005 at 2:32 am 2005年4月12日在上午02時32分
Ha,公頃,
I thought I was the only one who is sick of it.我以為我是唯一一個誰是生病的。 Kudos to you!!聲望給你!
For what it’s worth here is a link to the changes I made too:為什麼,它的價值在這裡是一個鏈接到的變化,我提出過:
Screengrab: screengrab :
http://www.cafegeek.com/i/temps/cgadmin.gif
Link to index.php(index.txt):鏈接到的index.php ( index.txt ) :
http://www.cafegeek.com/public_html/i/temps/index.txt
April 12th, 2005 at 10:59 am 2005年4月12日在上午10時59分
[...] you scroll all the way down you’ll see a list of draft posts. [ … … ]你翻閱所有下來,您會看到一個名單草案的職位。 Jeremy points to the changes Angsuman Chakraborty ma [...]傑里點的變化,日由Angsuman Chakraborty馬[ … … ]
April 12th, 2005 at 6:58 pm 2005年4月12日在下午6時58分
[...] [ … … ]
« BlogKits Blog Survey « blogkits博客調查
WordPress 1.5 Hack在WordPress 1.5哈克
WordPress 1.5 Hack — [...]在WordPress 1.5哈克-[ ...]
April 12th, 2005 at 9:32 pm 2005年4月12日在下午9點32分
Trimming the fat from WordPress 修剪脂肪從在WordPress
Simple Thoughts: “I got tired of the fat, resource-hogging DashBoard shipped with WordPress 1.5.簡單的想法: “我厭倦了脂肪,資源荒加工儀表板出貨的WordPress 1.5 。 It gets feed from God-knows-how-many WordPress blogs for no good reason and without my (or your) consent.”它得到飼料來自上帝的不知如何許多WordPress Blogs的,沒有很好的理由,並沒有我的(或您)的同意“ 。
I just installed the fix and it works.我剛剛安裝了該修補程序和它的工程。 Highly…高度…
April 12th, 2005 at 10:48 pm 2005年4月12日在下午10時48分
[...] think. [ … … ]認為。 I’ve found, viagordon, a funky little change to the wordpress dashboard.我發現, viagordon ,一個時髦的變動不大到的WordPress儀表板。 Go take a look if you’re [...]去考慮一下如果您[ … … ]
April 13th, 2005 at 4:39 am 2005年4月13日在上午04時39分
[...] [ … … ]
Posted on張貼於
Wednesday 13 April 2005週三2005年4月13日
Un hack para modificar el Dashboard de W [...]聯合國哈克第modificar下午儀表板德瓦特[ … … ]
April 13th, 2005 at 5:08 am 2005年4月13日在上午05時08分
[...] General13 Apr 2005 12:37 pm [ … … ] general13 2005年4月下午12時37分
Slimming down WordPress’ Dashboard瘦身WordPress所'儀表板
angsuman at Simple Thoughts Posted an u [...]由Angsuman在簡單的思考張貼一u [ … … ]
April 14th, 2005 at 1:22 am 2005年4月14日在上午01時22分
[...] dollar! [ … … ]美元! Lets all mock CowboyNeal of Slashdot for totally goofing this news posting up.讓所有的模擬cowboyneal的Slashdot的為完全goofing這則新聞,張貼。 Anyone use WordPress 1.5 and ha [...]任何人使用的WordPress 1.5公頃[ … … ]
April 14th, 2005 at 1:27 am 2005年4月14日在上午01時27分
[...] dollar! [ … … ]美元! Lets all mock CowboyNeal of Slashdot for totally goofing this news posting up.讓所有的模擬cowboyneal的Slashdot的為完全goofing這則新聞,張貼。 Anyone use WordPress 1.5 and ha [...]任何人使用的WordPress 1.5公頃[ … … ]
April 14th, 2005 at 2:08 pm 2005年4月14日在下午2時08分
[...] tification email just doesn’t get sent! [ … … ] T )的電子郵件只是不發送! To deal with the dashboard problem I used a drop in replacement written [...]處理與儀表板的問題,我用下降,在更換的書面[ … … ]
April 14th, 2005 at 3:45 pm 2005年4月14日在下午3時45分
[...] ing linksë“±ì— í•œê¸€ì ´ í ¬í•¨ë ˜ì–´ 있으면 í•œê¸€ë „ 보여주니 ë ”ìš± 좋았다). [ … … ]荷蘭linksë “ ± ì - í • œê ¸ € ì ' í ¬ í • ¨快遞〜 ì - ' ìž ˆ ìœ 6.3 ë © ' í • œê ¸ €快遞”快遞³ ' ì - ¬ ì £ 6.3快遞< ˆ ë “ ìš ± ì ¢ < ì • 〜快遞< ¤ ) 。 Simple Thoughts » Archive » W [...]簡單的思考â »存檔â »瓦特[ … … ]
April 16th, 2005 at 3:52 am 2005年4月16日在上午03時52分
[...] ti in blog in varie parti del mondo. [ … … ]鈦在博客中varie黨刪除盟。 Come consigliato da Ugo, si può scaricare la patch da qui.來consigliato大ugo ,矽può scaricare香格里拉大qui修補程序。 Il funzionamento è abb [...]白細胞介素funzionamento è abb [ … … ]
April 16th, 2005 at 3:16 pm 2005年4月16日在下午3時16分
I just happened to stumble upon your hack on trimming down the index of the admin page, and I can’t say anything bad about it!我剛才發生偶然發現您的哈克對修剪下來的索引管理網頁,我不能說什麼不好的! =) It really helped me out a lot and now this website of mine loads a lot faster. = )真的幫我出了很多,現在這個網站礦井負荷了很多的更快。 Thanks!謝謝!
April 16th, 2005 at 5:48 pm 2005年4月16日在下午5時48分
I tried this, but all I see is the “Latest Activity” box.我想這一點,但我看到的是“最新活動”框。 The rest of the page (apart from the menubar on top) is blank.其餘的網頁(除了從menubar上頂端)是空白的。
Blog stats, drafts and incoming links are not shown.博客的統計,匯票和傳入的鏈接,則不顯示。
Any ideas?任何想法?
April 16th, 2005 at 11:20 pm 2005年4月16日在下午11時20分
@Carlos @卡洛斯
1. 1 。 Are you using WordPress 1.5?您所使用的WordPress 1.5呢?
2. 2 。 Have you replaced the index.php in wp-admin directory with my version?你有取代的index.php在可濕性粉劑管理員目錄與我的版本為何?
3. 3 。 Have you made any further changes to that directory?你所作的任何進一步的變化,到該目錄呢?
If 1 & 2 is true and 3 is false then you should see a screen similar to what is shown in the post (click for larger view).如果1 & 2 ,是真