zastavra Active member Dec 25, 2014 #1 I couldn't find anything related in this forum, so my question is, how can I show a notice only to the thread starter - creator? I guess it's a Controller and Action thing but, what values should I use?
I couldn't find anything related in this forum, so my question is, how can I show a notice only to the thread starter - creator? I guess it's a Controller and Action thing but, what values should I use?
P Paul B XenForo moderator Staff member Dec 25, 2014 #2 You can use a conditional statement such as: <xen:if is="{$visitor.user_id} == {$thread.user_id}"> Upvote 0 Downvote
zastavra Active member Dec 25, 2014 #3 Do you mean inside the notice "Message" field, like this? HTML: <xen:if is="{$visitor.user_id} == {$thread.user_id}"> NOTICE TO THE THREAD STARTER HERE </xen:if> Upvote 0 Downvote
Do you mean inside the notice "Message" field, like this? HTML: <xen:if is="{$visitor.user_id} == {$thread.user_id}"> NOTICE TO THE THREAD STARTER HERE </xen:if>
P Paul B XenForo moderator Staff member Dec 25, 2014 #4 If you mean the Notices feature, no, you can't use it with that. You would be able to use it in a template, assuming those variables are available in the particular template. Upvote 0 Downvote
If you mean the Notices feature, no, you can't use it with that. You would be able to use it in a template, assuming those variables are available in the particular template.
zastavra Active member Dec 25, 2014 #5 Brogan said: If you mean the Notices feature, no, you can't use it with that. Click to expand... I see... Is there any way to use the Notices feature instead of the template modification? Upvote 0 Downvote
Brogan said: If you mean the Notices feature, no, you can't use it with that. Click to expand... I see... Is there any way to use the Notices feature instead of the template modification?