The ability to move forum topics and leave a "shadow copy" is great. However, I've noticed that after a while, shadow copies can kind of clog up a forum.

What I'd like to do is delete some shadow copies that have been around for a long time (people know by now where the post is), but without deleting the original post (that has been moved).

Even better, I'd like to set something up in a custom module to automatically delete shadow copies after a certain period of time.

Can anyone point me in the right direction?


Well, the shadow copy is just an extra taxonomy term, not an actual copy of the post. Sorry, it's been a very long time since I've used this and I don't remember if the term is visible in the UI. If it's not, it doesn't seem like it would be hard to write something to expose it... That would make this a feature request, though.

Thank you for the quick and helpful reply, Michelle.

I'm a little confused with exactly how this taxonomy deal works, though. Using devel I took a look inside a forum node that has been moved from one forum to another, and shows a shadow copy in the old forum. The node only had one taxonomy term attached: that of the new forum. The old forum's term was nowhere to be found.

See screenshot:

So I guess my question is, where is the old forum taxonomy info being stored?

I'm really fuzzy on this so may not be 100% accurate... What I remember is that there was two tables. I think "forum" and "taxonomy something". If the term shows up in both places, that's the primary forum for the post where you can actually read it. If it's in the taxonomy one and not in the forum one, then it's a shadow post. So, in theory, getting rid of the shadow post would mean deleting it from taxonomy.


Thanks for the info... I'll take a look. I was looking for an advanced_forum table, but didn't think of the fact that the module is using Drupal's built-in forum table...

Yeah, shadow posts are core forum, not AF. AF just makes them a bit more useful. :)