Moving a PunBB installation

Okay, so you've moved Wordpress, and now you need to move PunBB.

First, change the database settings in config.php.

Then update your base URL with a sql command:

UPDATE pun_config SET conf_value="http://mysite.com/forum" WHERE conf_name="o_base_url";

Labels:

Posted at 8:00 PM | 0 comments read on

Schedule posts in Blogger and Wordpress

You can post to a future date now using Blogger. You have to use draft.blogger.com though. It's not yet available through the regular Blogger interface.

Here's how you do it:

When you're writing a blog post, select 'Post Options' at the bottom of the blog post. That will expand and give you the option of adding a published date. Put the date sometime in the future, and when you click 'Publish Post,' it will hold that post until the future date and publish it at that time.

Read all about it.

Of course, Wordpress has supported this for some time.

If you want to schedule a future blog posting date in Wordpress, follow these steps for each post:

In the right sidebar of the regular page for writing blog posts, in the 'Post Status' box, set it to 'published.'

Then, in the 'Post Timestamp' box, select 'Edit timestamp.'

Change the date to whatever you want.

Click the Publish button, as you normally would, and you're done!

Labels: , , ,

Posted at 5:10 PM | 1 comments read on

Moving a Wordpress installation

Here's a simple guide/checklist that can save you some headaches when you're moving your Wordpress (2.3.1) installation from one server/domain (including localhost) to another.

First, change your database settings, if necessary, in wp-config.php.

Second, edit the .htaccess file in the Wordpress directory, if necessary.

Third, the base URL for the blog is set in the options table of the Wordpress database. To change it, use sql commands:

UPDATE wp_options SET option_value="http://mysite.com/blog" WHERE option_id=1;
UPDATE wp_options SET option_value="http://mysite.com/blog" WHERE option_id=40;

If the blog home page turns up blank and all the blog pages blank, then make sure the theme is set correctly in the database:
- 49, 50 in wp_options

If you're using "pretty" permalinks, make sure that mod_rewrite is enabled on your server.

Labels:

Posted at 4:45 PM | 3 comments read on

How to set the MS-DOS path in Microsoft Vista

I upgraded to Vista and had to re-install all my web development software, including Vim. I use a lot of Vim plugins, one of them being Taglist. So I started Vim on the new machine, but the Taglist plugin wouldn't load, because the ctags path could not be found!

Largely for my own reference, here's how to set the path variable in Windows (Vista), follow these steps:

Control Panel > System and Maintenance > System >
Advanced System Settings > Advanced (tab) >
Environment Variables (button) >

Scroll down until you see path and click the edit button.

Labels: , , ,

Posted at 11:01 PM | 1 comments read on