I have something on my test system on the threading-by-subject which is about 70% complete. It turned out to be easier than I thought.
The way it is working out:
- It check against references (as it always has - no change here).
- If there is no reference match, it checks if "Re: " appears in the subject title
- If it does, it checks for a match by subject title (with the "Re: " removed) and forum and inserts the post.
- If not, it creates a new thread (back to the existing script)
If Lierduh finds a way by using the references alone, then that will be a far more efficient way of threading as this will add two more queries to the script.