Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 13,976 through 14,000 (of 22,644 total)
  • Author
    Search Results
  • #120963
    Connor
    Member

    Hi, If its the problem I had then your website is not loading Global.JS you need to backup your functions.php file, (use your childthemes one if you have one) then edit it and add this code below near the bottom:

    if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
    /**
    * Enqueue theme javascript safely
    *
    * @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
    * @since 1.5
    */
    function bp_dtheme_enqueue_scripts() {
    // Bump this when changes are made to bust cache
    $version = ’20110921?;

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGIN_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ ),
    ‘view’ => __( ‘View’, ‘buddypress’ )
    );

    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
    endif;

    #120962
    Connor
    Member

    Sure, if i understand correctly you only want logged in users to see certain pages.

    Private-buddypress should do the job:
    https://wordpress.org/extend/plugins/private-buddypress/

    Hope that helps.

    #120958
    demilio
    Participant

    Just found the solution.

    I added // in front of this line in the functions.php in bp-default:
    ‘wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );’

    #120953
    Flora1234
    Member

    I want to emphaise that i want to RE-INSTALL WORDPRESS without losing my other plugins… it is possible through the dashboard.

    #120951
    Flora1234
    Member

    Since i upgraded with buddypress 1.5 i dont have the login screen any more and i can see the wiget boxes underneath. I am wondering if i should reinstall wordpress, but how can i do it through the dashboard.

    #120943

    @Lynn,

    I had major issues recently and isolated the offending plugin to ‘bp registration options’. See this for more info: https://wordpress.org/support/topic/any-one-using-buddypress-please-help

    We use ‘Block Spam by Math’ which seems to have cut down on robot reg’s quite a bit.
    Get it here: https://wordpress.org/extend/plugins/block-spam-by-math-reloaded/

    Hope that helps?

    #120942
    demilio
    Participant

    yes, the problem dissapears when I deactivate buddypress

    #120936
    r-a-y
    Keymaster

    What version of BuddyPress are you using?

    Have you tried changing the timezone settings in WordPress?
    https://codex.wordpress.org/Settings_General_Screen

    If you change your timezone settings, try posting a new blog post and see if the time is fixed in the stream.

    #120931
    r-a-y
    Keymaster

    Are you sure you’re not using any other plugins that rely on javascript?

    #120924
    Connor
    Member

    I know I added this code here:

    if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
    /**
    * Enqueue theme javascript safely
    *
    * @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
    * @since 1.5
    */
    function bp_dtheme_enqueue_scripts() {
    // Bump this when changes are made to bust cache
    $version = ‘20110921’;

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGINS_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ ),
    ‘view’ => __( ‘View’, ‘buddypress’ )
    );

    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
    endif;

    I put this in the last section of functions.php

    #120914
    Paul Wong-Gibbs
    Keymaster

    Hi. I’m not sure. Can you create a bug report on http://buddypress.trac.WordPress.org/ please? Same username and password as on here.

    Paul Wong-Gibbs
    Keymaster

    It’s as simple as adding one exclamation mark. Look at https://buddypress.trac.wordpress.org/changeset/5187 — red is deleted, green is added or modified.

    #120874

    Hi, We have a related problem:

    The widget menu options and general WordPress admin options are not expanding.
    This means we are unable to adjust widget settings. In the latter, we have to click the title of an item to open it, but then we cannot close it again.

    Any thoughts?

    Paul Wong-Gibbs
    Keymaster

    Hey guys

    Regarding /activity/post/ being broken. If you are using the default theme, and have javascript disabled, you will get this problem. If you are using a 3rd party theme without BP-Default’s javascript, problem will also occur. I’ve just fixed this bug in core: https://buddypress.trac.wordpress.org/ticket/3612

    It will be in BP 1.5.1

    #120869
    Tammie Lister
    Moderator

    Ultimately you have one theme, you can probably hack a theme switch but I’d also say that tends to lead to not only user but also general confusion. A cohesive look is far better.

    Now of course if you’ve hit a case where the styling is an issue my first question would be are you using the template pack? I would assume so if it was a WordPress theme?

    Now, what you could do is copy over the styling for those sections into your theme and use in those cases. Whilst keeping the wrapper of your site. However that would require some coding and I don’t know how you feel about that – some may not feel comfortable so hence asking?

    I just would not suggest even with a hack to do it loading a different theme depending on where you are as it ruins the experience for users.

    #120866
    Paul Wong-Gibbs
    Keymaster

    We saw this in an early beta release, but no-one could recreate it. Are you all using domain mapping? Can you all share some more information about your WordPress, what plugins you have, version numbers, etc

    #120846
    @mercime
    Participant

    @stripedsquirrel I don’t believe it would be compatible unless theme dev updated it. You could make Mystique BP-Compatible with the BP Template Pack, a future-proof solution.

    Connor
    Member

    Hi it does not appear to have worked, I put it in the child theme currently in use and the main theme. Below is my functions.php with the code in it, does that seem correct?

    <?php
    add_action( ‘widgets_init’, ‘bptc_login_out_widget’ );

    function bptc_login_out_widget() {
    register_widget( ‘BP_Theme_Converts_LogIn_Box’ );
    }
    class BP_Theme_Converts_LogIn_Box extends WP_Widget {

    /**
    * Widget setup.
    */
    function BP_Theme_Converts_LogIn_Box() {
    /* Widget settings. */
    $widget_ops = array( ‘classname’ => ‘bptc-login-out’, ‘description’ => __(‘BuddyPress Log In/Out Widget.’, ‘bptc-login-out’) );

    /* Widget control settings. */
    $control_ops = array( ‘width’ => 300, ‘height’ => 350, ‘id_base’ => ‘bptc-login-out-widget’ );

    /* Create the widget. */
    $this->WP_Widget( ‘bptc-login-out-widget’, __(‘BuddyPress Log in/out widget’, ‘bptc-login-out’), $widget_ops, $control_ops );
    }

    /**
    * How to display the widget on the screen.
    */
    function widget( $args, $instance ) {
    extract( $args );

    /* Before widget (defined by themes). */
    echo $before_widget;

    buddyPressLoginBox();

    /* After widget (defined by themes). */
    echo $after_widget;
    }

    }
    function buddyPressLoginBox() {
    ?>

    <?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>

    <form name="login-form" id="sidebar-login-form" class="standard-form" action="” method=”post”>

    <input type="text" name="log" id="sidebar-user-login" class="input" value="” />

    <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="” tabindex=”100″ />

    <?php /* Show forum tags on the forums directory */
    if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>

    <?php
    }
    if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
    /**
    * Enqueue theme javascript safely
    *
    * @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
    * @since 1.5
    */
    function bp_dtheme_enqueue_scripts() {
    // Bump this when changes are made to bust cache
    $version = ‘20110921’;

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGINS_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ ),
    ‘view’ => __( ‘View’, ‘buddypress’ )
    );

    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
    endif;
    ?>

    Boone Gorges
    Keymaster

    OK, sure. You should be able to drop this in your theme’s functions.php.

    `if ( !function_exists( ‘bp_dtheme_enqueue_scripts’ ) ) :
    /**
    * Enqueue theme javascript safely
    *
    * @see https://codex.wordpress.org/Function_Reference/wp_enqueue_script
    * @since 1.5
    */
    function bp_dtheme_enqueue_scripts() {
    // Bump this when changes are made to bust cache
    $version = ‘20110921’;

    // Enqueue the global JS – Ajax will not work without it
    wp_enqueue_script( ‘dtheme-ajax-js’, WP_PLUGINS_DIR . ‘/buddypress/bp-themes/bp-default/_inc/global.js’, array( ‘jquery’ ), $version );

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ ),
    ‘view’ => __( ‘View’, ‘buddypress’ )
    );

    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_scripts’ );
    endif;
    `

    #120831
    stripedsquirrel
    Participant

    Does anyone know if Mystique for BP works with the new 1.5?

    Connor
    Member

    lol tracking each other down :L

    Thank you for replying, the code didn’t show up on the post on the wordpress.org one, it says it was moderated, is there any chance you could post it here :)

    Boone Gorges
    Keymaster

    I just left a comment telling you how to do it on your wordpress.org post :)

    @mercime
    Participant

    @kkradel bp.css is enqueued after your style.css and bp.css has this in stylesheet
    `#wp-admin-bar .padder {
    width: 95% !important; /* Line up the admin bar with the content body in this theme */
    }`

    The easiest thing to do is to
    1 – download a copy of bp.css https://plugins.svn.wordpress.org/bp-template-pack/tags/1.2/bp.css
    2 – correct the width of #wp-admin-bar .padder to 100%
    3 – upload to server in plugins/bp-template-pack to override old bp.css

    jjstreat
    Member

    …was the code I tried to blockquote above. New to the forums. Heh.

    #120746
    Tammie Lister
    Moderator

    It depends what you want to happen on favourite.

    https://wordpress.org/extend/plugins/add-to-any/ works for social / bookmarking.

    If you wanted to add the BuddyPress style favorites though that would be:

    https://wordpress.org/extend/plugins/bp-favorites/

    Or perhaps likes with this plugin:

    https://buddypress.org/community/groups/buddypress-like/

    I am not 100% sure how updated any of those plugins are though.

Viewing 25 results - 13,976 through 14,000 (of 22,644 total)
Skip to toolbar