Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add emoticons?

Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2013

Hi,

Is there a safe and easy way to add emoticons to Confluence, ideally with character combinations? We would create traffic light symbols, for instance.

4 answers

1 accepted

0 votes
Answer accepted
Steve Thornhill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2013

I've had a try at added them into both a default confluence install and a theme plugin with no success so far. I think it may be to do with the "magic" numbers created for each of the images when the product is initially built. I'm going to keep trying to find a way to do it though :)

1 vote
Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2013

Hi Kirstin, thanks a lot for the macro. I tried this, and it works very well.

Cheers

1 vote
Evelin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2013

Thanks for the link. When I scrolled through the comments I found Sarah's remark that it's not possible to add emoticons to the Confluence emoticon panel. Maybe we can use a custom macro to insert some small image but I have no idea how this is done.

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2013

In Confluence 4.x, a macro like this should do it:

## Macro title: TrafficLight
## Macro has a body: No
## Body processing: No macro body 

<ac:image>
    <ri:attachment ri:filename="<insert here the filename of the image>">
        <ri:page ri:content-title="<insert here the name of the page the image is attached to>" ri:space-key="<insert here the name of the space the page resides in>"/>
    </ri:attachment>
</ac:image>

You can find more information on how to create a custom user macro here: https://confluence.atlassian.com/display/DOC/Writing+User+Macros.

Hsein Han Kew March 8, 2016

@Kirstin Seidel-Gebert. Thanks for the code but unfortunately, it does not work with Confluence 5.7.1.

Does anyone has an example that will work with Confluence 5.7.1? Thanks.

 

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2016

Hello Hsein,

we're still on Confluence 5.5, but it should work there.
I don't know why I wrote "Confluence 4.x" in my comment. This is probably a typo and should have been 5.x.

What problems do you have?

Cheers,
Kirstin

Hsein Han Kew March 10, 2016

Hello Kirstin,

Many thanks for your feedback and sorry for my late reply.I have added the ## @noparams because Confluence is complaining that the macro does not have any metadata configured.

## Macro title: TrafficLight
## Macro has a body: No
## Body processing: No macro body
 
## @noparams
<ac:image>
    <ri:attachment ri:filename="<ConfIcon.PNG>">
        <ri:page ri:content-title="<Test>" ri:space-key="<SystemTest>"/>
    </ri:attachment>
</ac:image>

 

What I get is unknown attachment message as below.

image2016-3-11 11:38:1.png

Did I did anything wrong??

Many thanks,

Hsein

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2016

Sorry Hsein,

I can't see the attachment. But what I can see from the code you posted is that you kept the arrow brackets in the code. Try:

<ac:image>
    <ri:attachment ri:filename="ConfIcon.PNG">
        <ri:page ri:content-title="Test" ri:space-key="SystemTest"/>
    </ri:attachment>
</ac:image>

The arrow brackets where only to indicate that this content has to be replaced. smile

Are you sure that your space key is SystemTest? Or is this rather the name of the space?

Cheers,
Kirstin

Hsein Han Kew March 14, 2016

Hello Kristin,

Thanks to your useful hints and tips, it works perfectly now.

Sorry, my mistake.. sad

Many thanks,

Hsein

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2016

You're welcome, Hsein. smile

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2013

This page explains how to insert the standard emoticons and what their character combinations are. Knowing how to extend that with your own custom emoticons would be interesting for me as well.

Stefan C.
Contributor
November 16, 2018

Using Symbols, Emoticons and Special Characters

Page Not Found

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events