Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @tmuikku

    Member

    Hi Jozik and others :)
    Are you still developing BPML? It’s been a while since last update.

    @tmuikku

    Member

    Running WP (single) 2.9.2 and BP 1.2.1 with default theme. wp_enqueue_script( ‘thickbox’ ); will break group creation!

    I don’t have time to find out why, but somehow it relates to loader image thickbox initiates. This fixes it out, you won’t be seeing the loader though..

    wp-includes/js/thickbox/thickbox.js

    //on page load call tb_init

    jQuery(document).ready(function(){

    tb_init(‘a.thickbox, area.thickbox, input.thickbox’);//pass where to apply thickbox

    imgLoader = new Image();// preload image

    imgLoader.src = “”;//tb_pathToImage;

    });

    @tmuikku

    Member

    I got screens working:

    this stuff is found in skeleton component, bp-example.php, function bp_example_screen_one.

    Two alternatives how to load screen template:

    Put template file under wp-content/themes/current-active-bp-theme/ and use the bp_core_load_template function part to load it. Remember to comment out default templatefile stuff, there is the “OR” statement in comments ;)

    OR

    Use the BP build in template file to present content for your screen. If you use bp-default theme, there is no plugin-template.php file!! So copy that from some other theme.

    @tmuikku

    Member

    jgadbois:

    I’m also trying to make the skeleton component working with normal WP 2.9.1.

    To show example link in admin menu edit function “bp_example_check_installed” in bp-example.php. Replace “manage-options” with “manage_options” in add_submenu_page function call. You also have to put priority to action call like this add_action( ‘admin_menu’, ‘bp_example_check_installed’, 30 );

    I’m tackling with redirect thingy too.. frustrating.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar