tonymacx86
Member
Hey All!
Recently purchased a license for XenForo with the intent of migrating from VBulletin 4. Really love the software (XenForo, that is).
I'm making an add-on that will use the "message_content" content hook within the "message" template to insert a custom template. In the process of that I look up some custom info from a separate table using the poster's user_id, but I'm having trouble getting that from getParams().
I see that there's an array of posts which lists all of the posts of the thread by post_id, but I can't figure out an efficient way to the user_id of that post within my listener.
Thanks so much for any insight!
-adamsmasher
tonymacx86.com
Recently purchased a license for XenForo with the intent of migrating from VBulletin 4. Really love the software (XenForo, that is).
I'm making an add-on that will use the "message_content" content hook within the "message" template to insert a custom template. In the process of that I look up some custom info from a separate table using the poster's user_id, but I'm having trouble getting that from getParams().
I see that there's an array of posts which lists all of the posts of the thread by post_id, but I can't figure out an efficient way to the user_id of that post within my listener.
Thanks so much for any insight!
-adamsmasher
tonymacx86.com