aileron79
01-24-2011, 05:12 AM
Hi!
In the postbit and postbit_legacy templates the hooks postbit_start and postbit_end are mentioned. But when creating a new plugin, I cannot select these hooks from the dropdown.
Why?
Do I have to add them manually to the hooks_vbulletin.xml file?
Other question: Which hook do I have to use and which value in which array do I need to change to prevent a particular post from being displayed? I tried postbit_display_start and postbit_display_end but at that stage the array has already been read, I can change the content of a posting but not if it is displayed or not.
Any suggestions? Thanks in advance!
In the postbit and postbit_legacy templates the hooks postbit_start and postbit_end are mentioned. But when creating a new plugin, I cannot select these hooks from the dropdown.
Why?
Do I have to add them manually to the hooks_vbulletin.xml file?
Other question: Which hook do I have to use and which value in which array do I need to change to prevent a particular post from being displayed? I tried postbit_display_start and postbit_display_end but at that stage the array has already been read, I can change the content of a posting but not if it is displayed or not.
Any suggestions? Thanks in advance!