XenForo Trying to show a message to the thread starter...

C

cjwinternet

Guest
Hi. I'm trying to display a message for the thread starter, prompting them to share the post to facebook.

I've tried posting it as a Notice, that doesn't work.
I've created a template for the text "Share_to_FB_for_OP"

So I tried inserting the following code directly into the thread_view template...

Code:

Code:
 <xf:if is="{$visitor.user_id} == {$thread.user_id}" && "{$post.position} == 0" && "in_array({$forum.node_id}, [1, 3, 5])" &&  "$xf.visitor.is_admin">
           <xf:message...

Read more

Continue reading...