Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Boss

Unique badge notifications

Does anyone know if you can send unique notifications for specific badges link you can for ranks; https://community.lithium.com/t5/Rankings/Send-different-rank-up-notifications-for-different-ranks/t...

 

Just looking at ways that we can let users know what the next badge in the track is.

12 Replies 12

@DanK - According the document you shared, we can send different notification for different ranks. And in those text Keys for different message, you can include the next badge to be achieved.  You won't be able to get dynamically which one is next badge or the description of next badge inside email template. 

 

 

 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq

I know its possible for ranks what I want to do is a similar thing for badges. Perhaps an example will help.

 

Default email text could be something simple like this;

 

Hi <user>,

 

You just earned a the <badge>

<badge-image>

 

Thanks for being a member.

Your <communityname> Team

 

What I am looking to do is replace that with more meaningful specific text like;

 

Hi <user>,

 

You just earned a the badge for getting your 10th solution on community.

<badge-image>

 

We really appreciate you taking the time to share your knowledge, you are well on your way to earning the Author 25 Solutions badge.


Thanks for being a member.

Your <communityname> Team

 

Or;

 

Hi <user>,

 

You just earned a the badge for posting your first question.

<badge-image>

 

While you are waiting for our members to respond, perhaps you would like to setup your profile. Check out our welcome page for more details.

 

Thanks for being a member.

Your <communityname> Team

Love it @DanK. I hope the answer doesn't come back that this isn't possible, because it's an excellent idea.

 

Jason

Generic1.jpg

@DanK @JasonHill - I believe this is something which is feasible but requires some tweaks and customization. 

 

As described in email template context object there is no way to get the badge id, however, we can get the badges title using ${notification.badge.title} context object which can be used inside text keys. 

 

e.g 

 

badgeChanged.privateMessage.<badge-title>.template.html_content = content here

so let's say badge title is Philosopher, so our key will look like. 

 

 

badgeChanged.privateMessage.Philosopher.template.html_content = content here  

There might be one issue when there is a space inside badges name e.g Gave 1 Kudos. You can replace the space using velocity .replace function as text keys don't support space. 

 

I hope this might be helpful to give this customization a start. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq

Interesting, I will do some testing and see what we can produce.

@DanK - Sure, let me know if this works for you. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq

How do I earn these badges? 

 

@DanK  - Were you successful in the above mentioned customization? 

Thanks,

Gaurang 

Yes.

 

Thanks for the support. 

 

@gaurang I have not had it implemented yet, however I have had Khoros scope up the changes as part of a professional services engagement so they seem to believe it is possible using the methodology proposed by @TariqHussain 

I hope to be able to have something in place by the end of the year.

@TariqHussain 

Grazitti could do such a customization too? Just inquiring.

Learning from others and helping where I can!
Community Passionista!

@Wendy_S  - Yes, we can do it. 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Tariq

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.