AI Assistant
Notifications
Clear all

Emoticon Size always returns to 20

2 Posts
2 Users
1 Reactions
3,516 Views
Posts: 5
 Pepe
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@narrative-collapse)
Member
Joined: 9 years ago
[#1440]

In the settings screen, I keep raising the emoticon size to 30, but it always goes back to 20.

I upload some of my own 30px by 30px emoticons, but it shrinks them all down to 20x20.

 


1 Reply
Posts: 23
Customer
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@juliam0m)
Member
Joined: 9 years ago

Hi Pepe,  i'm a user too and i had this issue as well.  as i couldn't find the answer for cleaner way of going about it, there are two ways I found how you can change this to 30.  of course these are only temporary fix.

1) to go to  wpdiscuzSmileUtils in the plugins and change  and change the $width to 30. (30x30).. 

class wpdiscuzSmileUtils {

 

    public static function smileDimensions(&$width, &$height, $code, $options, $content = 'text') {

        $width = isset($options['size']) && ($w = absint($options['size'])) ? $w : 20;

        $width = 30;

        $height = $width;

        $dimensions = array('width' => $width, 'height' => $height);

        $dimensions = apply_filters('wpdiscuz_emoji_dimensions_in_'.$content, $dimensions, $code);

        $height = $dimensions['height'];

        $width = $dimensions['width'];

    }

 

}

2) go into the database options table and look for wpdiscuz_smiles.  it will return something like this.  change the size integer to 30

a:7:{s:11:"post_smiles";i:1;s:5:"theme";s:7:"mynewemotiocons";s:4:"size";i:30;s:17:"dialog_background";s:7:"#4C4C4C";s:19:"dialog_border_color";s:4:"#000";s:15:"desabled_smiles";a:2:{i:2;s:7:":arrow:";i:3;s:9:":twisted:";}s:13:"custom_smiles";a:0:{}}


Reply
Share:
Scroll to top