Forum Replies Created

Viewing 11 replies - 121 through 131 (of 131 total)
  • Forum: Fixing WordPress
    In reply to: categories gone

    I’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 Twice
    Thread Starter sphyr

    (@sphyr)

    Never 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 Twice
    Thread Starter sphyr

    (@sphyr)

    I’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. :/

    Thread Starter sphyr

    (@sphyr)

    Perhaps. 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. :/

    Thread Starter sphyr

    (@sphyr)

    That’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: Root
    Thread Starter sphyr

    (@sphyr)

    I’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.

    My 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?

    I’m guessing the answer is “no” based on the searches I did tonight.

    Forum: Fixing WordPress
    In reply to: blogroll import

    I’m getting the exact same error.

    Forum: Plugins
    In reply to: What can I modify?
    Thread Starter sphyr

    (@sphyr)

    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?

    Thread Starter sphyr

    (@sphyr)

    After I changed my db_host entry as you suggested, the installation went flawlessly.

Viewing 11 replies - 121 through 131 (of 131 total)