sphyr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: categories goneI’m having this trouble, too. When I go the the “Edit” section, some of the posts have a button menu to choose the categories, but other posts don’t have this menu and I can’t change the categories. There doesn’t seem to be any rhyme or reason why some posts get this option and others don’t.
Any idea?Forum: Fixing WordPress
In reply to: Convert TwiceNever mind. I got impatient. ??
Also after reading the php, it was pretty clear this was an importer, meant to be run more than once, so I should be safe.Forum: Fixing WordPress
In reply to: Convert TwiceI’m trying to read the “import-livejournal.php” file but I don’t know php yet. But this part looks like it only inserts posts:
$wpdb->query(“INSERT INTO $tableposts
(post_author, post_date, post_date_gmt, post_content, post_title,post_status, comment_status, ping_status, post_name)
VALUES
(‘$post_author’, ‘$post_date’, DATE_ADD(‘$post_date’, INTERVAL ‘$add_hours:$add_minutes’ HOUR_MINUTE), ‘$content’, ‘$title’, ‘publish’, ‘$comment_status’, ‘$ping_status’, ‘$post_name’)”);
$post_id = $wpdb->get_var(“SELECT ID FROM $tableposts WHERE post_title = ‘$title’ AND post_date = ‘$post_date'”);
if (!$post_id) die(“couldn’t get post ID”);
$exists = $wpdb->get_row(“SELECT * FROM $tablepost2cat WHERE post_id = $post_id AND category_id = 1”);
if (!$exists) $wpdb->query(“INSERT INTO $tablepost2cat (post_id, category_id) VALUES ($post_id, 1) “);
echo ‘Done!‘;
I’d like a pair of eyes that knows php to confirm that first. :/
Forum: Plugins
In reply to: Help For Alex’s Style Switcher / RootPerhaps. I was deleting cookies in between attempts. I suspect I munged up one of the changes from ‘siteurl’ to ‘home’ the first time.
Of course, the style sheet I defaulted to is ugly as all get-out. :/Forum: Plugins
In reply to: Help For Alex’s Style Switcher / RootThat’s the hack I mentioned in my post; perhaps I munged something, so I’ll try again….
<later>
It seems to be working now if I put it in the /wordpress folder like the original style switcher suggested. I suppose I munged something. Thanks for the help.Forum: Fixing WordPress
In reply to: RootI’ll edit it in Dreamweaver. It’s a brand new installation, just converted from Blogger.com to WordPress tonight and wanted to make sure I didn’t munge something before I quit for the night.
Forum: Fixing WordPress
In reply to: Import Haloscan commentsMy blog is only a month old, and 100 comments or so. I could probably do this manually with cut-n-paste – do I have to login as each user to do this?
Forum: Fixing WordPress
In reply to: Import Haloscan commentsI’m guessing the answer is “no” based on the searches I did tonight.
Forum: Fixing WordPress
In reply to: blogroll importI’m getting the exact same error.
Forum: Plugins
In reply to: What can I modify?So when 1.25 or 1.3 comes out, whatever changes I make to index.php and the templates file, I have to make all over again?
Forum: Installing WordPress
In reply to: Installation Error – database name incorrectAfter I changed my db_host entry as you suggested, the installation went flawlessly.