Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #3732
    philmay
    Member

    I am very interested in using BePro Listings + BePro Real Estate + Form Builder, however when I install BePro Listings it breaks my back end page editor Visual Composer.

    See this picture:
    http://www.meshgeo.com/wp-content/uploads/Edit-Page-%E2%80%B9-MeshGeo-%E2%80%94-WordPress.pngBroken Visual Composer

    As soon as I disable BePro the problem goes away

    #3737

    Hi,

    Thanks for reaching out with this issue. The photo you shared unfortunately does not help us to diagnose the cause. Can you share a link to your website or any error logs?

    ___
    BePro Software Team.

    #3740

    Hi,

    Turns out we have a copy of visual composer and BePro Listings works 100% fine. Without access to your particular installation, it would be impossible to diagnose your issue. Here is a demo of the plugin working with visual composer

    https://www.beprosoftware.com/?attachment_id=3739

    Regards,
    ___
    BePro Software Team

    #3742
    philmay
    Member

    http://www.meshgeo.com is the website.
    I have BePro disabled for now so i can use visual composer. I would be happy to grant you admin access so you can enable the plugin and see what the issue is.

    #3743
    philmay
    Member

    here is an error i get with wp_debug enabled only when on the page editor in the admin while both BePro and Visual Composer are activated:

    wp-content/plugins/bepro-listings/admin/bepro_listings_admin.php:461 - wp_tiny_mce is deprecated since version 3.3! Use wp_editor() instead.
    include('wp-admin/edit-form-advanced.php'), require_once('wp-admin/admin-header.php'), do_action('admin_enqueue_scripts'), call_user_func_array, bepro_listings_adminhead, wp_tiny_mce

    this seems to stem from here:

    function bepro_listings_adminhead() {
    			wp_admin_css('thickbox');
    			wp_print_scripts('editor');
    			wp_print_scripts('media-upload');
    			wp_print_scripts('jquery-ui-tabs');
    			if(function_exists('wp_tiny_mce')) wp_tiny_mce();
    					do_action('admin_print_styles');
    		?><style type="text/css">
    		.form_label {
    			clear: left;
    			display: block;
    			float: left;
    			margin: 5px 0;
    			width: 155px;
    		}
    		</style>

    and this:

    Uncaught Error: no such method 'instance' for menu widget instance
    http://www.meshgeo.com/wp-includes/js/jquery/jquery.js?ver=1.11.1 line 2
    • This reply was modified 9 years, 3 months ago by philmay.
    • This reply was modified 9 years, 3 months ago by philmay.
    #3746
    philmay
    Member

    tracked down the problem, related to the first error code. This is a very specific bug with your plugin that ONLY occurs in Chrome, no other browsers and ONLY when both VC and BePro are activated.

    here is a similar issue that helped me track the problem to this point:
    similar problem different plugin

    • This reply was modified 9 years, 3 months ago by philmay.
    • This reply was modified 9 years, 3 months ago by philmay.
    #3749
    philmay
    Member

    commenting part of the function fixed the visual composer issue:

    
    	function bepro_listings_adminhead() {
    			wp_admin_css('thickbox');
    			wp_print_scripts('editor');
    			wp_print_scripts('media-upload');
    			//wp_print_scripts('jquery-ui-tabs');
    			if(function_exists('wp_tiny_mce')) wp_tiny_mce();
    					do_action('admin_print_styles');
    		?> 

    will this somehow break BePro?

    #3751
    philmay
    Member

    Problem solved, you need to change your code in bepro_listings_admin.php lines 458-460 from:

    wp_print_scripts('editor');
    wp_print_scripts('media-upload');
    wp_print_scripts('jquery-ui-tabs');

    to:

    wp_enqueue_script('editor');
    wp_enqueue_script('media-upload');
    wp_enqueue_script('jquery-ui-tabs');
    • This reply was modified 9 years, 3 months ago by philmay.
    #3754

    Hi,

    Thanks for bringing this to our attention and sharing this fix. It has been implemented into the core plugin (version 2.1.82)

    Regards
    ___
    BePro Software Team

    #3755
    philmay
    Member

    im glad you found it useful. you should also change
    if(function_exists('wp_tiny_mce')) wp_tiny_mce()

    to

    if(function_exists('tiny_mce')) tiny_mce()

    that fixes the depreciation issue

    #3756

    Hi,

    All suggestions are appreciated. Please continue to share any issues and potential fixes you find.

    In this particular case, the wp_editor function is the recommended substitution for wp_tiny_mce. Our development team will need to examine this issue further. You can anticipate a fix to be released during this week

    Regards
    ___
    BePro Software Team

    #3762
    philmay
    Member

    id be more than happy to debug your plugins in exchange for points to use in the shop ;), ore better yet flatout use of them.

    • This reply was modified 9 years, 2 months ago by philmay.
    #3765
    philmay
    Member

    update:

    you have to change wp_tiny_mce to tiny_mce or the shortcode buttons will not show up in the editor.

    the fix i submitted before is a fix to the visual composer js conflict, but this is also crucial until you use wp_editor.

    #3777

    Hi,

    Points are a good trade for active contribution to our community. This is something we have done multiple times in the past and is a major reason why we created the points system. The amount of points rewarded ultimatey depends on the size of the bug and the percentage of users affected. For example, notifying us that a recent update has crippled the plugin, will definitely garner a bigger reward then say an ie6 browser conflict

    Regarding the current issue, the deprecated function has been removed in the latest version of the plugin which was released today 2.1.83

    ___
    BePro Software Team

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.