Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter michael3384

    (@michael3384)

    Alright, now I got what I wanted. I droped the $redirect_url and changed header('Location: '.$redirect_url); to header('Location: plugins.php?deactivate=true'); Thanks for listening folks! You’re great!

    Thread Starter michael3384

    (@michael3384)

    Thank you!

    I just solved most of my problem: I put $wpdb to the globals. Now the table is droped, the options deleted and the plugin deactivated. So, there we go!

    I still don’t get why the two pages load, asking me, if I really want to deactivate the plugin. The first one doesn’t even say which one. Can someone explain this to me please?

    Thanks alot!

    Forum: Plugins
    In reply to: Unread posts via database
    Thread Starter michael3384

    (@michael3384)

    Thanks for your thoughts. Yes, there is a cookie based plugin, but I often work on seperate computers, at home, at my college and so on.
    It’s probably not the best manner for blogs with many registered user, but for my specific usage it should be fine. I’m working on a private group-blog for me and my friends, about 15 people overall.
    In order to keep the table small I could delete entries older than a configurable amount of days, 30 or so.
    Anyone else with the need for such a plugin and feature wishes/suggestions?

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