• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

template of "posts"?


Well-known member
I want to insert a script only into messages, so I want to ask which is the template of all posts...

I mean, the script works in this way:
Text of the post

Is {xen:raw $message.messageHtml} the message in the post?

Jake Bunce

XenForo moderator
Staff member
Is {xen:raw $message.messageHtml} the message in the post?

Admin CP -> Appearance -> Templates -> message

		<xen:hook name="message_content" params="{xen:array 'message={$message}'}">
		<div class="messageContent">		
				<blockquote class="messageText ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
					<xen:include template="ad_message_body" />
					{xen:raw $message.messageHtml}
			{xen:raw $messageContentAfterTemplate}