April 5, 2012
Had I written at length about my epic struggle with BT over the last year or so, (during which time the consolidation of my phones and broadband turned into what I can only describe as a targeted campaign of poor customer service and erroneous billing), this category (Named and Shamed) would be overflowing with ranting posts.
Now that the dust has settled I thought I had better upload the results of a problem I have been having with my BTConnect e-mail account. I had noticed that the account (which I use only occasionally, fortunately) had been suspiciously quiet for a couple of weeks. I sent a couple of test messages this morning, and sure enough – no e-mail was arriving despite the fact that no ‘receive error’ was displaying.
After trawling forums for similar distress stories (of which there were many), I saw that most were blaming an over-active spam filter. So I went straight to the horse’s mouth and logged into my BT online account. After clicking on ‘Your E-mail’ I was presented with a Microsoft-esque screen welcoming me to my new account: Welcome to Office 365.
I then clicked the (pink) login button and entered my BT e-mail address and password – and sure enough, all my missing e-mail was displayed in an online mail window. Including the test messages I just sent.
How do I manually set up my POP email client using Microsoft Office 365?
I found this page:
entitled: How do I manually set up my POP email client using Microsoft Office 365?
A list of options send you to your e-mail client (even catering for Apple Mail!):
After following the instructions, my BT Connect account inbox started filling up with all my missing messages. I hope you have the same success…
March 22, 2012
With thanks to this post, this snippit of code (when added to a template) will allow you to create page content (or several pages) that can be inserted into another page, thus making any content management a little easier to cope with by a client. For example, instead of editing one big page with a variety of content (and risking damaging the layout), you can just edit single blocks of text that will automatically appear on your designated page.
<?php // Create second WordPress loop $page_content = new WP_Query( 'pagename=page-slug' ); while( $page_content->have_posts() ) : $page_content->the_post(); // Your content output goes here echo '<h2>'; the_title(); echo '</h2>'; the_content(); endwhile; // Don't forget to reset the post data! wp_reset_postdata(); ?>
If permalinks are set to default, pagename=page-slug becomes page_id=8 (substitute ‘8’ for the actualy page ID number).
March 9, 2012
If you have a Mac and you want to download YouTube videos to your hard drive (as we recently had to do for a client), here’s how.
You need to download the VLC video player in order for this to work.
Step 1 – Copy the URL of Video you want to download from YouTube (select the website address at the top of Safari and copy the whole thing).
Step 2 – Open the VLC program. Select FILE/ADVANCED OPEN FILE… from the menu. Click ‘Network’ and paste the address into the URL field. Click Open.
Step 3 – Select WINDOW/MEDIA INFORMATION… A window will open up with ‘Location’ at the bottom containing the online address of the video. Select and copy this address.
Step 4 – Go back to Safari and open a new window. Paste the address into the Safari address bar. Select WINDOW/DOWNLOADS and you should see the last thing on the list in the downloads window is a file called ‘videoplayback’. Click the little magnifying glass to the right of the file to locate it on your hard drive. It would be a good idea to rename the videoplayback file to the name of the video so you know what you’re looking at when you play it back later.
Step 5 – Drag the file from the downloads folder over the VLC video player window and you should now be able to watch the video offline…
In Safari, go to the video you want to watch in YouTube. Whilst it is playing, select WINDOW/ACTIVITY. Look down the list of items displayed under the name of the page you’re on. There should be one much bigger than the rest (in terms of file size). Double click this one and a file called videoplayback.flv should appear in your downloads window. Once it has downloaded it you’ll be able to play it back offline (assuming you have a Flash player available). VLC player will also play Flash videos so you could just open it in there.
February 23, 2012
It’s been a source of some irritation up to now that WordPress caption containers have been somewhat unwieldy when it comes to styling. I really wanted them to behave differently depending on what size image they contained, and whilst the images have identifying hooks (like size-large & size-medium etc) the caption containers just displayed wp-caption and wp-caption-text (other than the dynamically generated individual image identifier).
What I had to do in the end was ‘hack the core’ and make a very slight adjustment to the includes/media.php file as follows:
I changed this line (approximately line 745):
return ‘<div ‘ . $id . ‘class=”wp-caption ‘ . esc_attr($align) . ‘” style=”width: ‘ . (10 + (int) $width) . ‘px”>’
return ‘<div ‘ . $id . ‘class=”wp-caption ‘ . ‘imagesize’.$width . ‘ ‘ . esc_attr($align) . ‘” style=”width: auto”>’
This achieved two things. First it removed the automated additional 10px width added to the box (taking the image width and adding 10 pixels). Secondly it added a CSS class after the wp-caption entry. This becomes imagesizexxx. The xxx becomes whatever the image width is. That way you can specify exactly how you want the caption box to behave depending on what width image it contains.
February 20, 2012
If you want to edit your WordPress self-hosted blog using the iPhone or iPad App, you may come across an error message that reads: “http/1.1 405 Method Not Allowed”. The reason for this is that the file in the root of a WordPress blog that smart devices access for editing purposes: xmlrpc.php is often used by hackers to access a website and cause malicious damage. For this reason Web Hosts take a flamethrower approach by blocking all access to the file.
I ran across this issue whilst trying to add a blog to an iPad version of the App. The blog is running on WordPress 3.3.1 and I managed to solve the problem by following these steps:
- Rename the xmlrpc.php file via FTP (found in website root) to xmlrpc_whatever.php
- Through WordPress Dashboard, click on Plugins / Add New and search for Rename XMLRPC
- Install Rename XMLRPC plugin but don’t activate it
- Find Rename XMLRPC plugin in list and click ‘edit’
- Locate the line that reads:
$renamed_xml_rpc_filename = ‘xmlrpc2.php’; //CHANGE THIS pointing to the renamed file
- Change the filename xmlrpc2.php to xmlrpc_whatever.php and click Update File
- Activate the plugin
- In the WordPress Dashboard, go to Settings / Writing
- Near the bottom of the page find and tick the checkbox: Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.
- From your device WordPress App, add a self-hosted WordPress blog and make sure the address is: http://www.yourwebsite.com/xmlrpc_whatever.php
This should now add the blog without further error.
December 3, 2011
These rectangles showing ‘A’ paper sizes next to each other are all very well, but wouldn’t it be more useful to have them held up by a person so you could gauge their actual size? Thus the graphics below… Download the Cheat Sheet Page Size Poster here
March 31, 2011
A project for Martin & Co – to turn a house into a cake.