Jaxel
Well-known member
So I was looking into firing off an event every time a new thread is created; only public threads that are viewable by unregistered users.
At first I thought about firing it off at the end of ControllerPublic/Forum->actionAddThread, but then I realized that an extended listener on this action would not have access to the thread information. Without that thread information, I wouldn't be able to check if the thread was public to unregistered users or not. Then I thought about extending the PostSave of the DataWriter; and that just brought up a whole bunch of new messes.
Has anyone done anything like this? What approaches did you come up with?
At first I thought about firing it off at the end of ControllerPublic/Forum->actionAddThread, but then I realized that an extended listener on this action would not have access to the thread information. Without that thread information, I wouldn't be able to check if the thread was public to unregistered users or not. Then I thought about extending the PostSave of the DataWriter; and that just brought up a whole bunch of new messes.
Has anyone done anything like this? What approaches did you come up with?