Archive for the 'WordPress technicalities' Category

WordPress upgrade

Friday, September 12th, 2008

A week or two ago, I finally upgraded WordPress from 1.5.x to 2.6.2. After the upgrade, I had problems with the layout of the initial page, and problems logging in. Removing the inScript plugin directory and disabling wpPaginate (and updating the Giraffe theme) seemed to fix things. In the meantime, I got many spam comments.

The spam should have been cleared now, and the blog working as normal. Let me know if you encounter any problems….

BTW, I recommend the WordPress Automatic Update plugin. It does make life simpler.

WordPress 2.0.2

Thursday, April 6th, 2006

I just upgraded to WordPress 2.0.2 and reactivated the plugins. It went without a hitch. I hope to explore the new features and spend some time on the website this weekend.

Blogging, improved!

Sunday, November 27th, 2005

Critical Exponent is my new presence on the web. Powered by WordPress, it will allow me to consolidate my previous blogs while giving me more control over content and appearance.

My old Blogger entries and comments have all been migrated to this new site; the old blogs will remain static from now on. To read old entries, simply look through the Old Blogs category.

This is still a work in progress. There are planned feature and appearance changes that will find their way to the site over the next several weeks. If you’re interested in how I have customized WordPress, look at the Colophon page and the WordPress technicalities category.

I look forward to interesting discussions and comments. Enjoy!

Backing up the WordPress database

Sunday, November 27th, 2005

Here are easy directions for backing up your database. The blog infrastructure can easily be backed up using your system’s standard file commands.

Turn off plugins when moving blog directory

Saturday, November 26th, 2005

I was following the codex directions to move WordPress, but I could not get it to work: I could see the blog in its new location but I could not log into it. I had to go into the wp_options database and manually change the Blog URI back to its old location.

I finally managed to get the move to succeed by deactivating all the plugins before switching the URI in the Options/General tab and moving all the files.

Getting the current page slug

Thursday, November 24th, 2005

To get and modify the full URL to the page being currently displayed, I’ve found that the following works:

<a href="<?php echo $_SERVER['REQUEST_URI'] ?>and/modify/url"> ... blah ... </a>

Feedback and hypnosis

Wednesday, November 23rd, 2005

An article in The New York Times explains some new insights into how hypnosis works:

The same processing stream, from lower to higher regions, exists for sounds, touch and other sensory information. Researchers call this direction of flow feedforward. As raw sensory data is carried to a part of the brain that creates a comprehensible, conscious impression, the data is moving from bottom to top.
Bundles of nerve cells dedicated to each sense carry sensory information. The surprise is the amount of traffic the other way, from top to bottom, called feedback. There are 10 times as many nerve fibers carrying information down as there are carrying it up.
These extensive feedback circuits mean that consciousness, what people see, hear, feel and believe, is based on what neuroscientists call “top down processing.” What you see is not always what you get, because what you see depends on a framework built by experience that stands ready to interpret the raw information - as a flower or a hammer or a face.
The top-down structure explains a lot. If the construction of reality has so much top-down processing, that would make sense of the powers of placebos (a sugar pill will make you feel better), nocebos (a witch doctor will make you ill), talk therapy and meditation. If the top is convinced, the bottom level of data will be overruled.
This brain structure would also explain hypnosis, which is all about creating such formidable top-down processing that suggestions overcome reality.

The article goes on to mention how hypnotizable subjects were able to overcome the Stroop effect (that is, correctly name the color of a word when the word itself is the name of a different color).

This means, too, that the power of self-suggestion is a powerful tool for change: affirmations and visualizations, cheesy as they may sound, conceivably help reprogram this top-down feedback.

Press It mangling titles and URLs

Tuesday, November 22nd, 2005

This note explains the mangling that occurs with PressIt:

I have Firefox 1.0 (Networked, so can’t update to 1.0.2), and if I’m already logged in, then it’s fine. However, if I’m not, and it then has to bring up the login screen, the spaces in the title, and the text, are all replaced by 20, : by 3f etc….If I’m logged into WordPress it’s fine.

Advanced editing with PressIt

Tuesday, November 22nd, 2005

To enable the PresIt bookmarklet to have the advanced editing option, just perform the WordPress Bookmarklet Hack.

When creating a private post, don’t hit “Publish”

Tuesday, November 22nd, 2005

As that will make it no longer “Private” but “Published”. Duh, but not obvious, since there is another path to publishing: marking the post as “Published” and then saving it. Bad UI!