Quote:
Originally Posted by tbworld
Except for closed threads, thread copying is not very useful to the average user, due to how the thread tables were designed (there is no direct mechanism to keep the threads synced since they will have different ID's in the thread table).
We added an additional table to keep track of linked threads, and created handlers for post updating and for the additional caching. Much of this was done in extending the classes in the threadpost datamanager. Anyway, it was a big project and certainly was not worth the time and effort we put into it.
So if you are not working on closed threads, re-think what you are doing. 
|
Thanks for the response, but I think there is a misunderstanding about my intentions here. I
do not need the threads to be synced or even related to one another in anyway upon creation. I realize they are both unique entities as far as the underlying system is concerned and that's perfectly fine (and in fact desired).
Instead, I simply want to perform a copy of the
first post of a thread after a certain action (that action is irrelevant to this discussion) through the Plugin, and with that first post make a new thread with the same
content as the original post but in another forum. Each of the two threads would then be normal threads with unique IDs, child posts, counters, all that stuff.
Put another way: I am trying to find the easiest method via the plugin hook to extract the basic information about the newly created post and then with that information in hand, create a second post (and thus thread) in a different forum. The only important data that needs to be copied from my perspective is:
Post Subject
Post Content
Author/Username
Timestamp
From my research I
believe using the DataManager is the best route for this, but if that's not the case or anyone has any information or code snippets that would help, I'd really appreciate it!
Thanks!