Hacking WP Dashboard
November 10th, 2006 - Wordpress - Give CommentsI found some annoying things in WP admin dashboard. When we logged in with a lowest level, for instance we logged in as subscriber who don’t have any access to some pages, clicking Write a post link in the dashboard will generate: You do not have sufficient permissions to access this page. error message.
There is no problem here. WP handled this behavior normally. But user who don’t have access to those pages (especially subsribers) will be dissapointed when accessing those pages. So do Add a link to your blogroll and Change your site's look or theme pages that only editors or administrators who could access those pages.
But it would be better if these special links were hidden from users who don’t have any access to these pages. It avoids users access those pages.
I just made some changes on this dashboard page. You can download the file from here. After downloading, extract the file and index.php file will be created. Just copy this file into wp-admin directory and overwrite any existing file. Ups, of course it’s suggested you made a back-up old index.php file first. ![]()
It’s usefull for a multiple users with multiple user level weblog. If you use WP as your own weblog, this hacking seems useless.
And as usual, comments and feedbacks are welcome.
I implemented it in CAHANDONG.ORG blog. ![]()
in Bahasa Indonesia:
Saya menemukan beberapa hal yang cukup mengganggu pada dashboard WP. Ketika kita login menggunakan hak akses terendah, misalnya kita login sebagai subscriber yang notabene tidak dapat menulis artikel, meng-klik link Write a post akan muncul pesan kesalahan: You do not have sufficient permissions to access this page.
Ini hal yang normal. Tetapi secara psikologis, seorang user yang tidak memiliki hak akses ke halaman tersebut (terutama subscriber) akan kecewa. Begitu juga dengan menu Add a link to your blogroll dan juga Change tour site's look or theme, yang hanya bisa diakses oleh editor atau administrator.
Akan lebih baik jika link-link khusus ini disembunyikan dari user yang tidak memiliki akses ke halaman tersebut.
Saya sudah ngutak-atik file dashboard ini. Hasilnya bisa didwonload dari sini. Setelah download, ekstrak file tersebut yang akan menghasilkan file index.php. Masukkan file ini ke dalam folder wp-admin. Akan lebih baik jika file index.php yang lama di-back-up terlebih dulu. ![]()
Ini sangat membantu bila WP digunakan pada blog yang menampung banyak user dengan berbagai macam level. Kalo untuk blog pribadi, tentu cara ini tidak begitu bermanfaat. ![]()
Tak lupa, kritik dan saran saya terima dengan baik.. *ngasah tombak* ![]()
Ini saya terapkan di blog CAHANDONG.ORG.
November 10th, 2006 at 14:11:20 from using Mozilla Firefox 1.5.0.8 on Windows XP
Wuahhhhhhhh.. ngasah tombak.. takuttttttttttt…
Tadinya mau kritik tapi takutttttttttt..
En akan gue kabooorrrrrrrr.. heueheuehuee..
Btw. . ehm.. cah andong yee..
November 10th, 2006 at 16:36:55 from using Mozilla Firefox 1.5.0.8 on Windows XP
Seperti biasa karena sama lemot bih lelet, saya harus baca postingan ini beberapa kali sehingga mengerti maksud dan tujuan dari isinya.
Thank ya Zam, dah posting ini. Bisa dipake buat di Sheillucious nih
November 11th, 2006 at 07:00:02 from using K-Meleon 1.02 on Windows XP
duh,,, jo lali turu zam… jangan bercinta dengan wp terus2an… anakmu sudah terlalu banyak…
btw, kok aku kesel yo?
November 11th, 2006 at 09:02:32 from using Mozilla Firefox 1.5.0.8 on Windows XP
wuduhhh..panganan opo kuwi zam??? dicampur kecambah *sing nang keykode mestine enak yo ? kapan kapan ngejak yo.
HAlah iki komen ga mutu blas
November 11th, 2006 at 11:19:24 from using Opera 9.01 on Windows XP
waaah zam emang te o pe…
mbok aku diajari tooo…
November 11th, 2006 at 11:55:50 from using Mozilla Firefox 1.5.0.6 on Windows XP
#thuns: weh.. isin aku.. ana sing mbaurekso mampir ndene ki.. ampun, mbah.. ampun..
November 11th, 2006 at 13:29:12 from using Mozilla Firefox 1.5.0.1 on Windows XP
sip ki artikele.
sing versi bahasa jawa inggil ono ra zam? simbahku pingin ngerti je.
November 11th, 2006 at 16:03:19 from using Opera 9.02 on Windows XP
hooh…
setuju karo sing nduwurku
November 11th, 2006 at 22:01:15 from using Mozilla Firefox 2.0 on Windows XP
wah bisa iki.
jajal ah kapan-kapan.
Zam aku rekuest.. plugin untuk mendatangkan pembaca cewek2 cakep ana gak?
November 13th, 2006 at 11:11:51 from using Mozilla Firefox 2.0 on Windows XP
ra iso coment gara gara baca comentare pricePriyayisae. mbah’e gaul.. kekeke salam ngo mbah’e. iki blogke zam udu Prince…
November 13th, 2006 at 20:45:53 from using Opera 8.51 on Windows XP
iku jeneng kewan anyar to, zam?
November 16th, 2006 at 18:16:56 from using Mozilla Firefox 2.0 on Windows XP
kan bisa pake MU-WP