Forum Replies Created

Viewing 15 replies - 1 through 15 (of 57 total)
  • Thread Starter goxu

    (@goxu)

    I really appreciate it, markjaquith.

    It is something I don’t know but.. I would install another wordpress and see if the same thing happens.

    I would disable all the plugins and see what happens.

    I would remove the feed in the dashboard and see what happens.
    http://wordpress.org/support/topic/53586?replies=4

    I don’t recommend ipower. They once have suspended my account without notice for my plugin. And now they have locked the cache directry under the wp-contet.

    What they said by e-mail after a few days of the sudden shutdown was that some scripts are causing an extreme high load on the server. That’s it.

    They don’t provide the details including how much the server performance was affected, specific names of the scripts, numbers of process, information of memory and cpu resource usage.

    To me, it’s just for no reason.

    I had a plugin script which retrieves rss feeds with magpie and creats listings by categories sorted by time. That was the core part of the site. After they unsuspended my account, I modified it to run less freaquent. But they didn’t like it. So they now locked the cache directry which other scripts are also using.

    If you are a coder, it will very discourage your motivation to write scripts since making scripts is like weaving little secrets, especially if you don’t publish them. If you get a locked directry all the sudden and you will feel intervened.

    After all, what they say is to upgrade the plan to VPS’s, which costs around 50 bucks/m. It’s ridiculous that the money won’t come back which was paid annually if I discontinue them.

    If you don’t run heavy scripts, then they might be ok.

    Thread Starter goxu

    (@goxu)

    Thank you markjaquith for your responce.

    What kind of change was made in v2.1 in order to make it work?

    What I’d like to do is just changing this,

    $this->select($dbname);

    to,

    mysql_query("SET NAMES utf8", $this->dbh);
    $this->select($dbname);

    in the wpdb funtion of the wp-db.php.

    Could this be done differently for the older versions? Is it not possible to do it with a single plugin?

    Sorry if you meant to suggest the use of query filter for this since I’m not familiar with it.

    Thread Starter goxu

    (@goxu)

    Could anybody help please?

    Hello,

    I made a plugin which restricts IP addresses to login to the admin panel, meaning you can ban different ip addresses from the admin panel.

    It is available from here

    This might help a bit if the hackers use the admin panel.

    Thread Starter goxu

    (@goxu)

    The ‘init’ hook did the job.

    Forum: Plugins
    In reply to: Modyfing the Header Output
    Thread Starter goxu

    (@goxu)

    Thank you for the attention. The ‘init’ hook did the job.

    Thread Starter goxu

    (@goxu)

    Thank you for the reply Handy Solo,

    Well, how does the plugin author know when you temporarily disable it vs uninstall it?

    That’s true, nobody can tell it. But my concern is too much unnecessary data slowing down the performance. It seems there is no plugin dealing with it.

    If you know the way to delete unused options, it will be greatly appreciated.

    Forum: Plugins
    In reply to: iG:Syntax Hiliter Plugin

    Hi,

    Somehow, the Plain Text Bar keep appearing even though I disable the ‘Show Plain Text Code Option’ via the option panel.

    I don’t know when the bar goes back to the setting to be displayed, but it just suddenly happens sometims. Everytime it appears, I have to disable it again and again.

    So is there another way to disable the feature completely?

    Thread Starter goxu

    (@goxu)

    I haven’t been able to figure out yet.

    There was a minor mistake in the last line. the ‘admin_header’ had to be ‘admin_head’.

    Still, I keep getting the following error in the admin panel after enabling this plugin. Is it only me getting this or do you also get this error too?

    Warning: Cannot modify header information – headers already sent by (output started at /home/wordpress/wp-admin/admin-header.php:16) in /home/wordpress/wp-content/plugins/force_gohome.php on line 12

    <?
    /*
    Plugin Name: Go Home
    Plugin URI: http://example.com
    Description: forces anybody to go home
    Version: 0.1beta
    Author: Goxu
    Author URI: http://example.com
    */
    function force_gohome(){
    header('Location: ' . get_settings('siteurl'));
    exit();
    }
    add_action('admin_head', 'force_gohome', 1);
    ?>

    Thread Starter goxu

    (@goxu)

    Ok,

    If I embed the following code at the very beggining of the wp-admin/admin-header.php it works.

    header( 'Location: ' . get_settings('siteurl') );
    exit();

    However, if I do this as a plugin,

    /*
    Plugin Name: Go Home
    Plugin URI:
    Description: forces anybody to go home
    Version: 0.1beta
    Author: Goxu
    Author URI:
    */

    function force_gohome() {
    header( ‘Location: ‘ . get_settings(‘siteurl’) );
    exit();
    }

    add_action (‘admin_header’, ‘force_gohome’ ,1);`

    The priority is set to 1, so I assume that the funciton will be loaded prior to anyother funciotns. Am I correct?

    If so, why doesn’t it work? Any information will be greatly appreciated.

    Thread Starter goxu

    (@goxu)

    Thanks Otto,

    It worked!!

    SELECT post_content, comment_content
    FROM wp_posts, wp_comments
    WHERE post_content LIKE ‘%src=%’
    AND comment_content LIKE ‘%src=%

    But… only worked on my test site. When I did it on my main site, it returned 0 results. I’ve seen a discussion before mentioning that information of uploaded images are stored in a different table/colum?

    If so, do you know which one it is?

Viewing 15 replies - 1 through 15 (of 57 total)