Extra icon in topics row #978

jasperjorna opened this Issue Jun 24, 2012 · 3 comments


None yet
2 participants

jasperjorna commented Jun 24, 2012

Icon in topics row showing to yourself if you already posted in a topic previously.

See topic for more information: http://www.cotonti.com/forums?m=posts&q=6986


trustmaster commented Jul 24, 2012

I've found a way to do it but the question is: how do we assign tags so that the old templates continue to work? Add another tag which adds one more postfix (_posted)? Add another tag that can be used in a class attribute or logical condition?


jasperjorna commented Aug 2, 2012

Adding another tag with one more postfix sounds easiest to use I think.

@ghost ghost assigned trustmaster Nov 30, 2012


trustmaster commented Nov 30, 2012

I'm adding two new tags:

  • {FORUMS_TOPICS_ROW_ICON_TYPE_EX} - same as {FORUMS_TOPICS_ROW_ICON_TYPE} but adds '_posted' at the end for the topics where current user has posted.
  • {FORUMS_TOPICS_ROW_USER_POSTED} - contains the number of posts the user has made in the topic.

Example usage:

<span class="postcount">{FORUMS_TOPICS_ROW_USER_POSTED}</span>
<!-- ENDIF -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment