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.
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.
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:{}}