ForumSpark Support app Faster, straight from your home screen. Tap Share, then Add to Home Screen.
Add ForumSpark Support to your home screen
  1. Tap Share at the bottom of Safari.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ForumSpark Support now opens like an app.
  1. Tap Install, or open the browser menu.
  2. Choose Install app or Add to Home screen.
  3. Confirm. ForumSpark Support now opens like an app.

Forum marker variable?

Korok's Avatar
Korok · in Support
2 replies 467 views

Hi again,

I'm trying to customise the forum layout. I didn't see a variable for forum marker, though, only {{ forum.is_read }}

Is there a forum marker variable? Would it be something like {{ forum.marker }} ? I want to be able to use that font-awesome forum marker feature that's been implemented in the acp. c:

Thanks for your time!

Edit: I've tried {{ forum.marker }} but it doesn't show anything. I also tried {{ forum.is_read }} for giggles, and it just shows the number 1.

Last edited by Korok

0

There is no forum marker variable, but I've included this in 1.5.2. ๐Ÿ˜‰

As for reference when 1.5.2 is out:

Variable

Value

{{ forum.marker_type }}

default, upload, or fa_icon

{{ forum.marker_icon }}

The correct FA class for the current read/unread state

{{ forum.marker_read_icon }}

FA class for the read (no new posts) state

{{ forum.marker_unread_icon }}

FA class for the unread (new posts) state

{{ forum.marker_image_url }}

Image URL for the current read/unread state

{{ forum.marker_read_image_url }}

Image URL for the read state

{{ forum.marker_unread_image_url }}

Image URL for the unread state

A typical user case would be:

{{#if forum.marker_type == "fa_icon"}}
  <i class="{{ forum.marker_icon }}"></i>
{{/if}}

0

Perf! Looking forward to it. ๐Ÿ˜ Thanks for the info.

You might also like...

Topic Replies Views Last reply
Forum marker variables not displaying right In Support, started by Korok, 6 months ago
3 592
Cedric's Avatar
Cedric6 months ago
How to Get New Members on Your Forum Spark Community From the blog, started by Shawn, 3 weeks ago
39
Shawn's Avatar
Shawn3 weeks ago
Grid and Feed: two new looks for your forum home From the blog, started by Cedric, 3 months ago
39
Cedric's Avatar
Cedric3 months ago
Change Individual Forum Markers Related, started by Cory, 8 months ago
0 160
Cory's Avatar
Cory8 months ago
2.0 Issues Popular in Support, started by Daedalus, 4 months ago
25 1,051
Daedalus's Avatar
Daedalus4 months ago