Viewing 15 replies - 1 through 15 (of 23 total)
  • I’m interested in this, but I’m not sure where I put the code? Help?

    Thread Starter Mark (podz)

    (@podz)

    Highlight all the code from <?php to ?>
    Paste it into a new notepad file.
    Have *nothing* at all before the <?php and nothing after the ?> either.
    Save it as “autocommentclose.php”
    Upload to wp-content/plugins
    Go to your plugin admin screen and activate it.
    If you get a ‘headers already sent’ error, you had someting where there should be nothing ??
    1.2mingus

    Thanks! Worked like a charm. Now the cron job thing??

    Thread Starter Mark (podz)

    (@podz)

    No cron job needed.
    Whenever the database changes, that script kicks in.

    Wait, sorry…I just noticed the revision. Nevermind. Thanks for your help ??

    Thread Starter Mark (podz)

    (@podz)

    Wow … odd !
    Have you altered anything else at all ?
    I’ve just rechecked my blog and my plugin screen, and all is well there, so that’s why I ask about doing anything else.

    Nope, I pasted the code exactly as it appeared. Perhaps I uploaded it the wrong way? I really have no idea what it would be doing this.

    Thread Starter Mark (podz)

    (@podz)

    Using ftp, delete the plugin and see what happens ?

    Well, if I delete it, everythng goes back to nornal. But as soon as I put it back, the plugin renders exactly as that screenshot shows.

    sorry to sound so naive and ignorant but there is no wp-content directory and where can i see the plugin admin screen?
    Hope to hear from you soon!

    Anon, this is for wordpress 1.2 and upwards only. The wp-content folder is in the wordpress directory. The plugins folder is in the wp-content folder.
    The Plugin screen can be got-to by clicking on the “Plugin” tab in the admin interface.
    If you can’t see/don’t have either of these, then it might mean you are using an older version of WP.

    yes im using older version of wp. so does that mean i cannot use this script because am using wp 1.0?
    thanks so much for your fast reply. really appreciated it =)

    Yeah, plugins can only be used for v1.2 and newer.

    I tried using this and when I save a post I get this arror:
    Warning: Cannot modify header information – headers already sent by (output started at /home/username/public_html/journal/wp-content/plugins/autoclose_comments.php:27) in /home/username/public_html/journal/wp-admin/post.php on line 342

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Plugin: Auto Comment closing’ is closed to new replies.