A painting of me

Open Comments in Textpattern after an Import

   15 June 2004, terribly early in the morning

Here is a script you can run after the fact to open up commenting on posts imported by my script.

open-comments.php.txt

Place the script in your textpattern directory, rename it from open-comments.php.txt to open-comments.php, and run it by browsing to the page in your web browser. I’ve ran it on my install at home, and it seems to work fine. It will run the following query:

update textpattern
set annotate = 1;

This will open up commenting on ALL your posts. This script is meant for people who don’t have access to phpMyAdmin, or don’t want to run a SQL query themselves.

 

Comments

  1. I am on Textdrive, so I did have phpMyAdmin access, so I did run that query you suggested. I’ve never run a mySQL query before. :) Of course it seems to have worked flawlessly and I am once more very happy and I thank you.

    ‘Sincerely appreciated

Don't be shy, you can comment too!

 
Some things to keep in mind: You can style comments using Textile. In particular, *text* will get turned into text and _text_ will get turned into text. You can post a link using the command "linktext":link, so something like "google":http://www.google.com will get turned in to google. I may erase off-topic comments, or edit poorly formatted comments; I do this very rarely.