![]() |
Try adding the following as the first line:
PHP Code:
|
The result echoed was again 0
|
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 :) |
Quote:
|
Nono, just open the postbit_display_start hook that you created and change it in the dropdown to be postbit_display_complete.
|
Oh Thanks!! it works like a charm. :) Thanks again.
|
All times are GMT. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|