ScottLott Member May 23, 2012 #1 Hey Guys, How would I setup a script that places image attachments to each post automatically into a IMG tag?
Hey Guys, How would I setup a script that places image attachments to each post automatically into a IMG tag?
Jake Bunce Well-known member May 23, 2012 #2 This is the action: XenForo_ControllerPublic_Thread::actionAddReply You can extend this action with an addon. This discussion may be helpful. It talks about how to obtain the id of the last inserted record which should be useful in extending the above action in order to make changes to the last inserted post record: http://xenforo.com/community/threads/get-id-of-new-thread-from-actionaddthread-in-my-class.29849/
This is the action: XenForo_ControllerPublic_Thread::actionAddReply You can extend this action with an addon. This discussion may be helpful. It talks about how to obtain the id of the last inserted record which should be useful in extending the above action in order to make changes to the last inserted post record: http://xenforo.com/community/threads/get-id-of-new-thread-from-actionaddthread-in-my-class.29849/
F FabioCesar Member Mar 22, 2013 #4 would be possible to implement this function xenforo? I miss this tool that possessed vbulletin