The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Try adding the following as the first line:
PHP Code:
|
#12
|
||||
|
||||
The result echoed was again 0
|
#13
|
|||
|
|||
Because this hook is inside a datamanager, global doesnt really make any difference.
$post is also still defined, and $this->post is set as a reference to $post (passed to $dm->construct_postbit()) so using $this->post or $post should be the same thing. Im pretty sure all that needs to happen is move the hook to postbit_display_complete, after $this->parse_bbcode() is called. Let me know |
#14
|
||||
|
||||
Quote:
|
#15
|
|||
|
|||
Nono, just open the postbit_display_start hook that you created and change it in the dropdown to be postbit_display_complete.
|
#16
|
||||
|
||||
Oh Thanks!! it works like a charm. Thanks again.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|