Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter betacire

    (@betacire)

    If I use the original theme Screenr (not a child) it’s ok.
    So I’ll search for what is the problem.
    Sorry for the inconvenience.

    Thanks,
    Betacire

    Thread Starter betacire

    (@betacire)

    Ok.

    I changed the filterCategories function, and it seems to work like I want :

    	function filterCategories($query) {
    		if ($query->is_main_query() && is_home()) {
    			
    			$categoryList = array();
    			$allowed = get_option('blogPostFilterCategories');
    			foreach($allowed as $id=>$status)
    				if(!$status==1){
    					$categoryHidden[] = '-'.$id;
    				} 
    	        $query->set('cat', implode(',', $categoryHidden));
                    $query->set('ignore_sticky_posts', 'true');
    		}
    	}

    Thanks again for this plugin.

    Thread Starter betacire

    (@betacire)

    Yes, it works ! ??

    Thanks very much !

    Thread Starter betacire

    (@betacire)

    It does not matter. Thank you really for trying.

    Thread Starter betacire

    (@betacire)

    Same error : “Sorry, something went wrong with saving your entry. Please contact a site admin”

    So I tested the function ‘mb_convert_encoding’ in another test file, it works.

    Thanks for trying to find the solution.

    For me it’s not very important so if nobody else has the same problem, I’ll be using your guestbook without emoji, and it’ll be very nice like that !

    Thanks for your work.

    Thread Starter betacire

    (@betacire)

    So I tried with my tablet. It’s ok in a regular post.

    Thread Starter betacire

    (@betacire)

    Ah yes, I could try with my phone ?? Didn’t think of that…

    Here are the debug messages :

    Ran wp_encode_emoji function.
    
    MySQL Charset: utf8
    
    Ran wp_encode_emoji function.
    
    MySQL Charset: utf8
    
    Ran wp_encode_emoji function.
    
    MySQL Charset: utf8
    
    Sorry, something went wrong with saving your entry. Please contact a site admin.
    Thread Starter betacire

    (@betacire)

    I’ve no toolbar in comments and no emoji characters in posts so perhaps it’s not possible ?

    The debug page :

    Standard test: ?? Succeeded.
    Emoji test: ?? Failed.
    Tester
    This test will attempt to save two test entries, one with standard text and one with Emoji.
    Run test
    WordPress version: 4.4.2 (db: 35700)
    WordPress theme: Cartables
    Active plugins: Array ( [0] => gwolle-gb/gwolle-gb.php [1] => really-simple-captcha/really-simple-captcha.php )
    PHP Version: 5.3.8-pl0-gentoo
    MySQL Version: 5.0.44
    MySQL Charset: utf8
    MySQL / MySQLi: mysql
    MySQL variables: Array ( [character_set_client] => utf8 [character_set_connection] => utf8 [character_set_database] => utf8 [character_set_filesystem] => binary [character_set_results] => utf8 [character_set_server] => latin1 [character_set_system] => utf8 [character_sets_dir] => /usr/share/mysql/charsets/ )

    For the moment, I’ve disabled Emoji in /gwolle-gb/frontend/markitup/set.js

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)