Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 13,776 through 13,800 (of 31,072 total)
  • Author
    Search Results
  • #139533
    Tim Hyde
    Participant

    I had similar issues with a plugin I developed – all fixed now. Your best contacting plugin developers as there do seem to be a few significant changes to core in 1.6.

    Blank pages are often due to a plugin/theme throwing an error. The plugin maybe using stuff that’s changed (especially if accessing data structures like the $bp object directly) and is simply throwing an error. Use WordPress in debug mode and check the log file.

    #139525

    @mastermind12

    If you are referring too the activity bubble on the Members Directory page, then do this:

    add the following line of code to the `style.css` document in your themes directory:

    `ul#members-list span.activity {
    display:none !important;
    }`

    if you are referring too a different activity bubble, then let us know which one exactly.

    aces
    Participant

    You could create an empty text file called /wp-content/plugins/walled-garden.php, paste the following into it, then activate the plugin:
    `
    <?php
    /*
    Plugin Name: Buddypress Walled Garden
    Plugin URI: http://www.example.com/
    Description: A brief description of the Plugin.
    Version: 0.1
    Author: http://www.example.com/
    Author URI: http://www.example.com/
    License: A “Slug” license name e.g. GPL2
    */

    function sh_walled_garden()
    {
    global $bp;

    // if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )

    if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) )
    return;

    if( ! bp_is_blog_page() && ! is_user_logged_in() )

    bp_core_redirect( bp_get_signup_page() );
    }

    add_action( ‘bp_init’, ‘sh_walled_garden’ );

    function bp_remove_feeds() {
    remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
    remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
    }
    add_action(‘init’, ‘bp_remove_feeds’);

    ?>`
    Tested in bp 1.6.1

    The plugin should not have spaces, blank lines, or anything else before “ and use a simple text editor ( like this ) rather than a wordprocessor….

    – – –

    To have a different menu for logged in users is slightly more complicated.

    You need to find the template bit that shows the menu.

    In the current bp-default theme header.php file is the following
    `
    false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
    `
    which can be replaced by
    `
    <?php
    if ( is_user_logged_in() ) {
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
    } else {
    wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
    }
    ?>
    `
    Then create the secondary menu in the wordpress menu admin…..

    Please backup files and database before trying this out in case there are complications. It would be better to try out on a test/dev site first …..

    SeFi
    Member

    @shawn38 Thanks but I’m already using a theme for my client and I can’t change it…

    @BooneGorges As for shawn38 I’m already using a theme and I’m not a really good programmer so what you’re refering to is to difficult for me :(

    Can’t I find a plugin to do that ? No one ever thought of doing it ?

    Thanks a lot guys !

    kooba
    Participant

    I’ve gone trough all the steps once again and it worked out ;D Thank You very much….btw, can You recommend any website with tutorial videos on configuring/using buddypress??

    kooba
    Participant

    @mercime ok, done…but I must have done it wrong as it is not working ;/ can You take a look please?

    kooba
    Participant

    @mercime Thank You very much for your help, I’m going to check it straight away and let You know if it worked out…

    #139498

    In reply to: Everything posts twice

    I found that global.js was loading twice for me.
    once at buddypress>_inc>global.js and once at theme>includes>js>global.js
    I dont recall putting my global.js file in my theme but I can be flighty sometimes :)

    murasaki
    Participant

    yep, it asked for 100663296 bytes this time, and gave me the white screen. When I activate the plugin “Mobile Theme switcher” I can actually still navigate via desktop, but ipad gets white screen, as well as mobile device (android phone), and yet I still get the memory request for an increase of memory. no matter what I set it to, how high, it just doesn’t want to play nice. Sigh….they are really good plugins too, as far targeting certain devices

    murasaki
    Participant

    hey paul, i’ve tried to adjust my memory output to the asked amount but after doing so, i get an even higher amount. I’m working locally before I go live, so, for the time being, should I go to an high amount, or …? what would you suggest? Im going to try the 96M and see if it’s sufficient enough first.

    I’ll check back and let you know how it went ;)

    Paul Wong-Gibbs
    Keymaster
    oblax
    Participant

    BTW, the 3 column theme can be found here, https://wordpress.org/extend/themes/bp-columns it produce the error mentioned below when clicking the member’s profile.

    Fatal error: Cannot access empty property in …/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 823

    @mercime
    Participant

    Code posted at http://wp.me/p1I84P-1u

    @mercime
    Participant

    @kooba Confirmed that based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your basic theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your basic theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    #139475
    richardpd
    Member

    Well I don’t know what has caused my theme format to break-something to do with either the bbPress or BuddyPress plugin update. JJJ doesn’t think it is bbPress and yet you appear to think it is-a bit confusing.When I updated the plugins I got that error message and then I tried to get back to my theme & admin pages by renaming plugins and then ended up with the theme displaying in it’s broken state. Are bbPress & BuddyPress meant to integrate together? I thought they were meant to.
    I would like to figure out what has broken my theme and would appreciate some help with it as of course if I could do it on my own I wouldn’t be posting here and on other forums asking for help!
    Simples really…-can someone please help me fix/restore my theme format? Many thanks

    #139471
    mastermind12
    Member

    Thank you for your reply. I am using the BuddyPress default theme.

    #139463
    Tammie Lister
    Moderator

    Hi mastermind12, the advice for this does change depending on what theme you are using. What theme are you using?

    Boone Gorges
    Keymaster

    It looks like some styles are missing. How are you styling the BP content? Are you pulling in bp-default’s stylesheet? Check to make sure that your version isn’t somehow mangled; it should be 2423 lines long https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-default/_inc/css/default.css

    9087877
    Inactive

    Found this snippet but I would still like to know how to turn off activity replies to comments all together. This snippet limits activity comments to 2 comments. It is placed in the functions.php of your theme:

    //begin comment limit snippet
    function test_comment_depth_limit( $can_comment, $comment ) {
    if ( $comment->mptt_left > 2 )
    $can_comment = false;
    
    return $can_comment;
    }
    add_filter( 'bp_activity_can_comment_reply', 'test_comment_depth_limit', 10, 2 );
    //End comment limit snippet
    djduckworth
    Member

    I think it must have been a plugin of some sort. I re-uploaded the theme files and the profiles now load correctly.

    #139444
    Paul Wong-Gibbs
    Keymaster

    What version of BuddyPress did you upgrade from?
    Are you using the latest available version of the Custom Community theme?

    djduckworth
    Member

    Yeah I upgraded from 1.6. There are no specific settings to turning on/off the accordion script. I’ve contacted the theme developer also. I’ll post here one I hear back.

    #139439
    mystica
    Member
    rossagrant
    Participant

    Sorry guys, ignore this, we’ve tracked it down to the theme engine I’m using.

    Thanks for the time though :)

    #139432
    @mercime
    Participant

    @mairaj know that if user disables styles in browser, they will see the search form. But should you still want to proceed with your method, these two lines should do it via CSS

    `/* Hide search form in ALL pages */
    #search-form { display: none; }

    /* Then show search form on this page only (change page ID to your installation’s page ID) */
    body.page-id-25 #search-form { display: block; }`
    You might have to add some width or float after display block depending on how you’ve styled the child theme.

Viewing 25 results - 13,776 through 13,800 (of 31,072 total)
Skip to toolbar