Dannymh
Active member
Hi,
I am looking at creating two custom code plugins for myself but not sure where to start. I am still learning xenforo from mybb.
The two plugins need to trigger based on the prefix of the thread.
So for instance if someone posts a thread with the prefix "news" I want the thread to need to wait for approval. In mybb I just parse the thread upon creation and then it works for me.
But not sure even where to start on xenforo on this one
The 2nd script will check the prefix when loading the thread or when created and pull extra information from a custom table.
Really for now the first is the most important and i just need to know how I can check the prefix of a post and then do something with it based on that prefix.
Dan
I am looking at creating two custom code plugins for myself but not sure where to start. I am still learning xenforo from mybb.
The two plugins need to trigger based on the prefix of the thread.
So for instance if someone posts a thread with the prefix "news" I want the thread to need to wait for approval. In mybb I just parse the thread upon creation and then it works for me.
But not sure even where to start on xenforo on this one
The 2nd script will check the prefix when loading the thread or when created and pull extra information from a custom table.
Really for now the first is the most important and i just need to know how I can check the prefix of a post and then do something with it based on that prefix.
Dan