Community Feedback

Reply
Employee
wrighte
Posts: 663
Registered: ‎09-22-2008
Message 1 of 7 (642 Views)

How to prevent smileys from displaying (especially for code samples)

642 Views, 6 Replies
06-09-2010 12:07 PM

I saw some examples where certain strings in code samlples were being displayed as smileys.   This is just a view issue that can be resolved by changing emoticon type settings.

 

My Settings-->Preferences-->Display

 

7iDA6A4D427847E3E0



Eric Wright
Sr. Web Product Manager
Autodesk Knowledge Network
Autodesk, Inc.

Mentor
Steve_Johnson
Posts: 604
Registered: ‎05-01-2005
Message 2 of 7 (628 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-10-2010 07:23 PM in reply to: wrighte

That's not "How to prevent smileys from displaying in code samples". That's "How to prevent smileys from displaying everywhere". Smileys should never be displayed in code samples, regardless of any global settings. Same applies to any and all other conversions that might be applied to code content, including code in the existing messagebase. It's code. It's not meant to be parsed and converted. It's meant to be displayed as-is. Always. No exceptions.

Steve Johnson - blog nauseam - ClassicArray
Employee
wrighte
Posts: 663
Registered: ‎09-22-2008
Message 3 of 7 (622 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-10-2010 08:07 PM in reply to: Steve_Johnson

You're right - I corrected the title of the post to be more clear.



Eric Wright
Sr. Web Product Manager
Autodesk Knowledge Network
Autodesk, Inc.

*Expert Elite*
rkmcswain
Posts: 3,150
Registered: ‎11-13-2006
Message 4 of 7 (615 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-11-2010 06:15 AM in reply to: wrighte

But that setting only applies to individual users, right?

So if a person posts code such as below, and their setting is OFF, the code will look fine to him/her, but to everyone who has smilieys enabled, the code will look like this:

When it should look like this to ALL readers.

 

 

Spoiler
What is a spoiler tag?

Valued Mentor
Jason.Piercey
Posts: 1,109
Registered: ‎04-04-2001
Message 5 of 7 (612 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-11-2010 06:22 AM in reply to: rkmcswain

Agreed, in code samples emoticons should always be off regardless of per-user settings.

 

Hey, what's with that "Spoiler"  That sure looks like a collapsible/expandable element.  So,

we can have those in messages but can't have a REAL THREADED VIEW message navigation?

C'mon....

 

Distinguished Contributor
ACADuser
Posts: 1,191
Registered: ‎12-22-2003
Message 6 of 7 (595 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-11-2010 09:15 AM in reply to: rkmcswain

I really like the idea of spoiler tags.  The problem I have is you cant change the name of the tag.  Kinda sucks being stuck with "Spoiler" for every frickin tag.

ACADuser
Dell Precision T5500 Workstation
Windows 7 Enterprise
Dual Quad Core Intel Xeon Processors E5540 2.53GHz,8M L3,5.8GT/s,turbo
12GB RAM
1.5GB NVIDIA Quadro FX 4800
DUAL 27" Dell UltraSharp U2713HM
Mentor
Steve_Johnson
Posts: 604
Registered: ‎05-01-2005
Message 7 of 7 (570 Views)

Re: How to prevent smileys from displaying (especially in code samples)

06-13-2010 07:37 PM in reply to: ACADuser

The spoiler tag fearure is one of the things you get thrown in with pretty much any web forum software (even this Lithium garbage, apparently). The purpose is to allow people to do this sort of thing:

 

Spoiler

Darth Vader is Luke's father

 

It's useful for social sites, pretty pointless here. If Take5 was still hosted here then it would serve a purpose, I guess. It's not going to help in providing a proper threaded view.

Steve Johnson - blog nauseam - ClassicArray

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community