Pretty nice plugin, but conflicts a LOT with other plugins (1 post)

  1. Jupitercow
    Posted 3 years ago #

    The plugin tries to run its translation on all of your site's options. This can wreak havoc at times.

    For example, with uBillboard plugin, qTranslate changes the options for it that will turn your site into a 502 Gateway Error.

    It isn't often, but this can be a real mess.

    To fix uBillboard conflict (this could potentially guide other plugin conflicts as well), I edited qtranslate_core.php.

    Update the "IF" statement from lines 129 - 136 to check for your plugin's prefix:

    if(!defined('WP_ADMIN')) {
    	$alloptions = wp_load_alloptions();
    	foreach($alloptions as $option => $value) {
    		if ( false === strpos($option, 'billboard') )
    			add_filter('option_'.$option, 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0);

    Where "if ( false === strpos($option, 'billboard') )" is a new line that has been added.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.