Support Forum

Unable to delete/move topic and posts

17 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

You need to try and make the following changes which should enable the forum to work OK but you will also need to check the rest of your site as I can not test that of course. But we should be able to resolve things if there are any further issues.

The file you need to edit is: /core/inits/init_sidebar_ui.php

At the very top you will find this code:

add_action('wp_footer', 'sidebarui_js');
function sidebarui_js(){
    wp_register_script('accordion', CORE_JS.'/jquery-ui.custom.js', 'jquery', '1.0', true);
    wp_print_scripts('accordion');
}

Try changing that block to the following code please:

add_action('wp_footer', 'sidebarui_js');
function sidebarui_js(){
//    wp_register_script('accordion', CORE_JS.'/jquery-ui.custom.js', 'jquery', '1.0', true);
//    wp_print_scripts('accordion');
    wp_enqueue_script('jquery-ui-core');
    wp_enqueue_script('jquery-ui-accordion');
    wp_enqueue_script('jquery-ui-draggable');
    wp_enqueue_script('jquery-ui-sortable');
}

and then test of course!

KS Karthik Subramanian
Karthik Subramanian
Member

Works like a charm! Thanks guys for all the help! Time to add a couple of the plugins and change the stylesheets etc. 😀

YS Yellow Swordfish
Yellow Swordfish
Member

excellent! As I say – just watch the rest of the site. The code we changed controls some sort of accordion feature/drag and sort feature? on the sidebar (apparently) so just make sure that is still working and if so – then we are good.