Welcome to Centmin Mod Community
Become a Member

Change text value for smilies

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

  1. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    6:12 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    @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

    30,195
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    2:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    6:12 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    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

    30,195
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    2:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah that would though mess up common smilies for users heh

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

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    6:12 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    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

    30,195
    6,789
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,144
    Local Time:
    2:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    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