The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I got past the problem I had earlier with this default-BBCode-formatting-for-all-of-a-user's-posts hack through reading some of the vBulletin manual, but right now it's just being completely bizarre.
I've made my default BBCode tags and everything fine with that. Then I append them to the message in class_postbit.php inside the function construct_postbit: Code:
$this->post['message'] = $defaultbbcodeopen . $this->post['message'] . $defaultbbcodeclose; Code:
$this->parse_bbcode(); But the BBCode is there. It's fine. It's valid. That can be proven simply by moving the code below that one little line where it calls parse_bbcode(), because as soon as I move it there, the BBCode is shown in plain text in the message. The opening tags come before the message, the closing tags come after it, they're the right tags, they're correctly nested... Why does my BBCode disappear instead of being parsed? EDIT: Sorry, I managed to figure it out from looking at the parse_bbcode() function. I didn't realize it was taking $this->post['pagetext'] instead of $this->post['message']... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|