Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,676 through 11,700 (of 94,559 total)
  • Author
    Search Results
  • #264689
    Venutius
    Moderator

    That shortcode is not part of BuddyPress, you need to refer your request to the plugin developer for the shortcode, would that be BuddyDev?

    #264686
    Slava Abakumov
    Moderator

    Just sent a new issue!

    BuddyPress Newsletter – #24 – BP security release, Community Hosting, BuddyApp Theme, BP with WooCommerce etc

    https://www.getrevue.co/profile/bpmail/issues/24-bp-security-release-community-hosting-buddyapp-theme-bp-with-woocommerce-etc-48208

    #264685
    McCage
    Participant

    I do not use Twitter. When I register for a WordPress website, I do not realize that the username will be revealed in BuddyPress. I prefer to see my username as part of the login secret and I think many of my BuddyPress friends will feel the same. I would like to see a setting that makes it possible to use the real name or the nickname on screen as is the case for comments to postings in WordPress. Or a plugin to do so.

    Paresh Radadiya
    Participant

    I’m trying to get group navigation menu items to show on single cutom post type page but am completely unsure how to approach the problem.

    I’ve built my solution by setting current component and current group manually to be able to get group navigation tab items.

    function boss_set_current_groups() {
        global $bp;
    
        if ( is_singular('course')  ) {
            $group_data = groups_get_group(7);
            $bp->current_component = 'groups';
            $bp->current_item = 'literature';
            $bp->current_action = 'experiences';
            $bp->is_single_item  = true;
            $bp->groups->current_group->is_user_member = true;
            $bp->groups->current_group->is_visible = true;
    
            $bp->groups->current_group = $group_data;
            $bp->current_item = $group_data->slug;
    
            $bp->groups->nav = new BP_Core_Nav( $bp->groups->current_group->id );
        }
    
    }
    
    add_action( 'bp_setup_canonical_stack', 'boss_set_current_groups', 11 );
    
    function boss_options_nav_html() {
    
        if ( is_singular('course')  ) {
            
            global $group_nav_html, $bp;
            ob_start();
    
            bp_get_options_nav();
    
            $group_nav_html = ob_get_clean();
    
            $bp->current_component = '';
            $bp->current_item = '';
            $bp->current_action = '';
            $bp->is_single_item  = false;
            $bp->groups->current_group->is_user_member = false;
            $bp->groups->current_group->is_visible = false;
            $bp->groups->current_group = '';
            $bp->current_item = ''; 
        }
      
    }
    
    add_action( 'bp_screens', 'boss_options_nav_html', 1 );

    After generating navigation html, ideally i’d like to reset main query in WP_Query to single custom post type as BuddyPress also override WP_Query object, but I haven’t found a way to do that.

    Have any of you seen something like that? Or could you provide an educated guess of where I might look for more info?

    Any help or support would be greatly appreciated as I am stumped.

    Muhammad Kashif
    Participant
    #264673
    ryanlavine
    Participant

    WP:4.7.3
    BP:2.8.2
    SITE: http://www.middleschoolenglish.net – question area is behind membership wall
    Theme: Tesseract 2.7.1 (do not know if it is non-bundled)

    I have BuddyPress and have used the [activity-stream] shortcode in a Beaver Builder text editor on the site to show the Activity Stream. However, there is the title, “Latest Activity” and it is immediately followed by posts; there is no “Status Update” section for me to include content as I have seen in BP screenshots. I cannot figure out how to do this and would really appreciate your assistance.

    #264669
    mortspud
    Participant

    Hi all,

    I have a strange issue on my hands.
    When logged in as a regular user/member on my Buddypress site, I go to the edit profile page (edit.php) and populate the profile fields with new/updated information. When I hit save and check the profile, the information is not updated.
    However when I am logged in as admin and do the same thing, the fields will update and store correctly.

    At first, I thought it was an issue relating to the fact that I have heavily modified the edit.php file and have fields from 3 groups showing on one page. So, I deleted all but one group. No change.

    I am now thinking it has something to do with write permissions.
    The URL of the edit profile page is: members/username/profile/edit/group/1/

    Anyone have any ideas on what it could be?

    rastadjust
    Participant

    Poeple at wordpress checked out something about images not showing up in galleries it was a plugin but ther was also the following error. The website is incredibly slow and I don’t have a ton of plugins running (mailchimp, google translate, recommended mikmag plugins, yoast, ping optimizer, nexgen gallery,instagram feed, and social share icons). You can check out the website speed here: slow site
    Ill nask wordpress to check

    There is some JS error on the page from buddypress plugin:

    Uncaught TypeError:

    jq.cookie is not a function
    at bp_init_activity (/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js?ver=2.8.1)

    I didn’t tamper with nothing else than header.php.

    rastadjust
    Participant

    Ask help on BuddyPress plugin’s forum how to fix javascript error:

    Uncaught TypeError: jq.cookie is not a function
    at bp_init_activity (/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js?ver=2.8.1)

    My galleries were not working.

    #264659
    Henry Wright
    Moderator

    How do I do that on the server side?

    You’d use the modulo operator, like in my example above.

    Did this work for you?

    #264657
    r-a-y
    Keymaster

    Actually, what hnla points out is correct. Disregard what I previously wrote, I was thinking of something entirely different!

    index-directory.php has to be a full template with get_header() and get_footer().

    You should copy your theme’s page.php template and rename it to index-directory.php. Then move this file to wp-content/themes/YOUR-THEME/buddypress/groups/index-directory.php.

    Please note that template hierarchy means modifying the surrounding elements of the page. If you just want to modify the group loop itself, then just copy /groups/groups-loop.php and make your changes to that file.

    #264655
    kalico
    Participant

    Hi @r-a-y, Thank you for the reply. My parent theme doesn’t have that file, and yes I am using a child theme already, and I do understand that it doesn’t work with bp-default themes, but it SHOULD work with bp-default templates – no?

    For reasons I don’t understand,

    /bp-templates/bp-legacy/buddypress/groups/index.php

    does not work as the index.php file when copied to

    /community/groups/index.php

    Now, if you’re saying I should not expect it to, then….what should I use as my template for the groups index?

    If I’m reading correctly, @hnla says I should just use a regular page template from my theme, and strategically add in the contents of /bp-templates/bp-legacy/buddypress/groups/index.php (which, as he points out, is not a complete file with header, etc) and call it index-directory.php. (And thank you, @hnla for the reply as well 🙂 )

    I can do that. However, I haven’t found any documentation to that effect, and it seems to be much more complicated than the template hierarchy documentation implies:

    Therefore, you can modify any bp theme compatibility template by copying it over from:

    /bp-templates/bp-legacy/buddypress/

    To:

    /my-theme/community/ or /my-theme/buddypress/

    That is what I have always done, and I’ve never had this much trouble with it before.

    I have other template modifications to make, and if Hugo’s instructions are correct, it would be really helpful to know where the documentation is, in case I have further issues.

    If the template hierarchy page is correct, then something is wrong with my site, because I’m following those instructions (in spite of my original faux pas of using “themes” instead of “templates”).

    Thanks in advance for any further clarification you can provide.

    #264654
    malaruban
    Participant

    I am using buddypress register , It works fine. But I want to know some more information. User should get email with the following message after registering.
    Hi Clara,
    ________________________________________

    Thanks for registering!

    To complete the activation of your account, go to the following link: http://fashionliberation.dk/activate/C1yspxMuJvOifkLhcMKC8G2tIPmc00vd/

    I would like to add / edit some more text. May I know which path/file. I searched many files I did not get. Please help me.

    #264652
    r-a-y
    Keymaster

    @kalico – Template hierarchy doesn’t work for bp-default themes or older-style BuddyPress themes that are derivatives of bp-default.

    In your situation, I would just modify /themes/YOUR-THEME/groups/index.php directly.

    If this doesn’t exist in your theme, that means you are using a child theme, so copy /themes/PARENT-THEME/groups/index.php to your child theme and make your mods.

    I’m so wrong! Read my updated reply below.

    #264649
    tommyhares
    Participant
    do_action( 'bp_before_activity_loop' ); ?>
    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ):
    
      if ( empty( $_POST['page'] ) ) : ?>
    
        <ul id="activity-stream" class="activity-list item-list">
    
      <?php endif; ?>
    
      <?php      
        $count = 0;
    
        $args = array(
          'posts_per_page'   => 100000,
          'offset'           => 0,
          'category'         => '',
          'category_name'    => 'freedom-friend-news',
          'order'            => 'desc',
          'orderby'          => 'date',
          'include'          => '',
          'exclude'          => '',
          'meta_key'         => '',
          'meta_value'       => '',
          'post_type'        => 'post',
          'post_mime_type'   => '',
          'post_parent'      => '',
          'author'	         => '',
          'author_name'	     => '',
          'post_status'      => 'publish',
          'suppress_filters' => true 
        );
        $news_articles = get_posts( $args ); 
              
    	while( bp_activities() ): bp_the_activity();
    
    		bp_get_template_part( 'activity/entry' );
              
            $current_user = wp_get_current_user();
            if( $current_user->user_login == 'tommy' ):
              
              $count++;
              $news_iteration = $count / 7)-1;
              
              // Loop through news articles as long as there are articles.
              if( $count % 7 == 0 && !empty( $news_articles[$news_iteration] )):
              
                echo 'News Article';
                echo 'Iteration: '.$news_iteration;
                echo $news_articles[$news_iteration]->post_title;
                echo $news_articles[$news_iteration]->post_excerpt;
          
              endif;
                
            endif;
    
    	endwhile; ?>
    
    	<?php if ( bp_activity_has_more_items() ) : ?>
    
    		<li class="load-more">
    			<a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
    		</li>
    
    	<?php endif; ?>
    
    	<?php if ( empty( $_POST['page'] ) ) : ?>
    
    		</ul>
    
    	<?php endif; ?>
    
    <?php else : ?>
    
    	<div id="message" class="info">
    		<p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    #264640
    johnpoole
    Participant

    Hello,

    I create this post because when I try to modify or delete a profile fileds. I have an error message saying that I do not have the right to access the page. Here is the message that appears : “Sorry, you are not allowed to access this page.”. And, I can create new fields with the same profile that denies me access to modification and deletion.

    Currently, I uninstall and reinstall the plugin as it is indicated on the following post: Here.

    My version of wordpress is : 4.7.3
    My version of buddypress is : 2.8.1

    #264632
    kalico
    Participant

    I’m now trying to re-word my original response, so hopefully it will get past whatever filter is preventing me from reposting the dropped message.

    Thanks @danbp. Unfortunately, this wasn’t the solution I needed. Partly, perhaps, but not entirely.

    As you pointed out, I was wrongly copying files from bp-themes rather than bp-templates (a codeblind mistake on my part). But I was doing everything else correctly, in terms of file structure and use of /community/ according to your write up.

    I went through my steps again, this time copying

    /bp-templates/bp-legacy/buddypress/groups/index.php

    over to

    /community/groups/index.php

    with zero impact. (I test this by adding a bit of text in a spot that should display on the live site, and it does not show up. Tried several different places, no effect.)

    This would seem to demonstrate that BP is not reading that index.php file at all. It’s only reacting to the template change if it is called “index-directory.php”.

    I changed the file name (without moving the file) from index.php to index-directory.php, just as I did before, but again, it did not work as expected. The groups directory page picked up the new template, but it displayed a completely stripped-down version of the page, with no CSS at all (white background, default font, everything left-aligned, etc).

    I have been assuming that the index.php file would be a proper starting point (a template) to create custom modifications to the groups directory page (i.e., index-directory.php), but clearly that does not hold true.

    This seems very strange, because in looking at the php code in index.php, it’s got all the elements I see in the source for my live groups directory page. So it appears to be getting that exact same information from “somewhere else” within the plugin structure, but I can’t figure out where.

    My question is now: What file should I use as a starting point to duplicate my existing groups directory, so I can make custom modifications?

    I do hope you (or someone) can point me in the right direction. Thanks in advance!

    #264630

    Topic: Plugins Suggestion

    in forum Ideas
    shay1383
    Participant

    Plugins Suggestion: BuddyPress Exit Links (BuddyLinks)

    Plugin that will replace all links on the website (on activity and else) with shorten links.

    For example, Twitter links immidiatly changes to t.co/something and SoundCloud links changes to exit.sc/something

    If user attach facebook link, it will be automaticly replaced with my.shrt/df286yg.
    Plugin can suggest user to add short domain for these short links, or use his domain (default setting), which will look like this: mywebsite.com/go/8501g36

    Hope you will like the idea and want to develop it.
    Thank you for reading,
    Shay.

    #264629

    Topic: Plugins Suggestion

    in forum Ideas
    shay1383
    Participant

    Plugin Suggestion: BuddyPress Revenue (BuddyRevenue)

    ‘BuddyRevenue’ will add a tab in BuddyPress’ settings, where user can choose to display ads on his profile simply by activating ‘ads feature’.

    If activated, user will see revenue balance, and will be asked to submit his PayPal email or to link a bank account in order to withdraw revenues.
    If no email or bank account submitted, balance simply stays in profile.
    -Not so sure about linking bank account because it might be bit complicated.
    =Ads will be display in profile sidebar, as widget or something.

    Revenues: User recieves 90% of his profile’s ads revenue, website owner get 5%, and plugin author gets 5%.
    Plugin panel should also give admin the ability to change shared revenues.

    On WordPress dashboard plugin panel will give admin ability to withdraw and view his revenues.
    Admin should have ordinary ‘ads feature’ BuddyPress tab, which will show balance, as all users have.

    If admin wants to withdraw his 10% of users’ revenue, he will get it done by plugin settings (panel).

    Admin will have the ability to view the revenues from users, from his own profile and total balance.

    Users will be able to move their balance to their PayPal/Bank account with a click of a button.
    -Not so sure about linking bank account because it might be bit complicated.

    This plugin will encourage users to create interesting and inviting content, which will help the website’s growth.
    And also will give the plugin developer the money he needs to maintain his systems, and help the plugin author develop the plugin in the best way.

    *Please this image which I designed as example:
    http://bit.ly/2mLY3L7

    I hope someone over here will like and develop this idea,
    Because it can massively increase BuddyPress based websites’ growth.
    Thank you for reading,
    Shay.

    For more ideas, info or anything else- please contact me at shay1383@gmail.com

    #264628

    In reply to: Static page to Dynamic

    Henry Wright
    Moderator

    You use bp_core_new_nav_item(). See this article for more info:

    bp_core_new_nav_item()

    #264624
    Ekans
    Participant

    Hi there,

    I have a couple of pages that i created and i would like to insert those pages on BP dashboard. For that i installed BuddyPress Custom Profile Menu plugin. Now the problem is that the url of the page is xxxx.com/membership and the menu that is on BB dashboard is xxx.com/members/user_id/membership.

    How can i transform the “static” slug of the page to the new dynamic URL?

    Thanks in advance,

    Regards

    catalinac
    Participant

    Can you help me with a txt file for the code on the topic https://buddypress.org/support/topic/how-to-have-comment-and-replies-collapse-and-expand/ ?

    #264619
    arius_bell
    Participant

    I am having problems with my profiles on my website once i click on the search in the forum the theme i have is sweetdate and it seems that there is a problem with buddypress, but i dont know what to do.

    #264613
    danbp
    Participant

    bp-default theme is the old mandatory theme. BP doesn’t use it anymore since 1.9. This historical theme is only in for backpat compatibility perhaps still in use on some very old installs…

    Actually, BP fits to almost any modern theme, correctly formated and respecting WP’s code standarts.

    What you can try is to create in your child theme, a directory called “community” or “buddypress”.
    If you need to alter a bp template, you copy the original file from here:
    /plugins/buddypress/bp-templates/bp-legacy/buddypress/

    You copy only the file you need and you respect the folder structure who starts from /buddypress/.../

    Note that you if you want to use /community/ in the child, this folder is equal to /buddypress/ in the original template folder. You copy (for ex.) group’s index.php file.
    From:
    /plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php
    To:
    /themes/my_child/community/groups/index.php

Viewing 25 results - 11,676 through 11,700 (of 94,559 total)
Skip to toolbar