Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 17,626 through 17,650 (of 31,073 total)
  • Author
    Search Results
  • #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

    #120923
    Connor
    Member

    Thanks for getting back,

    Nope the wp-CONTENTfile is still there, and all in the correct place buddypress is ROOT>WP-CONTENT>PLUGINS>BUDDYPRESS and the themes are also the same

    #120921
    Paul Wong-Gibbs
    Keymaster

    Take a look at the HTML source of http://utraz.com/members/test/activity/

    You’ll see

    http://utraz.comWP_PLUGINS_DIR/buddypress/bp-themes/bp-default/_inc/global.js?ver=20110921

    Obviously, that WP_PLUGINS_DIR shouldn’t be there! This is a strange issue. Have you moved your wp-content folder, or the plugins folder, or done any other non-standard ways to customise your BuddyPress install?

    #120911
    modemlooper
    Moderator

    Top of this page has links to lists of compatible plugins and themes http://codex.buddypress.org

    #120905
    @mercime
    Participant

    Download the six BP template folders which transferred into your active WP theme folder during the BP compatibility process down to your computer hard drive. Open up the first file, activity/index.php , with text editor of choice

    1) At the top, replace:
    `

    `

    with:
    `

    `

    2) At the bottom of same file, replace
    `

    `

    with:
    `

    `

    3) Before closing the file, you might also want to change the header tag of the activity/index.php
    `

    `
    to
    `

    `
    so all your headers across site are the same.

    Save file. Repeat 1-3 on the remaining 10 files. Save and upload to your active WP theme folder in server.

    #120904
    Lynn Hill
    Participant

    I have a similar problem. Since the upgrade my system crashed. A friend deleted the BP registration option Plugin for me which seemed to bring the dashboard back for me to use. But crashed the site when I reinstalled it. I know it wasn’t fully compatible with WP in the first place but it did a half decent job.

    I’m getting robots joining as members and I’m having to delete them one at a time. The ‘User pending’ never worked, all captchas don’t work either or are not compatible with latest WP.
    My theme (BP columns 1.2) has also changed from 3 columns to 2.
    My friend is working on changing the look of the site, but if I cannot get any of the important widgets to work I shall be spending most of my time dodging the robots.
    Any suggested help is appreciated. Even if it’s possible to go back to the previous BP until it’s sorted out.
    Thanks in advance.

    #120897
    fib
    Participant

    I’ve changed to the default theme and have menu now but still no activity or wp-admin?

    #120882
    fib
    Participant

    How do know what themes are 1.5? I’m using bp-fakename

    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.

    #120865
    best84
    Participant
    #120864
    @mercime
    Participant

    It would be easier if you gave the site URL. Or, you could install Firebug, a Firefox add-on, where you can check what div you need to add display:none or style accordingly.

    #120863
    Chi
    Member

    Cool. I got Bp 1.5 and BP template pack 1.2 already installed, the installation is correct and 11 files need to be update. I’ve added

    the Pastebin url here for the avenue page.php code. here : http://pastebin.com/vRu5jLDb

    also here’s the avenu index.php code here : http://pastebin.com/y15va2g3

    also I’m up to the setup option to install “Forums for Groups” and “New! Site Wide Forums” which I havent installed yet.

    Here’s something to give back to the community to test out WP theme’s, plugins, customisations without an internet connection http://www.instantwp.com/

    #120855
    echoman
    Participant

    @nahummadrid I hope there is going to be an upgrade, because currently on buddypress 1.5 it’s not working.

    #120854
    echoman
    Participant

    LiIttle something i learned as a newb.
    Activate your forum next thing you’ll want to do is then go to your settings you’ll see forums on the bottom

    You’ll see archive slug and Single Slugs rename in the forum base and then in the forum slug below aswell. Because forum actually conflicts with the sitewide forum. let’s say name your sitewide forum bulletin board or support. The group forum natively is the forum on the header menu. Which you can later rename..

    Now you want to make a topic go to topic in the forums. Click you’ll see “all forums” and “new forum”
    I would click new forums, here you name a topic of interest. let’s say general discussion name your topic and below give a basic Description(optional).

    Now you want to save it you’ll then see a link look at the link copy it. but only copy

    http://www.example.com/support

    Next thing you’ll need to do which is the final step. Go to the appearance section. You’ll see menu which is you site navigation menu. You’ll have a few things you have to do here.

    First make sure you make a custom menu or which now the main theme allows you to or you can make a custom menu name.

    look at the section on the top left corner a drop-down you click whichever theme is named or you select as your menu save .
    Now go down to custom links remember that link you copied earlier(http://www.example.com/support) paste it in there and name it click add to menu.

    Now you have a list you can now rearrange move or even create a drop-down menu on. What i did have activity /members /group and with forums i renamed that “group forum directory” moved that slightly to the right which creates a Drop-down, then the site wide forum which i named support or whatever you want to call it. Now save. DONE!!

    Go to your site homepage and everything should be there. Best of luck!! :)

    #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.

    #120844
    @mercime
    Participant

    Make sure you installed and activated BP Template Pack only on site where you activated BuddyPress in network – on main site or subsite. Also, methinks your server has memory limits issues – check page @aces posted above

    #120842
    Tammie Lister
    Moderator

    Did you update your theme to a BuddyPress 1.5 one? Also is there anything in your php error logs or / and server logs?

    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?

    Paul Wong-Gibbs
    Keymaster

    That form posts by javascript. You’ve not loaded the default javascript file (global.js) in your theme. I think this is probably the problem; see that your filters on your member directory etc don’t work either.

    #120815
    pixelsandtea
    Member

    I did as @mercime suggested, I installed the BP Template Pack. After I activated it and set it up I no longer had access to the network admin area! Luckily though I had my wp-config and .htaccess files up to date and backed up on my computer so I just ftp’d it into place overwriting the previous files. Now since I did that, I no longer have access to my dashboard at all! But at least I could now load the buddypress pages ok.

    Thankfully, it’s only a brand new install so I haven’t really lost anything but I will have to re-install the whole network again and I won’t be using the template pack again.

    And @aces, it’s because the template pack fixed the front-end loading issue that I can’t see how the memory limit would be preventing buddypress from loading.

    #120811
    aces
    Participant
    #120806
    linick
    Member

    I was going to post the same problem…

    I get this error:

    Fatal error: Call to undefined function bp_activity_get_permalink() in /wp-content/plugins/buddypress/bp-members/bp-members-template.php on line 590

    I’m using the default theme

Viewing 25 results - 17,626 through 17,650 (of 31,073 total)
Skip to toolbar