Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,326 through 12,350 (of 68,932 total)
  • Author
    Search Results
  • #242418
    djsteveb
    Participant

    @kjgbriggs – setting up a child theme is just a way to essentially make a new theme – using another “parent” as your template. When you activate, it’s just ONE theme that it handling everything for your wp/bp site.

    You do no provide enough details about your theme names, and what you like about the main one and the one that ‘looks better with buddyprees’ – however, if you just like the layout of the bp components with he second theme more, then yes I believe you could make a child theme from your primary theme, and then go into your secondary theme and start to pull some of the layout code for the bp specific components and add those to your main theme.

    If it’s overall colors and such you are trying to mix, like have a red header for your main site and a blue header for your bp pages – that is not going to be so easy..

    it’s easy to learn about child themes here: https://codex.wordpress.org/Child_Themes

    and a little more digging to learn about bp specif pages and components here:

    BuddyPress Theme Development

    for minor changes you can keep things simple by activating your second theme that you like with the bp looking better, go to the bp pages where you like the layout, right click on the element that looks good and click inspect elements – this will give you the css rules that are working the way you like.. things like alignment properties, bold, colors perhaps – copy those – put them into your new child theme styles and such..

    of course some things can be more tricky if your second theme has fancy functions.php, java and all that included.

    #242416
    djsteveb
    Participant

    @chetbutikofer – I have not run into that exact thing – but you can go into your site via ftp or file mananger, under wp-content / plugins and simply delete the buddypress folder. That will usually deactivate just about any wp plugin.

    #242224
    valuser
    Participant

    Suggestions in this post MAY be of some help.
    https://buddypress.org/support/topic/multi-communities-in-one-website/

    #242220
    djsteveb
    Participant

    note sure if these work or not – never used them:
    https://wordpress.org/plugins/wp-invites/

    https://wordpress.org/plugins/buddypress-private-community/

    Let me know if you try them and they fail or work!

    #242218
    djsteveb
    Participant

    @mattfl850 – this info will help with that journey:
    bottom of the page: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/

    I am sure this is possible, it’s not the way I would do it… might also want to consider some of the info here: http://halfelf.org/2011/dont-use-wordpress-multisite/ (updated may 2015 😉

    Others may agree or disagree, and you may be keeping your server tuned like a well oiled machine – hidden from the SE spiders and brute force attackers and all that.

    Of course I am not an expert, or a bp dev or anything – just another user who has tried a few different setups and spent many hours trying to do what it “possible” and should be “simple” – and pulled my hair out trying to make things like that work well :))

    Not sure if anything is changed in recent updates, but I will mention that when I did this kind of conversion; I had to install the role scoper plugin (now called press permit) – in order to hide people’s private pics they uploaded – as they were visible in the media gallery for other bp users on my sites who had signed up for a “blog” (not called “site” in multi-site) – that was a painful thing to find out the hard way – maybe things have changed with that and other issues – not sure.

    Have fun with that and let me know how it works out for ya!

    #242213
    djsteveb
    Participant

    @ajay25 – maybe the wp plugin “good question” ( https://wordpress.org/plugins/good-question/ ) will do what you are asking (?)
    Maybe “buddypress humanity”

    I imagine there are other similar ones in the wp repo these days

    #242212

    In reply to: activity stream

    blogook
    Participant

    Thanks so far.

    I am using latest version of WordPress and Latest of Buddypress

    Lets forget about css for now, I think I need to redo how activity stream is generating the html. If I want to get done as in my example (1st post) then I need to generate my own HTML. I am considering writing my own plugin to make it do what I want..

    What buddypress filter can I use to adjust the html below?

    <div class="activity-inner">
    <p>Si quicquam extra virtutem habeatur in bonis. Qua ex cognitione facilior facta est investigatio rerum occultissimarum. Tum ille timide vel potius verecunde: Facio, inquit.</p>
    <p>Videmus igitur ut conquiescere ne […]<img src="http://somewebsite/wannabe/wordpress/wp-content/uploads/2015/07/Unknown.jpg"></p>
    </div>
    #242207
    Easy Web Scripts
    Participant

    I am not using a buddypress template.

    #242203
    Henry Wright
    Moderator

    Take a look at the BuddyPress Template Hierarchy article. If your theme uses BuddyPress templates then you’ll be able to override them.

    #242199

    In reply to: activity stream

    djsteveb
    Participant

    @jgob – The simple answer would be sure, there is a way, edit the css.

    there is no real way to answer your question I don’t think – there are no details. What is messed up? What is cleaner? Who decides these things?

    What you are asking is highly dependent on which theme you are using.

    As is suggested here: https://buddypress.org/support/topic/when-asking-for-support-2/

    Best to have the info so people may take a look.

    Without that info – right click on your pictures, inspect elemment, go to your css and change things is all I can tell ya.

    #242191
    Garrett Hyder
    Participant

    Hi @shanebp,

    Sorry for the confusion, I’ve created a bp_group_list_managers that’s a merge of bp_group_list_admins and bp_group_list_mods to provide a single consolidated listing.

    function bp_group_list_managers($group=false) {
        global $groups_template;
        if(empty($group)) {
            $group =& $groups_template->group;
        }
    
        // fetch group admins if 'populate_extras' flag is false
        if (empty($group->args['populate_extras']) || true) {
            $query = new BP_Group_Member_Query(array(
                'group_id'   => $group->id,
                'group_role' => 'admin',
                'type'       => 'alphabetical',
            ));
    
            if (!empty($query->results)) {
                $group->admins = $query->results;
            }
        }
    
        // fetch group mods if 'populate_extras' flag is false
        if (empty($group->args['populate_extras']) || true) {
            $query = new BP_Group_Member_Query(array(
                'group_id'   => $group->id,
                'group_role' => 'mod',
                'type'       => 'alphabetical',
            ));
    
            if (!empty($query->results)) {
                $group->mods = $query->results;
            }
        }
    
        $admins = (array)$group->admins;
        $mods = (array)$group->mods;
    
        usort($admins, 'bp_group_member_sort');
        usort($mods, 'bp_group_member_sort');
    
        $group->managers = array_merge($admins, $mods);
    
        if (!empty($group->managers)) { ?>
            <ul id="group-managers">
                <?php foreach((array)$group->managers as $manager) { ?>
                    <li>
                        <a href="<?php echo bp_core_get_user_domain($manager->user_id, $manager->user_nicename, $manager->user_login); ?>"><?php echo bp_core_fetch_avatar(array('item_id' => $manager->user_id, 'email' => $manager->user_email, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_core_get_user_displayname($manager->user_id)))) ?></a>
                    </li>
                <?php } ?>
            </ul>
    <?php } else { ?>
        <span class="activity"><?php _e( 'No Managers', 'buddypress' ) ?></span>
    <?php }
    }

    As you can see I set the type here to alphabetical and was first confused why it did nothing then I realized the BP_Group_Member_Query’s were never even called as I guess populate_extras was set so not empty. This meant that the $group->admins and $group->mods came from the global $group_template->group which wasn’t ordered. I’m curious how to make that global $group_template->group admin/mod lists could be alphabetically ordered by default.

    For now I just amended my method to simply force the BP_Group_Member_Query’s to be used instead which has allowed for the alphabetical ordering.

    Hope that clears things up.

    Thanks

    #242188
    shanebp
    Moderator

    BP_Group_Member_Query is a class extension of BP_User_Query
    Take a look at the code examples here:

    BP_User_Query

    #242171
    shanebp
    Moderator
    #242168
    WTHeel
    Participant

    I just did, but it did not work. I looked at the function, saw $groups_template, and added the following inside and outside of the loop:
    var_dump($groups_template);

    Here’s the code from buddypress.php:

    <?
    /*
    Template Name: BuddyPress
    */
    
    get_header(); 
    $plp_user_check = plp_user_check($current_user);
    	var_dump($groups_template);
    	echo "<br>Course Path: " . bp_get_group_slug();
    include("forums-header.php");
    ?>
    
    <?	if( have_posts() ): ?>
    
    		<? 	while( have_posts() ): the_post();
    				var_dump($groups_template);
    				echo "<br>Course Path: " . bp_get_group_slug();
    				the_content();
    			endwhile; 
    		?>
    
    	<? else: ?>
    
    		<div id="post-404" class="noposts">
    
    			<p><? _e('None found.','example'); ?></p>
    
    		</div><!-- /#post-404 -->
    
    	<? endif; wp_reset_query(); ?>
    
    </div><!-- /#bodyContainer
    <?	get_footer(); ?>

    The first var dump just returned “NULL”. The second one returned:

    object(stdClass)#644 (1) { ["group"]=> NULL }

    #242153

    In reply to: Activating Memberships

    djsteveb
    Participant
    #242144

    In reply to: Where i

    jessy
    Participant
    #242142

    In reply to: Where i

    jessy
    Participant

    How to customize “profile/change-avatar/” page?

    I have used “index-action-change-avatar.php” template, but javascript is not loaded and you can not crop image by your needs. I have copied all the content from /profile/change-avatar.php default buddypress template directory.

    Thank you.

    #242125
    Whiskyharry
    Participant

    in an older installation I did the same (I hope so) and it works fine.
    Yesterday I had some issues with the profile header and I reinstalled buddypress. Now, some translations are missing…

    #242122
    Whiskyharry
    Participant

    In my the7.2-Theme I have several templates for using them for pages and the blog.
    But I do not really unerstand the concept behind buddypress:

    • I have to create a page and then I assign it to members/groups/activity… but as I create the PAGE, there is a sidebar. WHy doesn’t buddypress use/show this sidebar?
    • It’s the same issue with the footer widget area (ok, it’s the same as a siebar)
    • Why do I have to extend the functions.php to be able to use the sidebars?
    • And what are these functions (posted above) do?
    #242120
    Whiskyharry
    Participant

    oh sorry:
    I’m using the7.2 from themeforrest.

    They’ve sent me some snippets to include in the themes functions.php, but I don’t know if I’ve included them correctly. But after including them, I had the sidebar on several pages (e.g. the member-subpages), but still missing on

    • all groups
    • single group
    • members list (first page)
    • group list (first page)
    • activity list (first page)

    They said it was a kind of “blueprint”, so I added the lines – without really understanding what I’m doing. As a result, it seems to work on some pages – but not on all:

    function dt_bbypress_template_config1()
    {
    if( is_bbpress() )
    {
    $pagid = 35615; //sidebar, footer settings of the page id given will be applied to user profiles
    $config = presscore_get_config( );
    presscore_config_base_init( $pagid );

    }
    }
    add_action( ‘get_header’, ‘dt_bbypress_template_config1’, 10 );

    function dt_buddypress_template_config2()
    {
    if( bbp_is_single_user() ){
    $pagid = 35615; //sidebar, footer settings of the page id given will be applied to user profiles
    $config = presscore_get_config( );
    presscore_config_base_init( $pagid );
    }
    }

    add_action( ‘get_header’, ‘dt_buddypress_template_config2’, 10 );

    function dt_bbypress_template_config3()
    {
    if( is_bbpress() )
    {
    $pagid = 35609; //sidebar, footer settings of the page id given will be applied to user profiles
    $config = presscore_get_config( );
    presscore_config_base_init( $pagid );

    }
    }
    add_action( ‘get_header’, ‘dt_bbypress_template_config3’, 10 );

    function dt_buddypress_template_config4()
    {
    if( bbp_is_single_user() ){
    $pagid = 35609; //sidebar, footer settings of the page id given will be applied to user profiles
    $config = presscore_get_config( );
    presscore_config_base_init( $pagid );
    }
    }

    add_action( ‘get_header’, ‘dt_buddypress_template_config4’, 10 );

    #242108
    djsteveb
    Participant

    @ronz – have you poked around https://codex.buddypress.org/themes/ ?

    I am would not bet things are as up to date as they could be, but I think there is some useful info there.

    what do you mean “page is visible” to user logged in?

    #242107
    5high
    Participant

    I know this is a VERY old thread but it’s exactly the same problem: https://buddypress.org/support/topic/error-composing-messages/ – may be helpful if you’re well versed in BP?

    #242106
    djsteveb
    Participant

    @whiskyharry – what theme are you using?

    with all of my buddypress sites I have the same sidebar on all pages.

    #242091
    ronz
    Participant

    Is there a website where buddypress functions are listed ?

    #242088
    shanebp
    Moderator

    Try this…

    Make a template overload of this file:
    bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php

    In that new file, change this:
    <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    to this, assuming the id of your base group is 1

    <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
        <?php if( bp_get_the_profile_group_id() != 1 ) : ?>

    And add an <?php endif; ?> before the <?php endwhile; ?> near the bottom of the page.

    Do the same for:
    bp-templates\bp-legacy\buddypress\members\single\profile\edit.php

Viewing 25 results - 12,326 through 12,350 (of 68,932 total)
Skip to toolbar