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

XF 1.4 Different prefixes throughout a thread.

flowerpot132

Formerly mugtree
#1
We want to create a "Success Stories" sub forum.

So users can post about stories. The OP would select a prefix called "Story Details" to start off the thread. Other users can comment along the way. But then when the OP posts again in the thread I want someway of that being highlighted as the OP, maybe something like "Story Update". So users can skim through the thread of say 20 posts and quickly see the OPs contribution to the story / case study development.
 

Brogan

XenForo moderator
Staff member
#2
Create a custom bb code?
It wouldn't stop others using it though.

Or you can use a conditional statement to style the thread starter's posts differently.
 

Brogan

XenForo moderator
Staff member
#4
I don't have an example, but this is the conditional statement to use: <xen:if is="{$post.user_id} == {$thread.user_id}">

You can wrap template content in that, or you can use the inline version to apply separate CSS classes/styling.