Forum Replies Created

Viewing 5 replies - 31 through 35 (of 35 total)
  • Forum: Plugins
    In reply to: swf and code in posts

    Your best bet for SWF files is to go your profile and turn off the rich editor. TinyMCE doesn’t play well with object tags, I’ve found.

    With the combination of Bad Behavior and Akismet, I’m at a loss as to why any other anti-spam plugins might be required. These two are all that anyone could need to eliminate spam from their WordPress blog.

    Thread Starter ketsugi

    (@ketsugi)

    A side note to the user_level issue: I noticed that creating new users in WordPress 2.1 still creates the wp_user_level option in the usermeta table, so user levels aren’t quite as obsolete as you think. However there seems to be a bug in the install.php in that the default user’s (admin) user level is not set, which leads to the bug I experienced.

    I’ll file a ticket in the WP Trac for that.

    Thread Starter ketsugi

    (@ketsugi)

    I hacked myself a fix by inserting a row in the usermeta table to give myself an appropriate user level.

    By the way there’s another unrelated bug in the code: you use
    $site_path = trailingslashit(get_settings('home'));

    This is usually fine and dandy for most people, but those who keep their index.php in a separate directory from their WordPress files will find that the admin links point to the wrong place, and the CSS file doesn’t load.

    Both instances of that line should be changed to:
    $site_path = trailingslashit(get_settings('siteurl'));

    This will yield the correct path to the WordPress folder.

    Why not just store it as an array:

    Array (
    “user_id” => 3,
    “my_option” => true,
    “my_other_option” => “buggaboo”
    )

    then serialize it and chuck it in as an option using add_option()

Viewing 5 replies - 31 through 35 (of 35 total)