Changing what is outputted by $post[message]

The Cadet

New Member
I'm trying to copy a modification that I've seen on a few forums. The usercp end is attached. Basically, it allows a user to type in a bbcode which is then applied to each of his posts. I've gotten as far as realizing that I need to create two single line textboxes that ask for the bbcode and then insert that into the message somehow, but I can't find where to do this.
I tried this in my postbit template:

Code:
<if condition="$post[field11] AND $post[field12]">$post[field11]</if>
			$post[message]
<if condition="$post[field11] AND $post[field12]">$post[field12]</if>

(field11 and field12 are each single line textboxes, 11 asks for the bbcode start tags, 12 for the end tags)

But if I have it like that, they don't parse. And I don't quite know how to make them parse. :(

I figured that the easiest way would be to insert that code directly in to the message itself, as everything there is getting parsed anyways. But I can't find out where to do that, or if it will work.
What can I do?
 
Top