Forums / Suggestions / eZ Forum: Drop Smilies or Provide Clean Code Posting

eZ Forum: Drop Smilies or Provide Clean Code Posting

Author Message

Alex Jones

Monday 28 July 2003 7:12:38 am

While the smilies are a cute touch, I think they get in the way of reading and copying posted code; to the detriment of all users. So, I ask that you disable the use of smilies in the forums, or that you provide an easy method for people to wrap their code with a tag that will ensure the characters are not converted into smilies.

It would be grand if we could have the latter, especially if it could preserve spacing. I.e. set up a tag equivalent to HTML's "pre" or "code".

Either way, I think it is more important for the posted code to be understandable and accurate than to have the ability to display smilies.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bård Farstad

Monday 28 July 2003 7:39:44 am

There are some cases where smilies messes up the forum messages, true. It was added as a quick example of how you can extend the template language in eZ publish.

Mabye we should add, as you say, a tag which will be rendered and handled like code.

My untouched code here.

This should probably be an extension to the word2image operator used for smilies.

-bård

Documentation: http://ez.no/doc

Alex Jones

Monday 28 July 2003 8:10:35 am

That would be ideal. :) Thanks!

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Thursday 28 August 2003 7:35:07 am

Bård, is there any chance of this getting implemented in the near future?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Jan Borsodi

Thursday 28 August 2003 7:46:04 am

We are planning to some other upgrades on ez.no in about a week or so, we'll try to do this as well when we start.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Alex Jones

Thursday 28 August 2003 7:54:57 am

Great! Thanks for the update.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Monday 01 December 2003 7:24:45 am

Is there any chance of this getting fixed soon? While this isn't a big issue, it is very annoying when we try to copy code shown in the forums. It should also be very straightforward to fix as it is just the addition of a new tag and perhaps a message announcing the capability.

Please please please implement this one small change.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Georg Franz

Monday 01 December 2003 7:42:10 am

Hi Alex,

yes, you are right, it's annoying.

But I think, it's not necessary to add tags like "pre" ord "code" (but they can be usefull).

The problem is the wordtoimage-operator which is working with "str_replace" and not with a preg_match.

Therefor I've written an update, have a look at
http://ez.no/developer/ez_publish_3/contributions/wordtoimage_operator_update

With my version php-code should not be altered. (Moreover, it detects smiles like ;-)))))

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Alex Jones

Monday 01 December 2003 7:50:33 am

Emil, that too would be a vast improvement! I would be happy either way, I just want code to render properly. :)

Thanks for providing the update!

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Tuesday 02 December 2003 7:56:36 am

Actually, I think a PRE tag is needed as it would also preserve indented lines which would make it much easier to read code that is posted. Having it set to a fixed-width font would be helpful as well.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Monday 05 January 2004 9:10:51 am

eZ Crew, is there any chance of having this added to the forum in the near future? It owuld certainly make life much easier.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bård Farstad

Tuesday 06 January 2004 12:05:54 am

I'm going to update ez.no in a week or so, I will probably add a code/pre/literal tag you can use in the forums.

--bård

Documentation: http://ez.no/doc

Alex Jones

Tuesday 06 January 2004 6:13:05 am

That's great Bård! Thanks.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>