Posted on 7/26/2005 1:35 am in This Old Site
I've been trying to find a preexisting addon to give me this
functionality, but nothing seemed to exist. I've got most of the
code done to handle it now. It's just a little slow going doing
it from scratch, and making notes along the way so I can redistribute
the modifications. I've gotten all of the old articles
handled. This post is actually a test to see if the code I just
added to do it for new stories works.
The next step is to add an update code to update the copy of the story in the forums if the story is edited. I also have to go back and add some cleanup, in case a story gets deleted. Loads of fun, let me tell you.
Updates:
It appears the code still needs some work. It didn't automatically add the forum post. After a little more testing, it seems the code to add it is working flawlessly. I've just put the call to it in the wrong place. I've written the changecomments function, but it doesn't seem to get called right either.
I'm making a little bit of progress though. It seems to be an error in the sql queries though. I've had to go back and read a bunch of error handling and logging code to figure it out though.
The next step is to add an update code to update the copy of the story in the forums if the story is edited. I also have to go back and add some cleanup, in case a story gets deleted. Loads of fun, let me tell you.
Updates:
It appears the code still needs some work. It didn't automatically add the forum post. After a little more testing, it seems the code to add it is working flawlessly. I've just put the call to it in the wrong place. I've written the changecomments function, but it doesn't seem to get called right either.
I'm making a little bit of progress though. It seems to be an error in the sql queries though. I've had to go back and read a bunch of error handling and logging code to figure it out though.




Most Recent Comments