Join the community today
Register Now

Change text value for smilies

Discussion in 'Forum Feedback & Suggestions' started by Sunka, Apr 4, 2017.

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    7:21 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    @eva2000 please change text value for some or all smilies because sometimes same value is in copied output text from cli command, and when we posted output here in post, that value change to smiley
    Example is here in this post (quoted text).


    Change smiley text value to something not too common (for example :::mad::: or :;:mad:;:)
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,363
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    4:21 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    for code use CODE tags not QUOTE tags ;)

    example
    Code (Text):
    grep -rn 'ssl_ciphers ' /usr/local/nginx/conf/conf.d/
    /usr/local/nginx/conf/conf.d/domain1.com.ssl.conf:26:  ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EECDH+ECDSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+SHA384:EECDH+AES128:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA:!CAMELLIA;
    /usr/local/nginx/conf/conf.d/ssl.conf:22:#    ssl_ciphers  RC4:HIGH:!aNULL:!MD5:!kEDH;
    
     
  3. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    7:21 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    Yep, I missread your post somewhere you post to put output into code tags and somewhere in quote tags...

    But, still observation stand. It is usefull to put smilies text output to something very uncommon
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,363
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    4:21 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah that would though mess up common smilies for users heh

    CODE tags are what code is meant for :D
     
  5. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    7:21 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    Just add new unordinary text values and you can change existing smiley text values to new one through database querry.

    Code:
    UPDATE xf_post SET message = REPLACE(message, 'OLDVALUE', 'NEWVALUE');
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,363
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    4:21 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    i mean when they first use/type the smiley code and see that it doesn't work i.e. if they typed :) and don't see the expected smiley

    i hate when that happens on forums i frequent that use non-standard smiley codes heh