Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Problems with multiple set flairs
Post Flair (click to view more posts with a particular flair)
Post Body

I run several dating subreddits and I'm having problems with setting post flairs. I set an initial flair based on a general match at priority 20 and then assign 'better' flairs if I have a specific match at priority 10. Problem is that it appears the lower priority rules aren't happening if the first operates so the first flair is assigned rather than the more specific ones.

The following code is looking for [M4M], [M4F], [F4M], [F4F] etc tags in the header

# default flair
type: submission
title (regex): '\[([\w ] )\]'
priority: 20
set_flair:
  text: "{{match-title-2}} ."
  css_class: other
  template_id: ba746038-f5a1-11ea-afcb-0ed330fea685
---
# women looking for...
type: submission
title (regex, includes): [ 'F4[MAR]' ]
priority: 10
set_flair:
  text: "{{match-title}}"
  css_class: f4m
  template_id: 8e160582-f5a1-11ea-93fd-0e1a8bfe8565

---
type: submission
title (includes): [ 'F4F' ]
priority: 10
set_flair:
  text: "{{match-title}}"
  css_class: f4f
  template_id: 86c96726-f5ae-11ea-8183-0e345428f7f1
---

# men looking for

type: submission
title (includes): [ 'M4F' ]
priority: 10
set_flair:
  text: "{{match-title}}"
  css_class: m4f
  template_id: 98c3e9c2-f5a1-11ea-af5e-0efcdb58c7dd
---
type: submission
title (regex, includes): [ 'M4[MAR]' ]
priority: 10
set_flair:
  text: "{{match-title}}"
  css_class: m4m
  template_id: a41883fa-f5a1-11ea-a5b4-0e1b53a77d57
---
# final default
type: submission
~title (regex, includes): [ '[MF]4[MFAR]', '\[([\w ] )\]' ]
set_flair:
  text: "Other"
  css_class: other
  template_id: ba746038-f5a1-11ea-afcb-0ed330fea685
---

Author
Account Strength
100%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
18,763
Link Karma
514
Comment Karma
17,989
Profile updated: 1 day ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago