Converting static sites to WordPress with SiteSucker

First of all, this post is only for those of you using a Mac. I’m sure there are a ton of tools out there for PC (because I had to sort through them before finding this one)- but for downloading an entire site for “offline browsing”- or moving files to use in your new content management system, this post is for you.

After a bit of search, I found Sitesucker. It’s shareware, and probably worth a few bucks to toss the developers way. It will download all the pages, images, everything you need to take that awful static site and make it look good in your new WordPress site.

For those of us who try to move clients who don’t know their HTML from their Hosting- it can be a real blessing. Sure, I’d love to have FTP access to a site- but in just a few minutes I’ve got all the stuff I need so the old host can take it down and I can put up the new.

Warning- it won’t help you with flash sites.

It also won’t copy the backend code you need to run a form- or any other cool stuff, but for a reference of what they had, to where you are taking them- this is the tool.

Tags: , | Categories: tutorials

Stopping PHPlist from sending a unsubscribe confirmation

We love the open source mail list management software PHPlist- although it’s interface is horribly confusing.

One thing we don’t love is it’s insistence on sending an “Unsubscribe confirmation” when you click the link to remove from the list. We get it- you don’t want e-mail from us anymore, no need to send one more.

To do this- comment out lines 658 and 659 of index.php in PHPList in version 2.10.7

the code should look something like this:

//  sendMail($email, getConfig(“unsubscribesubject”), stripslashes($unsubscribemessage), system_messageheaders($email));
//  $reason = $_POST["unsubscribereason"] ? “Reason given:\n”.stripslashes($_POST["unsubscribereason"]):”No Reason given”;

That should solve your problem.

Tags: , | Categories: tutorials

Posting Usable Code in Wordpress With No Plugins

Due to the fact that Worpress decided to get rid of the “Press It” function until 2.6, I have recently had the need to post the code that will allow you to use the “Press It” feature on your own.

As it turns out, it is supposedly very hard to post code in Wordpress. If you just copy and paste your code in, Wordpress will turn your quote marks into “Smart Quotes”. They look pretty, but do not work with code. So I set about finding a plugin or some other method to correct this.

Everywhere I looked people were recommending different methods. From using plugins and custom fields, to manually editing, and to online converters. I tried them all, but they either didn’t display the code correctly, or messed up my formatting site wide.

So here is my solution, it may have been suggested before, but I sure couldn’t find it with hours of searching and testing. Simply insert this code into your style sheet:

pre {
width: 95%;
overflow: auto;
padding: 10px;
margin: 1em auto;
font-family: "Courier New", Courier, mono;
background-color: #ddd;
color: #555;
border: 1px dotted #999;
}

Now, when you paste your code into the Wordpress editor, highlight it, and select the preformatted option from the “Format” drop down menu.

location of the format menu in the wordpress post editor

The pre tag will preserve your quote marks, spacing, indenting, and other elements.

And thats all you have to do. Your code will work when copied and pasted from the browser. If you have a long line of code, instead of running over everything, this will make a horizontal scroll bar to contain it.

Note: Wordpress may apply separate <pre> tags to each line when you select it from the drop-down menu. (I have no idea why, it defeats the whole purpose of <pre> tags) To get around this, either manually add <pre> and </pre> before and after the text under the HTML tab in the edit screen, or apply the formatting with the code all as one line, and add the line breaks in afterward.

Tags: , , , , , , , , , | Categories: Build a better site, Content Management, Internet mastery, On Blogging, tutorials

Tips on doing a Fantastico upgrade on Wordpress 2.3.1

Today we got the notification that netenberg had released the Fantastico updates for WordPress 2.3.1 after having 2.2.2 for the longest time. We’ve recently started using Fantastico to set up our initial installs of WordPress, but had done upgrades manually. Today, we tried the auto update feature for the first time- and have this warning: MAKE SURE TO DEACTIVATE ALL PLUGINS BEFORE RUNNING UPDATE. We’re not totally sure this guarantees an un-borked update, but, we’re pretty sure it helped after we reinstalled.

Fantastico is a script that runs from Cpanel on our server to help you automagically install a whole bunch of different Open Source software. It’s really handy, but, be prepared to be at least 30 days behind on most update packages (37 in this case).

Our main reason to switch to 2.3.1 was to familiarize ourselves with the new version of WordPress before the next seminar, but, I’ll give you the immediate highlights:

  • ST Visualize Advanced Features plugin  is no longer required- giving everyone access to different levels of CSS tags, the paste from Word function, clean up mess code function, type color, etc.  It’s been a plugin we couldn’t live without- esp. for the glyph finder- so it’s easy to find the ©®™½€ etc.
  • The plugin list now tells you if there is a newer version! Long overdue.
  • The tag feature helps you organize your posts and categories with yet another tool.

I’m sure we’ll discover other great features as we explore- but, as a warning to all- always disable plugins before updating.

Categories: Internet mastery, Tagging, Word Press Interface, Word Press Plugins, WordPress, WordPress is broken! Help!, tutorials

Making WordPress even easier

If there is one thing that seems overly complex to new WP users it’s FTP. I’m not quite sure why, maybe it’s the overly complex/techie look of most FTP programs (we like Transmit for the Mac- very sexy and sweet)- or recommend the FireFTP plugin for Firefox.

FTP stands for File Transfer Protocol- and it’s a fancy way of saying- copy files from your computer to a Web server. Not so hard. But, when it comes to loading a new plugin or theme for WordPress you used to have to go through all these steps:

Backup your Database

Once you’ve found a plugin or theme in your browser (preferably Firefox)- download it to your computer

  1. Unstuff it on your computer
  2. Open an FTP program and connect to your site
  3. Navigate to the WP-Content folder
  4. Browse your computer to find the file you’ve downloaded
  5. Upload it to the WP-Content folder
  6. Open your WordPress admin, go to Plugins or Presentation and activate the new addition.

Along comes Anirudh, and he writes this one click plugin- and all that goes away!

OneClick for Wordpress | Thought Outflux | Anirudh Sanjeev
OneClick is a Wordpress Plugin Firefox Extension combo which will change the way you look at wordpress forever. It reduces the effort needed to install a plugin or a theme for wordpress to just one simple click. It’s excellent for admins, non-techies, people with restrictive firewalls, and just about anyone who uses wordpress and installs plugins and themes.

Not only does this WordPress tool backup your files, providing role-back if your new plugin may bork your WP install, it has auto update notification (if he releases updates to it- a norm for Firefox installs- but not for WordPress, yet) so you will never be using the old version.

The one caveat is that it may be harder to delete some of your new themes or plugins- unless you go through his provided file nuke protocol.

We probably will stick to using our FTP process (we bill by the minute :-) – but for many of you, this may be another key to making WP the easiest system on the planet for publishing on the web.

If you do like his plugin- please go to the plugin rating contest and give him a thumbs up!

Categories: Build a better site, Content Management, Internet mastery, Word Press Interface, Word Press Plugins, WordPress Theme tips, tutorials

Best Wordpress plug-in ever? The Subscribe to Comments Plugin

A year after writing about how a po-dunk restaurant went viral with a conventional signboard with inflammatory messages, the conversation in comments is still going on. Even with the URL of the restaurant clearly in every picture- I still get search hits- and, why? Because the comments add to the content, and the newness of the material.

The main reason the comments are still coming- the Subscribe to Comments Plug-in which notifies everyone who has commented that there is a new comment on the subject via e-mail. Yes, I know you can subscribe to a feed for comments, but, the reality is- this is easier- just tick the box as you comment, and off you go.

I could have written the post below- and I highly advise you to read the little tutorial they present on set-up:

boojies » Tips: Increase the Stickiness of Your Site with the Subscribe to Comments Plugin
I didn’t realize just how useful this plugin is until I used it on someone else’s site. I fell in love with it. It’s beneficial to both the reader and the blog site/publisher.

Categories: Build a better site, Traffic building tips, Word Press Plugins, tutorials

Press It, the semi-secret WordPress content generating tool

To create this post, to teach you how to use the Press It function of WordPress, I thought it was best if I actually used it to write the post. So, just like you would, I did a Google Search for “How to use WordPress Press It”. To get to the top of Google, it never hurts to link to content that’s already at the top (lesson 1).

Looking at the Google results- I saw the WordPress Codex link. And while it’s number one, I’ve often found the codex a little rough for reading. Looking over it, I was right. So, I looked to my online “friend” Lorelle. Her posts are usually pretty on the money. So, I clicked on the link and it took me to her post. Note- this is IMPORTANT- it took me to HER POST, not her site. For Press it to work, you need to select an article or post that has a unique url. Her site url is www.lorelle.wordpress.com

this post has the url:

http://lorelle.wordpress.com/2005/09/15/wordpress-power-user-features-just-press-it/

See the difference? A post can be one of 10 or 20 or so in reverse chronological order, or it can stand alone. You need the post alone. In most blog applications, and most CMS (content management system) systems- the way you do this is to click on the headline, or look for a link that says “permalink”. This will isolate the article you are interested in.

Now, I should mention, you need to do what Lorelle explains here at the beginning as a “click and drag to your link toolbar”- or what WordPress says to “Right click on the following link and choose “Add to favorites” to create a posting shortcut.”

However, there were changes from WordPress 2.5 to 2.7. In 2.5 you made the Press It link  from the “Write post” page of your WordPress admin area- it’s at the bottom of the page. In 2.7 it’s been moved and renamed, now appearing in the Tools are of your left Dashboard column. However, you still do the same thing- drag the link to your toolbar, or bookmark/favorite it.

So, I’ve clicked to Lorelle’s post- then I highlight the part of her post I want to put on my blog to comment on. Then I look to my toolbar where I have the “Press it” bookmark stored- and click it. Voila- her highlighted content is in my write post pane- with her headline (more about this in a minute).

It’s below- and to show that I didn’t write it, I’m going to select it all and use the “Indent list/Blockquote” button from my Visual Text Editor tool bar (it’s the 7th icon over- with a blue arrow pointing at lines to move them right).

WordPress Power User Features – Just Press It « Lorelle on WordPress
With every installation of WordPress comes a little gem called Press It. It is a javascript “bookmarklet” found on the Write Post screen in your Admin. It’s at the very bottom. If you click and drag the link to your Link Toolbar in your Internet browser, it will put the javascript on the bar for you to quickly click and use.

When visiting a site you want to create a link and post about on your blog or website, just click the link and a window will pop up with either your site’s login or, if you are already logged in, a condensed version of the Write Post screen. Inside will be the title filled out with the title of the website you are visiting if there is one and a link in the Editing textarea. You just fill in the text, mark the categories, then save it as a draft or private or publish it.

Now, this is even more powerful than you first may think. If you select text on the page and then click Press It, the text you highlighted will be copied and pasted into the post. Wow That is cool and I love it. What a great feature.

You can learn more about how to use the Press It in the WordPress Codex.

When I want to return to my writing, I use the “Outdent” button (to the left of the blockquote button) and we’re back to normal. Depending on how your theme is configured, your “blockquoted” text could have a pair of apostrophes {“} or a line on the left side, or appear in a bubble, or shaded area. All this says is: “this content is quoted.”

I never use the Title of my quoted text for my title- instead, I write my own. Their title will appear as the link at the top of the blockquote. Remember, this is my take on it- not a wholesale steal. One thing about Pressit- it doesn’t know what to alt title the link- so you have to do it. Select the link, click the link tool- and write a descriptive explanation of what the link is to. While Lorelles post title is pretty clear- it’s not great: so I wrote: Link to Lorelle on Wordpress explaining the PressIt function (roll over the link to see this text). The “Title” function is critical for blind people- and a good habit to adopt. Think of one of those Amazon.com links with a million digits and letters, a blind person wouldn’t know what the link is taking him to- and remember, Google is just like a blind person.

So, we’re almost done. Only a few things to pay attention to.

If we’re Pressit’ing from a WordPress site- this works like clockwork. But, if you are quoting a TypePad site or other CMS- you may need to find a “Trackback” address that may be different than the article’s “permalink” or direct URL. This is because WordPress is elegant- and the others, well, they aren’t.

So- get that “Trackback” url and paste it below your post window in the area called “Trackback” (it’s below the upload tool- and usually under the “optional excerpt” pane). Put it in and then make sure to add your post to some categories- and hit “Publish” and you are done.

Now, while you are so proud of yourself for adding someone else’s content to your site, legally- there is one other fringe benefit, if all of this works right: there will now be a comment (or trackback) on Lorelle’s site, with an excerpt and a link to this post. Voila, we’ve built a link and a relationship! Yee-Haw!

Some people with a lot of readers don’t allow comments anymore- just trackbacks to their posts. Need an example- look at Seth Godin’s blog. Note- I have to use one URL for the post, and a second to create a trackback since Seth use TypePad.

Now- while that may seem like a lot, it’s really easy once you get the hang of it. Hopefully, this step-by-step instruction post will help.

Remember, good content brings more readers, more links, and more google love, so make sure what you add to someone else’s content actually adds value to their post.

Lorelle, how’d I do?

Here is a video tutorial from the WordPress crew:
Please enable Javascript and Flash to view this VideoPress video.

Categories: Build a better site, Content Management, Content opportunities, Internet mastery, On Blogging, Search Optimization, Tagging, Traffic building tips, Web Software tools, Word Press Interface, WordPress, WordPress Theme tips, tutorials

WordPress 2.1 – extra tools for your editor

A client asked what happened to the undo button in Wordpress 2.1- I thought it disapeared with the autosave- but with a little help from Google- I found an “Easter egg” function in Wordpress.

WordPress 2.1 – More Editor Options » Solo Technology
Recently upgraded to WordPress 2.1 and pondering the WYSIWYG editor? Did you know there are more options there than what you first see? Me neither! But, thanks to “codeispoetry” in this support thread, I do now.

Go from this:

Basic TinyMCE editor for WordPress

Basic toolbars

to this:

The “Advanced” version of the WordPress visual text editor

Advanced toolbar

PC users just hit alt-shift-v (Firefox) or alt-v (IE) to toggle it. Mac users- use cntrl-v (Firefox)

(Not seeing either of those? Visit Users → Your Profile and make sure that “Use the visual editor when writing” is checked. Still having problems? Visit the WordPress support forums.)

Pasting from word processors just became a whole lot easier. Two of the new buttons are “Paste as Plain Text” and “Paste from Word.” Nice for those who use such things. I like the custom character thing too. Now I can easily add ∞ whenever I need it…

Categories: Build a better site, Content Management, Firefox-browsers, Internet mastery, Word Press Interface, WordPress, WordPress is broken! Help!, tutorials

Web 2.0 explained in video

This is probably the easiest way to understand what web 2.0 is in under 5 minutes. Highly recommended.

The Machine is Us/ing Us (Final Version) – daneeehhhh
05:17 – March 08, 2007
Categories: Build a better site, Content opportunities, Future of the web, Internet mastery, On Blogging, Website tips for small business, tutorials

How to: Upload themes and plugins for WordPress using FireFTP and our server

When we install WordPress for clients, we often include a nice selection of themes and some essential plugins. However, many people want to change the look of their site- by uploading new themes- or add new functionality to WordPress using Plugins. Here is how you update your WordPress install using FireFTP a free plug-in FTP for Firefox.

FTP stands for File Transfer Protocol, and the FireFTP extension for Firefox is a free, open source solution- other programs that do the same thing on a Mac are Fetch and Transmit. On a PC, you can get SmartFTP or FTP Explorer. FireFTP will do everything you need- and it’s free.
First you have to have Firefox installed- go to www.getfirefox.com to download a copy (if you haven’t already). Install Firefox- and don’t worry, it can reside peacefully next to Internet Explorer or Safari- you can have multiple browsers on your machine. It’s our opinion that you should make it your primary browser- and import all settings from your current default browser- but that is up to you.

Once in Firefox- go to TOOLS>ADD ONS

This will take you to the page where all the extensions are listed. Find the Search box- and type in FIREFTP- it should take you to this page: https://addons.mozilla.org/search.php?q=Fireftp&type=E&app=firefox

Click on FIREFTP, and then the “Install now” button. Restart Firefox and you should now have a little seahorse in your tool bar- and “FireFTP” as an option in your TOOLS menu.

Screenshot of Firefox tool bar icons

The icons: back, forward (dimmed), refresh, stop, FireFTP (the blue seahorse), Sage, autofill, new tab.

Now that you have FireFTP installed- you have to set it up for accessing your WordPress installation.

These are instructions for our server- using a standard Linux, Apache, MySQL and PHP (LAMP) running Cpanel.

First- click on the “Manage Accounts” text on the left side- create new account.

Main Tab: 

Account Name: What ever you want to call your site.

Host: url.tld (example: websitetology.com)

Login: your site login, will be different than your WordPress login

Password: your site login, may be different than your WordPress login

Connection type tab: 

Check “Passive mode”

Initial directories:

Local: a folder on your computer where you will keep your WordPress files.

Remote: www

Advanced tab:

No need to enter anything in these- although you can decide on how you want your file names to be structured- either Leave Case Alone, convert to lower case, or  CONVERT TO UPPER CASE (note- all files must not have spaces in them.)

Clicking on connect should open the connection- with your local folder on the left- and your www folder on the server on the right.Screenshot from FireFTP

There will be a long list of files on the server- with a lot of them starting with WP – this is your WordPress install- the only, ONLY, folder you will move things in and out of is your wp-content folder.

Inside it you will find three folders,  Uploads, themes and plugins.

These are where you place your content- respectively.

Uploads is where the WordPress upload tool will place your files- using a year, month, date file hierarchy. Sometimes you may go in here to update a file, or check a link structure. Most of you will never have to access this folder.

The Themes folder is where you will copy the entire folder of a theme that you have downloaded to your computer from someplace like the WordPress Theme Viewer. To upload the file from your computer to the server- have the closed folder that contains your theme on the left, and the themes folder open on the right- select the theme on the left- and click the right arrow button in the center-FireFTP will begin the upload process.

Screenshot of FireFTP for uploading theme to WordPress To upload- select the file on left- Pool, click right arrow and it will move from your computer to the server.

Once the files are done the FTP process- you log into your WordPress admin panel- the Desktop, click on the presentation tab- and activate your new theme.

To upload Plugins- you do the same thing- only upload them into your Plugin folder.

If you have any questions- or run into problems with these instructions- please comment below- and I will update or clarify the instructions.

Categories: Build a better site, Content Management, Firefox-browsers, Internet mastery, Word Press Interface, Word Press Plugins, WordPress, WordPress Theme tips, tutorials