Evaelis
Active member
Hello there,
I recently bought XF and I have some questions about the addons system. Especially how XenForo_Input and events works.
Coming from VB3, I could easily change a thread title before it was posted just by doing
How can I edit the title, I already know about the XF overriding system, I just need to know how to modify the XenForo_Input or pass the new arguments to the original function.
For the events part, VB3 allowed me to hook at some predefined places. For example :
Is there any way to execute a code before a thread is made and another one after the post is made?
If anyone got any ideas for me!
Thanks you.
I recently bought XF and I have some questions about the addons system. Especially how XenForo_Input and events works.
Coming from VB3, I could easily change a thread title before it was posted just by doing
PHP:
$title = "New Title"
For the events part, VB3 allowed me to hook at some predefined places. For example :
allows you to hook and execute your code right after the thread is created. Therefore you can then award points for it or whatever you want to do.threadfpdata_postsave
Is there any way to execute a code before a thread is made and another one after the post is made?
If anyone got any ideas for me!
Thanks you.