Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Must have overread that. Thank you!

    Did anything occur on how to fix this issue? Because some of the writers will want to have it pretty.

    I have a question, I upgraded from 2.0.5 to 2.1 this morning and it looks like the rich text editor is more broke than ever.

    I am trying to deactivate it, but the option is MIA in Options > Writing. There used to be a check box, which is now gone.

    I searched the wp_options table for anything with *rich* in the option_name column – nothing.

    I also tried to manually insert it into wp_options – did not working (probably missing some context here).

    Also, when I switch inside the interface to “code”, that box is all the way to the right. The styling of the interface seems to be broken there. Switching back and forth makes it worse. 😉

    (System: Mac OS X, Firefox latest)

    I’d like to get rid off the editor. So what’s going on? My last resort is switching to Safari to blog, because Safari does not support the editor.

    Forum: Plugins
    In reply to: add_filter problem
    Thread Starter till

    (@till)

    Ok, I found the error.

    Inside my plugin, I opened a connection. And when I closed it, it screwed up the rest of the site. So leaving it open fixed the situation for me. Not sure why though.

    Forum: Plugins
    In reply to: add_filter problem
    Thread Starter till

    (@till)

    I checked the source code of the website again. There’s no error in the HTML. Any other idea? 😐

    This is the only filter doing this. The thing is also, I embeded a function to email me from inside the filter, to check the contents on the frontpage which are parsed. Nothing from the sidebar actually gets in there.

    Still, once I enable it on the frontpage as well, categories and static pages disappear. Like I’m overwriting some internal array? 😐

    Forum: Plugins
    In reply to: add_filter problem
    Thread Starter till

    (@till)

    Ok, first of, thanks for your reply. 🙂

    I’ll try to be more clear.

    This is my filter:
    function my_filter($string_text)
    {
    $post_id = $GLOBALS['wp_query']->post->ID;
    if (empty($post_id))
    {
    return $string_text;
    }
    /*
    query database and check if extra information
    applies to this post.
    */
    $query = "...";
    ...
    if (mysql_num_rows($res) == 0)
    {
    return $string_text;
    }
    $infoObj = mysql_fetch_object($res);
    $string_text.= sprintf(
    '<ul><li>%s</li></ul>',
    $infoObj->foo
    );
    return $string_text;
    }

    So this is what I do.

    Checking the source, I see no HTML or PHP errors. For example, once I activate the filter, the categories are gone missing. But there is no error, it just says “>> No categories” in place where the list should be.

    Any idea?

    Yes, would be very interested, since I was about to write my own. 🙂

    Thread Starter till

    (@till)

    WordPress 1.2.2 🙁

    So I guess I need to update as soon as it comes out, right?

    Thread Starter till

    (@till)

    THANK YOU. 🙂

    Thread Starter till

    (@till)

    No, it’s more or less a sign of ineffecient database queries, variable use and so on. The server should be really fine.

    I am not going to increase the value because a script tries to consume more than it is supposed to. 🙁

Viewing 9 replies - 1 through 9 (of 9 total)