• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

WordPress Adminimize and Latest Tweet Plugins ...

Just because the world hasn’t suffered enough bad PHP coding, I released two WordPress plugins today. One pares down some of the admin UI, and the other is a Twitter plugin. Because the world doesn’t have enough of those, either.

Just because the world hasn’t suffered enough bad PHP coding, I released two WordPress plugins today. One pares down some of the admin UI, and the other is a Twitter plugin. Because the world doesn’t have enough of those, either. You can find links to them on my WordPress Plugins and Hacks (but I repeat myself) page, or if you can go straight to their respective pages, which I’ll link here in just a second.

MW Adminimize

    This plugin pares down the page-topping links interface that shows up on every WordPress administration page. I got tired of seeing my blog name in Big Huge Letters all the time, and I kept forgetting that the “Dashboard” link was hidden up in that black bar. So I fiddled with some arrays and wrote some CSS, and got something that chews up less screen real estate while also being easier for me to use. Maybe you’ll feel the same, in which case, enjoy the plugin.

    In addition to that, I pared down some of the elements of the “Write Post” page so that they took up a bit less space, and compressed the stuff around the post title’s input field. Those styles are marginally less stable and may cause weirdness for you. If so, sorry. Let me know what goes south and I’ll try to get it fixed in a future version.

    Oh, and I also included a CSS rule that makes the background shading of moderated comments more obvious, though not in my usual eye-scarring fashion. It’s just a little darker and notably redder. That doesn’t have much of anything to do with minimizing the admin UI, but I thought it was a huge improvement. I might take it out in a future version if the crowd shouts otherwise.

MW Latest Tweet


    This one does what you’d probably guess: shows the latest tweet. Why not just use something like Twitter Tools? Actually, I tweeted about that. A further survey of the options available turned up nothing that was quite what I wanted. So of course I started hacking away.

    The basic mechanism is that any time a page that calls this plugin is loaded, it either returns the last-cached tweet or asks Twitter for the latest tweets so it can cache the latest of them. If Twitter fails to respond (I know, what are the odds?), you still get the cached tweet. This is similar to SimpleTwitter, from which I took much inspiration, but is more advanced in a number of ways. Among the options I wanted to have and thus created was having “human time” intervals as an option, and also the ability to filter out @replies (because I personally wanted to display my latest broadcast tweet, not my latest reply). While I was at it, I decided I’d throw in the ability to define your own XHTML output, so that if the plugin failed there wouldn’t be partial or mangled markup shoved into your pages. Also, since I cache the whole of the latest tweet, you have all kinds of stuff you can output should you so desire. It’s all documented on the plugin’s page.

    This is not a widget, because I’ve never written one and didn’t have time to learn (due to all the time I was burning just trying to write the plugin). You have to edit your template/web page PHP in order to call it. That’s just the kind of DIY guy I fly.

source: meyerweb

 View Full Story.
Posted at 11:47:16 am | Permalink | Posted in WordPress Plugins  

Related Stuff

Improving security in Wordpress plugins using Nonces

Using a nonce (number used once) is the best way to protect your plugin against a cross-site request forgery (CSRF) hacker-attack. Nonces ...

10 New WordPress Plugins

This plugin enable admin to put up a splash page to show that the site is down for maintenance. Come with a timer to tell how long the site ...

WordPress Forums Plugins To Build Community

Growing your blog beyond publishing can be done quite easily by using WordPress Forums Plugins. Community growth greatly depends on ongoing ...

5 Annoying WordPress Plugins

Usually I attempt to share useful WordPress information but today, I thought we could have some fun with 5 of the most annoying WordPress ...

New releases for jQuery and Wordpress

The jQuery Database plugin takes your HTML tables and allows you to write a query against them similar to MS- or mySQL. I haven’t had ...

3 Comments |Add your comment.

julianrobt said:

It is nice to see that there is the article which could briefly explains about the new ventures.-------------------------------------------Julianrobert--------------------------Social Bookmarking

Posted at November 7, 2008 09:13:38 am
julianrobt said:

It is nice to see that there is the article which could briefly explains about the new ventures.-------------------------------------------Julianrobert[ur=http://www.widecircles.com]Social Bookmarking[/url]

Posted at November 7, 2008 09:12:16 am
julianrobt said:

It is nice to see that there is the article which could briefly explains about the new ventures .------------------------------------julianrobertSocial Bookmarking

Posted at November 7, 2008 09:09:40 am

Your Comment ...

  Name (required)

  Email (required, hidden)

  Website


Top Stuff

Free Blogger templates Anime Themes

Wordpress Guestbook Generator Plugin

GeekLog

Zookoda

Introduction to blogs and blogging

jumpcut


Our Partners

Facebook Applications

Ajax Projects

Web 2.0 Sites

Webloglines

Human Development Handbook

Software Development Company

Ajaxlines

Stock Exchange Chat


About Webloglines

Webloglines is a project offers a comprehensive collection of blogging services, articles, themes and plugins from around the world. Whether you're looking to promote your own blog or find blogs on various topics, this site is for you.


Search


Topics

  • Adsense (9)
  • Blogging Tips (59)
  • Blogs Slides (25)
  • Blogs Websites (22)
  • Digg (8)
  • How to Blog (65)
  • Search Engines (2)
  • SEO (40)
  • WordPress Plugins (88)
  • WordPress Security (28)
  • Wordpress Themes (36)
  • Wordpress Tips (56)

© 2006 www.webloglines.com. All Rights Reserved. Powered by IRange