Tag Archive: Posts tagged Wordpress
MyTwitter 1.6 Beta
Posted by Erundur Anwamehtar on March 30th, 2008, at 2:48pm

I released MyTwitter 1.6 beta last night/this morning. A few minor tweaks that you can read about in the changelog. The main thing I did was ensure that it functions properly on the newly-released Wordpress 2.5. It does.

If you’re curious, Cal has a decent writeup about the Wordpress 2.5 release and things you should consider before upgrading.

Minor Threats
Posted by Erundur Anwamehtar on March 27th, 2008, at 7:09pm

I’ve upgraded to the newest version of Wordpress (2.3.3, not quite ready for 2.5 beta). 2.3 had some vulnerabilities so I’m doing the smart thing and closing out some of the holes. Even 2.3.3 has been reportedly having some issues recently and I hope Wordpress will fix the problems and not just ignore the issue in favor of finishing 2.5. Yeah, I want 2.5, but I want a stable version of the platform I’m currently on.

If you noticed the site had a bit of downtime earlier today, this would be why. I needed to update it as soon as possible, so I did.

MyTwitter for Wordpress (Official Plugin Page)
Posted by Erundur Anwamehtar on January 19th, 2008, at 9:51am

MyTwitter @ Twitter: twitter.com/MyTwitt3r

Current MyTwitter Version: 1.6 beta (March 30, 2008) — Wordpress 2.5 Compatible!
Download (Zip) (hosted at official Wordpress Plugins site)
Note: Only download from sites you trust. I’ve seen a few illegitimate spam sites popping up with ripped-off copies of the text and files with no attribution.

About: MyTwitter allows users to display their Twitter status updates (tweets) on their Wordpress site and update their status through the Options page. Includes customization options including number of recent twitters to display, formatting options, and stylesheets. It can be called as a function or used as a widget.

Donate: If you appreciate the MyTwitter for Wordpress plugin, please consider leaving a donation for the author.


Compatibility: Tested and works with Wordpress 2.3 to 2.5, but should work with Wordpress 2.2+. Tested and works on servers with PHP versions 4.7 and 5.2+.

Requirements: SimplePie is required and version 1.0.1 is included in the distribution file. (I may update this to SimplePie 1.1 soon, but this would remove support for PHP 4 so I haven’t yet.) For best performance, the following PHP modules are recommended and you may have problems if you’re missing them on your webhost: XML, PCRE, cURL, Zlib, mbstring, iconv (see also: SimplePie Requirements).

Installation: Extract the contents of the archive. Upload the mytwitter folder to your Wordpress plugins folder (e.g. http://yoursitename.com/wp-content/plugins/). Set your preferences in the Wordpress Options panel for “MyTwitter” (including username, password, and formatting options). Set the Cache Life to the length of time for the Twitter feed to be cached before checking for updates.

If it doesn’t already exist, create a folder named “cache” in the root directory or your webserver (and give it write permission - chmod to 755) or alternatively edit the CACHELOC value in the plugin to point to a different location (if you do this you may need to reupload the plugin) — the cache location will be added to the Options panel in a future version.

Stylesheets: Example CSS code is included in example.css. To incorporate on your site, copy/edit the code to the stylesheet for your current wordpress theme. For most themes, this can be done by going to Presentation -> Theme Editor and then select “Stylesheet” from the theme files list. The following is the CSS classes/IDs you can use to style your tweet output (additional notes available in the example.css file).

CSS Classes: mytwitter, mytwitter_tweet, mytwitter_tweet_time, mytwitter_separator
CSS IDs: mytwitter_tweet-1, mytwitter_tweet_time-1, mytwitter_separator-1 — the number increases sequentially for each tweet displayed. If you are displaying 5 tweets, they will be numbered from 1 to 5, (mytwitter_tweet-1, mytwitter_tweet-2, etc.)

To Display Your Twitters:
Call the mytwitter() function from your sidebar template or wherever you want to display your recent tweets. If you have a widget-enabled theme, you can add it to your sidebar by going to the Wordpress Presentation tab, selecting “Widgets” from the menu, and then drag “MyTwitter” to the location you want it displayed on your sidebar.

<?php if (function_exists(’mytwitter’)) { ?>
  <li><? mytwitter();?></li>
<?php } ?>

Comments/Questions/Errors: Please leave a comment if you have errors or suggestions. If commenting about an error, include your versions of MyTwitter, Wordpress, and PHP. (Note: First-time comments are moderated.)

Credits: MyTwitter was inspired by Sarah Isaacson’s Twitter Wordpress Sidebar Widget. Some ideas inspired by and/or adapted from Alex King’s Twitter Tools 1.0 plugin.

Contributions: I’ve incorporated a code modification written by Sascha to enable MyTwitter usage as a widget. @replies parsing function updated with code from @krokodilerian (site).

Warranty: This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CHANGELOG:
v. 1.6

  • added CSS class to the widget and widget title, renamed the time_since() function to mytwitter_time_since()
  • verified compatibility w/ Wordpress 2.5 (it works!)

v. 1.5

  • updated parsing for “@” replies (courtesy of @krokodilerian - http://vasil.ludost.net/blog/)
  • added additional formatting options including ability to style w/ CSS and change order of tweet/time
  • added mytwitter_mostrecent() function to display the most recent update (w/o formatting options) in the Options panel for MyTwitter

v. 1.4

  • added cache life setting, default is set to 900 seconds (15 minutes)

v. 1.3

  • changed version numbering to 1.x instead of 1.0x to match the numbering used at the Wordpress Plugin Database
  • added the ability to post status updates from the Options page for MyTwitter

v. 1.02

  • incorporated Sascha’s modifications to enable use of MyTwitter as a widget in widget-enabled themes

v. 1.01

  • modified the time display code to correctly function on servers with PHP version 4
  • updated the documentation

Old Versions: If you need an old copy of the plugin for any reason, just let me know.

MyTwitter Wordpress Plugin
Posted by Erundur Anwamehtar on October 20th, 2007, at 12:29pm

NEW ADDRESS: http://anwanore.com/projects/mytwitter — The plugin has a new address at a project page I created exclusively for the MyTwitter for Wordpress plugin

Plugin: MyTwitter
Current Version: 1.5 (Updated February 10, 2008)
Download (Zip) (from official Wordpress Plugins site)
Download (Zip) (from my server)
Note: Only download from sites you trust. I’ve seen a few illegitimate spam sites popping up with ripped-off copies of the text and files with no attribution.

About: MyTwitter allows users to display their Twitter status updates (tweets) on their Wordpress blog and update their status through the Options page. Includes customization options including number of recent twitters to display, formatting options, and stylesheets. It can be called as a function or used as a widget.

MyTwitter @ Twitter: http://twitter.com/MyTwitt3r

Please see the new project page for MyTwitter for installation assistance and to leave any comments about the plugin.

Apologies
Posted by Erundur Anwamehtar on May 31st, 2007, at 2:50am

I apologize if you had trouble accessing the site today. One of my Wordpress plugins randomly stopped working for whatever reason, so I axed it and replaced it with a newer, better version of an alternative plugin and now things are running smoothly. I also upgraded to the most recent version of Wordpress while I was at it. You probably won’t be able to tell the difference, but if you’d like you can just imagine the engine of your car without any dust or misplaced grease. It’s like that.

Also, if you’ve tried using my RSS feed lately and it wasn’t working… I apologize. Apparently the address I had set up at Feedburner was from my old address from over a year ago which stopped redirecting at some point so things went dead. Whoops!

In any case, the feed addresses are as follows and are up to date and functioning properly:
anwanórë - http://feeds.feedburner.com/anwamehtar
Comments for anwanórë - http://feeds.feedburner.com/anwanorecomments55

Update: I’ve also refreshed the link categories in the sidebar to recommend sites I enjoy more recently. Also did some slight reorganizing of the sections and added a new “Teh Awesome” category for miscellaneous sites I enjoy. If you haven’t heard about Starcraft II yet, go view the previews at the link.

You’ll notice if you look closely that there are a few minor formatting issues with the text layout currently. I’m working to resolve this problem, but it’s not going to be finished tonight.

Another Update: I’ve tried some different plugin options for the formatting (Textile2 and TextileWrapper). While the newest versions of both of these plugins work, I’m encountering some spacing problems on a few of my posts. For now I’m just going to leave this plugin off and fix any of my posts where I used Textile to do the formatting.