Has anyone ever extended a custom module that automatically creates a thread linked to data in their module?
I have a customer who wishes to do this. I agree that it would be of great value to this customer, but am unsure how to interface with the Forum module.
In a nutshell, this is what I need to accomplish:
1) If there is no forum in the group(need to figure out which group) then create a forum => create a thread.
2) If there is a forum in the group(need to figure out which group) then check to see if a thread with the same subject exists (exists ? return url to thread : create new thread and return url)
Alternately, I suppose I could store the ThreadID in my data table, and build the url at page load.
Can anyone help point me in the right direction?