Wordpress

WordPress: Flickr Manager for WP 2.8

Since WordPress 2.8 “Flickr Manager” plugin stopped to work. I was able to upload my files to Flickr but failed to insert the picture into my posts or pages.

Flicker Manager v.2.8As Flickr Pro member and WordPress fan I love this extension into WordPress.  Today a found solution on my problem.

Flickr Manager (2.8)

A modified version of Flickr Manager for wordpress to work with wordpress 2.8

Thanks guys from SEO Tools

WordPress: latest and greatest release of 2.8

For three weeks I planned to install the latest release of WordPress 2.8. The list of improvements and enhancements is endless!

Highlights

  • New drag-and-drop widgets admin interface and new widgets API
  • Syntax highlighting and function lookup built into plugin and theme editors
  • Browse the theme directory and install themes from the admin
  • Allow the dashboard widgets to be arranged in up to four columns
  • Allow configuring the number of items to show on management pages with an option in Screen Options
  • Support timezones and automatic daylight savings time adjustment
  • Support IIS 7.0 URL Rewrite Module
  • Faster loading of admin pages via script compression and concatenation

Click here to see complete list of new things.

Good to see IIS 7.0 support mod rewrite and the development in this area.  WordPress is making the update of their system that you shouldn’t wait to go ahead.

One of the new cool things with Plugins after 2.8 upgrade.

WordPress: Reset Admin password

WordPress LogoI am not sure when WordPress started to create the default admin password for us  but couple times it happened that I lost my admin account password. There are serveral ways how you can perform the password reset for WordPress. Click here to read more.

This is my instrcution how I reset my “admin” account password for WordPress 2.7.1:

  • Open a linux shell and run where password is your own one: 
    echo -n password | md5sum
  • Open phpmyadmin and open your wordpress database; run following sql (please change the database to yours):
    UPDATE ’name-your-database’.'wp_users’
    SET ’user_pass’ =’ 5f4dcc3b5aa765d61d8327deb882cf99′ WHERE  ’wp_users’.'ID’ =1 LIMIT 1 ;
  • You can also run mysql; select the database with “use name-your-database;” and run the UPDATE sql from above.

 

WordPress: intranet and firewall

WordPress LogoI am huge fan of WordPress blogging platform. Recently I introduced the tool in a enterprise environment.

WordPress is running behind a restricted network and has no connection to the Internet. While installing and finalizing the virtual machine which is used to host WordPress I encountered one problem with it.  WordPress was slow!

I download  latest version of WordPress 2.7 and installed it on a Ubuntu JeOS 8.04 virtual machine appliance. The initial configuration went fine; but after I opened the admin area and the blog site it took ages before the pages were returned. WordPress was so slow within this Intranet environment that every action more than 30 seconds took.

Due to the fact virtual machine was sitting in a firewalled intranet environment the system could not connect to services sitting on the internet. 

See my worklog how I got WordPress working and pages are loaded in less than a second:

 

  • Goto ../wordpress/wp-includes and open http.php
  • Search for “ function request( $url, $args = array() ) {“
  • Add “return;”  behind global. E..g “  return;global $wp_version;” WordPress 2.7 http.php

 

Well now I disabled all interactions to the Internet, but I don’t need them in this enviroment. For more information goto here.

WordPress: external SMTP server setting

WordPress LogoRecently I installed and configured a WordPress appliance. The vm was running in a intranet environment and we had only single SMTP server which allowed to relay into the Exchange organization.

The vm appliance was download and it had a admin option to configure the SMTP relay server. I configured correct IP address of the SMTP server but when I posted comment or any other action where WordPress needed to send out an email it took 30-60 seconds before the action was finished. After waiting for some minutes I also did not receive any email from the system.

Before troubleshooting and spending whole day in finding the root cause I found some posts how to change WordPress default behavior for email notifications. The vm has all LAMP roles and WordPress version 2.7 is running.

How to change WordPress to use SMTP server?

  • Go to ./wordpress/wp-includes and open file “pluggable.php”
  • Search for “$phpmailer->IsMail();” and change the phpmailer setting to “$phpmailer->IsSMTP();” ; save and close the file
  • Go to ./wordpress/wp-includes and open file “class-phpmailer.php” and search for “var $Host“; localhost should be defined. Change this to appropriate SMTP server in your environment. Save and close the file.
    SMTP Server WordPress

I used WinSCP to connect with SSH and change the files. Again posted some comments and received the admin notifications in my Inbox.