Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,401 through 12,425 (of 69,016 total)
  • Author
    Search Results
  • #242456
    joepesci
    Participant

    Hi, not on the buddypress specific activity steam, but my own. I just want to know how to create a custom field or something in order for the logged in user to select which news sources they want to see.

    #242450
    danbp
    Participant

    buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php

    Go here to search inside BuddyPress

    #242448
    danbp
    Participant

    @trobertson82,

    use this function bp_get_template_part( 'activity/post-form' );

    Add this to bp-custom.php or child theme’s functions.php

    function whats_new_my_friend() {
    	if ( bp_is_user_friends_activity() ) :
    		bp_get_template_part( 'activity/post-form' );	
    	endif;
    }
    add_action( 'bp_before_member_body', 'whats_new_my_friend' );
    #242440
    kjgbriggs
    Participant

    checking the Functions file, there is a huge amount of php requirements specified at the top (13 of them), I am guessing this will mess with me trying to make a child theme out of it.

    On a lighter note.
    The CSS files are included separately so I have the styles for BBPress and BuddyPress separated out for me.

    I have tried adding these to my custom CSS, but they don’t seem to change that much, just the overall placement of things.

    #242436
    djsteveb
    Participant

    @kjgbriggs – just took a look at your oblivion thing you like – it appears to be the forums layout you are concerned with here – which may end up being more of a “bbpress” theme-ing issue – not so much buddypress… last I checked you can add “bbpress” as an auto-addon for buddypress – but if it’s not profiles and activity stream stuff – you may need to look up some “bbpress” specific theme things if you run into issues – not sure if they go over all that at bbpress dot org these days or not.. I have not checked those forums / docs in years.

    #242427
    kjgbriggs
    Participant

    Sorry for not providing enough info.

    My main theme is called Divi and is created by Elegant Themes.
    The theme I want to use just for BuddyPress stuff is called Oblivion and is created by Sky Warrior Themes.

    An example of the BuddyPress forums nd layouts is here on the Oblivion demo:

    http://skywarriorthemes.com/oblivion/forums/

    I just want the styling for the BuddyPress and BBPress stuff from Oblivion in Divi.

    I did a bit of Googling and came to the conclusion that the best way to do this was to use a Child Theme.

    Divi is updated quite a lot so I would either have to not update anymore or lose the styling if I were to add the styles to Divi directly.

    There is little information I can find on having a child theme for specific things such as buddyPress though and I am unsure of how to do it.

    #242421

    In reply to: Registration issues

    djsteveb
    Participant

    @rochellebarlow
    You need to direct this question to the “OptimizeMember” plugin writer.

    I will suggest if you do not find it easy to work with that one, perhaps look into others like “s2member” or the membership plugins from wpmudev – and others.

    Some places provide better tutorials and support than others – some are easier to work with than others.

    This is not really a buddypress issue however I do not believe.

    (I am not a bp dev, just another random internet user of bp – and I have not looked into your particular optimize things)

    #242420
    danbp
    Participant

    Hi @maelga,

    Querying by member type is explained here:

    Member Types

    Then, you’ll have to create a custom function to get a navbar specific to each member type.

    Members Navigation Menus

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

Viewing 25 results - 12,401 through 12,425 (of 69,016 total)
Skip to toolbar