Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 14,026 through 14,050 (of 22,680 total)
  • Author
    Search Results
  • #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.

    #120731

    In reply to: [fixed] Bug on 1.5

    Paul Wong-Gibbs
    Keymaster

    WordPress does that to slugs when there’s already a pre-existing slug with the same name; it adds a number to differentiate.

    #120718
    Chido
    Member

    BP Default. Native WordPress themes, like the login form that used to be in the right is not showing in this version

    #120691

    Im still having trouble. now the message form is showing up, but when I click on send message, it comes up with a blank form, the name doesnt transfer. when i do send a message, i got a blank page with this error now:
    Fatal error: Call to undefined function bp_get_settings_slug() in /home2/showandr/public_html/wordpress/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php on line 20

    Also, all replies to any activity not showing up/not working. any ideas?

    rodrigueswilson
    Participant

    How can I chage wordpress 1.5 language?

    #120689
    Adam
    Member

    Heres what I did:

    (this is on a multisite – yes my host allows for e to execute php files and -press type programs, including wordpress and bbpress)

    I deleted my old BPress for other issues that worked upon its deletion. I then searched and installed this version through the dashboard for network admin and then tried to network activate. the first tie I got that error, I then checked the permissions and tried an experiment by setting things from 750 – 777 for all files and directories (including sub directories) of my “upload to” folder. so this made all associated files with bp 777. I tried activating it again….same issue.

    #120677

    In reply to: Previous version?

    Boone Gorges
    Keymaster

    You can download previous versions of BuddyPress from https://wordpress.org/extend/plugins/buddypress/download/

    #120674
    r-a-y
    Keymaster

    Thanks for the report.

    I’ve filed a ticket about this:
    https://buddypress.trac.wordpress.org/ticket/3604#comment:2

    #120671
    r-a-y
    Keymaster

    Users are the same even when you upgrade from 1.2.x to 1.5.

    If you’re talking about an import users option for BuddyPress (not WordPress), that’s different. A plugin like that could be developed, but as far as I know, nothing freely exists at the moment. I could be wrong though.

    #120670
    islandcastaway
    Participant

    Hello,
    This really isn’t a BuddyPress thing.

    Check out https://wordpress.org/extend/plugins/polldaddy/

    Polldaddy is an Automattic ruckus http://polldaddy.com/

    :P

    #120666
    Andrew Tegenkamp
    Participant

    ok, let’s give this code a shot. I just tried it on a local dev and it worked well.

    Code:
    function redirect_group_home() {
    global $bp;
    $path = clean_url( $_SERVER[‘REQUEST_URI’] );
    $path = apply_filters( ‘bp_uri’, $path );
    if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[‘groups’][‘home’][‘slug’] ) === false ) {
    /*
    echo "HERE WE GO…";
    echo "<PRE>"; print_r($bp->groups->current_group); echo "</PRE>";
    echo $bp->groups->current_group->status;
    echo $bp->groups->current_group->is_user_member;
    */
    if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
    //echo "<PRE>"; print_r($bp->bp_options_nav); echo "</pre>";
    //exit();
    if ($bp->bp_options_nav[‘groups’][‘announcements’][‘slug’]) {
    bp_core_redirect( $path . $bp->bp_options_nav[‘groups’][‘announcements’][‘slug’] . ‘/’ );
    } else {
    bp_core_redirect( $path . $bp->bp_options_nav[‘groups’][‘forum’][‘slug’] . ‘/’ );
    }
    //bp_core_redirect( $path . ‘welcome/’ ); //quick hack for some other tab
    }
    }
    }
    function move_group_activity_tab() {
    global $bp;
    if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
    $bp->bp_options_nav[‘groups’][‘home’][‘position’] = ’98’;
    $bp->bp_options_nav[‘groups’][‘admin’][‘position’] = ’99’;
    $bp->bp_options_nav[‘groups’][‘home’][‘name’] = ‘Activity Log’;
    }
    }
    add_action(‘wp’, ‘redirect_group_home’ );
    add_action(‘bp_init’, ‘move_group_activity_tab’);

    If that does not work for you can you kinda enable debug and comment out the /* and the //echo lines and see if you get anything different?

    On a side note, I noticed you called them forums. Did you know that bbPress is now a plugin at https://wordpress.org/extend/plugins/bbpress/ if you don’t want all the BuddyPress features and just the forum itself? Just an FYI in case that serves ya better. Check out https://bbpress.org/blog/ for more as it’s new as of yesterday as an official release.

    #120665

    In reply to: Blogs & Sites

    r-a-y
    Keymaster

    You need to create a WordPress network first before you can use BuddyPress’ blog tracking functionality.

    Have you read this article?
    https://codex.wordpress.org/Create_A_Network

    #120659
    MajinSaha
    Member

    @Paul_Gibbs, the error I get is something like that:
    [Thu Sep 22 08:47:40 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/wordpress/register, referer: http://localhost:9080/wordpress/

    #120633
    sheffieldlad
    Member

    The setting is in wordpress under discussion I believe

    #120632
    Damon Cook
    Participant

    Also, Custom Profile Filters seems to be working fine with BP 1.5 / WP 3.2.1.

Viewing 25 results - 14,026 through 14,050 (of 22,680 total)
Skip to toolbar