Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 48,651 through 48,675 (of 94,541 total)
  • Author
    Search Results
  • #27399
    alesmelo
    Member

    I just install buddypress in my site (buskers-nyc.com) and when I try to load a theme i get the error bellow:

    Fatal error: Call to undefined function bp_site_name() in /home/content/35/8384035/html/buskers/wp-content/plugins/buddypress/bp-themes/bp-default/header.php on line 27
    What am I doing wrong?

    #129220

    Nope. Didn’t even know about that. Thanks! I’ll give it a shot and report back.

    #129217
    Kathy_Goss
    Participant

    Anyone there? after temporarily changing back the root blog back to “1” – which I still need to figure out the problem changing root to “2” – now almost all of my buddypress page links for all users are getting broken links.

    #129216
    David Cavins
    Keymaster

    Are you using the BuddyPress Template Pack plugin? (https://wordpress.org/extend/plugins/bp-template-pack/) I used that and followed the procedure for adding BP compatibility to my theme that the plugin provides.

    #27398
    David Cavins
    Keymaster

    I had good luck using the following method for changing the default avatars, :
    `function my_custom_set_avatar_constants() {
    define( ‘BP_AVATAR_DEFAULT’, get_stylesheet_directory_uri() .’/images/default_full_size.png’ );
    define( ‘BP_AVATAR_DEFAULT_THUMB’, get_stylesheet_directory_uri() .’/images/default_thumb_size.png’ );
    }
    add_action( ‘bp_init’, ‘my_custom_set_avatar_constants’, 2 );`

    But those constants control both group and individual defaults, and I’d like my groups to have a different avatar than my individuals.

    Replacing group avatars sort of works following @r-a-y‘s code here: http://pastebin.com/QSWtCJMb . But, it break if you use the groups widget in the sidebar of your groups page; the widget then pulls the full-size default avatars, not the thumbnail size. Anybody know of a good post-BP-1.5 way to do this? It looks in the code like group avatars are handled just like individual avatars except for one bit that sets the directory to search in:

    `else if ( ‘group’ == $object )
    $avatar_dir = ‘group-avatars’;`

    Thanks for any help you can give.

    #27396
    Steve Ryan
    Member

    Hello everyone… I’m working on a BuddyPress installation and attempting to get things up and running. I wanted to make a few modifications to the current “group” signup process by adding a few additional fields to fill out, etc. I see the document within the community about the fact that there is an API to extend the group class, but I’m not exactly sure what an “extension” is supposed to do, exactly.

    I copied the text in the API, changed the appropriate things and made a plugin for it in a development setting. But, I’m not seeing where this is supposed to be implimented.

    Can anyone point me to an example of how someone created this “extension” as well as what exactly that extension is supposed to do?

    Thanks,
    Steve Ryan

    sheffieldlad
    Member

    hi all.
    My users find it confusing to have 2 menus once they have entered forums page or groups page.
    I’ve added the activity, groups, forums etc pages to my admin bar but I want to hide the top menu on the default buddypress admin theme.

    Can anyone point me in the right direction please?

    Many thanks.

    snowlas
    Participant

    Background image
    I don’t know where to grab this code. I didn’t see anything in the style.css page. Or where to paste this in the buddy press theme?

    Sidebar
    I do have a full width template file. I’m guessing I need to call that template – named tpl-fullwidth.php in the header? I tried to erase calling for the sidebar in the header file. This doesn’t work. I erased the inner div codes on the sidebar-buddypress.php file, but it just erases the information. My content is still small.

    #129211
    weknowmore
    Member

    This helped a lot!
    Thanks for your great help!

    I did change:
    `

    `
    in
    `

    `

    and
    `

    #129209
    IllusionApp
    Member

    I tried that out but it wouldn’t work.

    Then I went in to the template css file and changed with width of div.item-list-tabs ul to 99% instead of 100% and it fixed the alignment problem.

    I don’t quite understand why it works but it works.

    Thanks for all the help, Chris.

    Now time for me to go back in and fix all the divs for the Buddypress pages to match my theme.

    seravifer
    Member

    Fatal error: Call to undefined function bp_get_settings_slug() in /homepages/4/d373400434/htdocs/fp/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php on line 17

    I need sulucion

    #129205

    In reply to: Image problem on posts

    @mercime
    Participant

    Deactivate BuddyPress and BP plugins, see if the same issue occurs. If the same issue happens, please contact theme developer.

    yoshu
    Member

    Hi everyone,

    I’m trying to set up a conditional statement like the following: If member is in group-1, then display this data. I’m trying to accomplish this using the bp_has_groups() function, but the ‘slug’ paramater is being ignored. (I found this ticket, so maybe I’m doing something wrong http://buddypress.trac.wordpress.org/ticket/2698).

    Here’s my code:

    `
    <?php

    global $current_user;
    get_currentuserinfo();

    $arrrr = array(
    ‘slug’ => ‘gibberish’,
    ‘max’ => ‘1’,
    ‘user_id’ => $current_user->ID
    );

    if ( bp_has_groups ( $arrrr ) ) {
    echo ‘Your ID is ‘ . ($current_user->ID );
    echo ‘
    Yarrr matey!
    ‘;
    echo bp_groups_pagination_count() . “
    “;
    } else {
    echo ‘you’re not a member of this group
    ‘;
    }
    ?>
    `
    There is no such slug as “gibberish” and the if statement always returns true no matter what I pass in for the slug. Any suggestions?

    Thanks!

    #27392
    302kyle
    Member

    I am using WordPress 3.3
    I am using Buddypress 1.5.2
    I am using a customized theme so it supports Buddypress (Pandora theme)

    When making a new post, I can add an image. The image will show on the home page of my website, but when I click on a post, to go to that specific post page, the image will disappear. Any ideas?

    @mercime
    Participant

    You’re welcome.

    == only thing missing is the background image ==
    That is because the body class .custom-background where your black background is added to is not automatically generated in the BuddyPress template files. If you are set in what your style is, you could copy over the body.custom-background styles to body { }

    == If I got rid of the sidebar for a full width view, would it break? ==
    Check if the theme has a full-width template file and make the changes in header-buddypress.php and sidebar-buddypress.php per structure.

    snowlas
    Participant

    Awesome. Works! The only thing missing is the background image… which I should be able to tinker with in the CSS and get it to work that way.

    If I got rid of the sidebar for a full width view, would it break? If it will, then I’ll leave it alone.

    Thank you so much! Amazing support! :)

    Hello,

    I’m trying to get a child theme installed on my installation of buddypress 1.5.3. As far as I can tell I’m doing everything exactly like the walkthrough here:
    http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    I added my new theme to the wp-content/themes folder and here is the header in my style.css file:

    `
    /**
    * Theme Name: Cornerstone Theme
    * Theme URI: http://www.cornerstonecooking.com
    * Description: Theme for Cornerstone
    * Version: 1.0
    * Author: Nick Evans
    * Author URI: http://www.macheesmo.com
    * License: GNU General Public License
    * License URI: license.txt
    * Template: bp-default
    * Tags: buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
    *
    *
    */`

    The new theme showed in my themes list and I was able to activate it.

    Now for the problem… it doesn’t look like any actual changes that I make to that new style.css file actually get loaded.

    In fact, I can’t even view the new style.css on the web. For example, if you go to:
    http://www.cornerstonecooking.com/wp-content/themes/cornerstone/style.css

    I get a page not found error. If I try to access the original default stylesheet then it loads:
    http://www.cornerstonecooking.com/wp-content/plugins/buddypress/bp-themes/bp-default/style.css

    SO something funky is clearly going on.

    I’ve also checked the permissions on the child theme style. It’s set to 775 right now which I think should be fine.

    I’m pulling my hair out… anyone have any tips or clues?

    THANKS!

    @mercime
    Participant

    Open up sidebar-buddypress.php, at the top of the file, above other code add this:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save file.

    Upload to wp-content/themes/quickstart/

    Re: styling of BP components. You might want to use some or all of the style modifications used in Twenty Ten theme https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

    @mercime
    Participant

    First of all, delete footer-buddypress.php, we won’t be needing it.

    Open up header-buddypress.php and at the bottom of the file below other code add this:
    `

    <div id="post-” >

    `

    Save file.

    #129192
    IllusionApp
    Member

    Haha. I guess I’ll get used to the WordPress admin bar.

    Anyways, that worked perfectly and almost everything is in alignment now.

    I just noticed one last small problem.

    http://img815.imageshack.us/img815/3135/groupii.png
    The dropdown menus on the right side of the Buddypress pages seem to get cut off like in the picture and I don’t quite know what is causing that.

    snowlas
    Participant

    I have not. They are exact copies.

    I appreciate this! Thank you!

    #129188
    @ChrisClayton
    Participant

    @Craiglovelock – the “create an account” link is in the sidebar.php file.

    Line 37
    Seen Here: https://buddypress.trac.wordpress.org/browser/trunk/bp-themes/bp-default/sidebar.php#L37

    #129187
    bojan85
    Participant

    Wow that looks great!! So if I understand it right depending on what role the user selects on the drop down menu at the buddypress registration the relevant registration form will show up below?

    The screenshot looks awesome and I think the ability to direct users on 1st stage to specific xprofiles group will be a much needed addition to bp, especially for us novices

    @ChrisClayton
    Participant

    @Craiglovelock – you will have to figure out how to insert a custom textfield into the wordpress registration page and then insert a “name” field (sorry, cant help more since i have never touched the wordpress registration form)

    Since you have disabled the buddypress registration form and you have given wordpress back control over it, you may get better answers on the wordpress.org forums.

    @mercime
    Participant

    == I also tried to use some of the code in prior threads that helped others with this similar problem, but nothing worked. ==

    Those won’t work because of different HTML structures in all probability. Let me check on what you’ve posted so far.

    EDIT – Please confirm that the codes within header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php are original copies of your theme’s header.php, sidebar.php and footer.php respectively. That is, you have not added any other code to the aforementioned xxx-buddypress.php files.

Viewing 25 results - 48,651 through 48,675 (of 94,541 total)
Skip to toolbar