Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,176 through 8,200 (of 69,109 total)
  • Author
    Search Results
  • #265244
    r-a-y
    Keymaster

    When you set up BuddyPress, you have the option to map BuddyPress components to WordPress pages:

    Configure BuddyPress

    So basically, if you mapped the Members Directory page to example.com/members, you can go to your WordPress Pages menu in the admin dashboard, find your Members Directory page and rename the slug from members to whatever you wanted like people.

    #265239

    We’ve the same problem.

    But we found a solution to fix it.

    File: \htdocs\wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-admin.php

    Search the function “xprofile_admin_field” and there you replace the code from Line 609 to 630 with this:

    	$field_edit_url = add_query_arg(
    		array(
    			'page'     => 'bp-profile-setup',
    			'group_id' => (int) $field->group_id,
    			'field_id' => (int) $field->id,
    			'mode'     => 'edit_field'
    		),
    		//network_admin_url( 'users.php' )
    		'users.php'
    	);
    
    	if ( $field->can_delete ) {
    		$field_delete_url = add_query_arg(
    			array(
    				'page'     => 'bp-profile-setup',
    				'field_id' => (int) $field->id,
    				'mode'     => 'delete_field'
    			),
    			//network_admin_url( 'users.php' ) . '#tabs-' . (int) $field->group_id
    			'users.php#tabs-' . (int) $field->group_id
    		);
    	}

    So it don’t create nework admin url links, just site links. This will fix it till the next update.
    I hope the BuddyPress devs will fix it in the next release 😉

    #265237
    Slava Abakumov
    Moderator

    BuddyPress Newsletter #27 – mainly BuddyPress news, and a new theme – Besocial!

    https://www.getrevue.co/profile/bpmail/issues/27-mainly-buddypress-news-and-a-new-theme-besocial-50831

    #265230
    kalico
    Participant

    Hallelujah! After MUCH ado, I have finally figured out what the heck is going on here.

    At first, every change I made per the instructions from @hnla and @r-a-y had failed. I was sure it must be something in my set up, so I did a LOT of detective work and testing, and finally discovered multiple sources of problems.

    Although it’s unlikely this will be relevant to many others, I am posting it just in case it might help someone. I always like reading other people’s solutions — it often gives me fresh ideas, even if it’s not an exact fit. So here goes….

    1) I was copying my page.php from my child theme to use as /groups/index-directory.php, and it was breaking the groups directory page. Well…it’s in the child theme because it’s been modified from the parent theme, and whatever mods I made were not playing nice with the BP template hierarchy system. When I copied page.php from the parent theme, it worked just fine. (Maybe that’s why they are theme devs and I am a lowly hacker…)

    Now having solved the problem of which file makes the best template for a new groups directory, I had to figure out how to actually affect the area of the page that I want to affect: the section where the tabs and the group search live. Those are not in the page.php file, they are coming from somewhere else.

    I hunted down some bits of code that were in the section I wanted to modify, and searched all the theme and plugin files on my system for that snippet, and discovered the next problem…..

    2) The only place that the code exists is in BP Groups Hierarchy plugin, and BP itself. I had BP Groups Hierarchy (old version, with Ray’s compiled updates) enabled, along with an older version of BuddyPress (due to incompatibility issues between new BP and old BP Groups Hierarchy). Within this environment, the BP Groups Hierarchy plugin was actually taking over the display of the groups/index.php so none of my changes were showing up.

    3) The next thing I realized is that I have a customized community.php file (a.k.a. buddypress.php) which is where my buddypress loop actually lives. Or, more specifically, that file is pulling content-page.php. So I had to use that file (which had already started out as a copy of the parent theme’s page.php) to create a working and fully compatible template.

    In a nutshell, my new groups/index-directory.php goes something like this:

    The first part comes from COMMUNITY.PHP, which is a customized version of the PARENT THEME’S PAGE.PHP

    Then the PAGE TITLE CODE is copied from the child theme’s CONTENT-PAGE.PHP

    Next I replace THE LOOP from COMMUNITY.PHP with the ENTIRE CONTENTS of the original/default GROUPS/INDEX.PHP. We’ll call this the “new loop”.

    After the “new loop” section of the code, then my CUSTOM COMMUNITY.PHP FILE takes over again, filling out the rest of the file with the sidebar and footer.

    Note: Somewhere in here, I had to add a ?> to close the PHP. Can’t remember exactly where, but something I copied did not have a closing PHP tag. So if you get a blank screen, that would be a good place to look. 🙂

    I’ve posted my entire custom index-directory.php in a gist in case anyone wants to see it. It is commented in 4 places where I transitioned from one fragment to another. You can search on “GROUPS INDEX TEMPLATE” to find the comments in the gist. My parent theme is Zerif Pro, and I have a customized community.php/buddypress.php file. so you CANNOT JUST COPY this code. It just serves as an example of how I cobbled the code together to get a working template. Hope it is helpful.

    Grateful thanks to Ray and Hugo for all the assistance and advice!

    #265211
    r-a-y
    Keymaster

    > Can i call a complete bubbypress page on to a new page ?

    Short answer is no.

    You can however, change the slug of a BuddyPress page via the WP admin’s “Pages” menu. If you can change the location of the slug, this should satisfy most use-cases.

    > with php maybe? or create a shortcode?

    Yes, anything is possible with code! It depends what you want to show though.

    There are some plugins out there that show BP content via shortcodes. One of them is this one:

    Bowe Codes

    #265184
    David Cavins
    Keymaster

    The log-in page is a WordPress page. There is a guide on how to customize it:
    https://codex.wordpress.org/Customizing_the_Login_Form

    The registration page is created by BuddyPress and can be modified in many ways. You’ll need to understand theme compatibility and overriding templates:

    Theme Compatibility & Template Files

    So you could create your own copy of buddypress/members/register.php in your theme to make big changes, or potentially hook into the action bp_before_register_page to just add some html to top of the BP page.

    Best of luck.

    #265183
    David Cavins
    Keymaster

    Mail is complicated.

    BP provides unsubscribe functionality, so you maybe don’t need to do that anymore. BP Email sends html emails when possible.

    You might try filtering your messages in other ways. Have you read the “customizing emails” how-to? it includes an example of overriding the BP template so that the BP content is sent in your custom template.

    Emails

    #265182

    In reply to: activate problem

    David Cavins
    Keymaster

    Have you set up your BuddyPress pages?

    Configure BuddyPress

    If “Activate” is not set up, then WP will redirect you to your site’s home page.

    #265156

    In reply to: Remove Last Activity

    Henry Wright
    Moderator

    You will need to modify the template file. See the Template Hierarchy article for more info.

    Template Hierarchy

    #265108
    Brajesh Singh
    Participant

    Hi,
    most probably site tracking option is disabled. Please visit settings->BuddyPress and on the component page, please make sure that site tracking is enabled.

    Once it is enabled, the new post/comments will be recorded in the activity.

    Hope that helps.

    #265104
    danbp
    Participant

    Hi,

    BuddyPress pages are not ordinary WordPress pages. These pages should be blank, without any template assigned. BP pages exist only for internal purpose and to have their own slug (and the benefit of permalinks). The content is always dynamic and change depending the context.

    That is also the reason why you shouldn’t use a “page builder” for them untill you’re very comfortable with code and design.

    If you need a full width output or a sidebar, you adjust that in your theme settings or preferences. You can easely do that with WP’s Customizer. Or course reading your theme documentation can also help.

    If it is not possible that way, i recommand you use a child-theme, and add him any necessary part you’re actually missing. But ensure first that these parts are really missing !

    BuddyPress comes with a few CSS rules who normally fit with any correctly coded theme. This means that it actually can be used with almost any existing theme.
    BuddyPress has no sidebar
    BuddyPress can be viewed on any existing device
    BuddyPress fit to any screen size
    This means that you have to adjust your theme first, and not BP.

    For more details, read from Codex

    BuddyPress Theme Development

    #265103
    danbp
    Participant

    Hi,

    open your buddypress-nk_NO.po file with a text editor (notepad++ or so) and check you have a plural form for the untranslated string.

    The’re several strings containing “members” with a count, but it will be easy to find if you search for “msgid_plural”.
    At least, you should find something constructed like this:

    #: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:34
    msgctxt "Group member count"
    msgid "%d member"
    msgid_plural "%d members"
    msgstr[0] "%d medlem"
    msgstr[1] "%d medlemmer"

    Again, note that it is only an example, you may find other strings containing “medlem” that you have eventually to adjust.

    The important thing to control is the existence of “%d” and naturally, the presence of the plural form string in the translation.

    If you still have trouble after controling/repairing/modifying, it could be possible that it is your theme. To ensure, do the same check in your theme translation.

    Other thing to take in account

    I’m not 100% sure, but so far i remember, the norvegian buddypress version is not completely translated.
    Unfortunately, translate.wordpress.org is actually down and it is impossible to access the plugins translations at this time…

    What i expect is that you have an old po file, fully translated, but perhaps not with the most recent changes and updates, which could explain that even if you have plural forms in your translation, they won’t show up in some places.
    For ex. because the plural code changed from %s (in your version) to %d or something like that.
    To avoid this, you can download the most recent pot file and rename it to buddypress-nk_NO.po.
    Then you rename YOUR current version to .pot(with a T), import it to the new file, and adjust or complete the missing strings.

    #265085
    r-a-y
    Keymaster

    It took me awhile to think about what might be causing the issue and I just remembered the problem.

    It’s a theme conflict with BuddyPress.

    BuddyPress adds the CSS class hidden to a group in the group loop. Some themes might already have a .hidden class declared, so hidden groups are not shown because of this.

    Can you add the following CSS snippet to your CSS?

    #buddypress .bp-single-group.hidden {display:block;}

    I believe this should fix your problem.

    #265076
    Slava Abakumov
    Moderator

    Several days ago sent a new issue!

    BuddyPress Newsletter #26 – BP 2.9 news, new plugin, useful code snippets

    https://www.getrevue.co/profile/bpmail/issues/26-bp-2-9-news-new-plugin-useful-code-snippets-49928

    mikeboltonca
    Participant

    I’ve submitted an enhancement Trac here: https://buddypress.trac.wordpress.org/ticket/7489#ticket.

    In the meantime, I’ve implemented the following hack to allow non-members to post on a group’s activity stream:
    In /plugins/buddypress/bp-groups/bp-groups-functions.php, comment out lines 1215 and 1216.

    Original:

    if ( !bp_current_user_can( 'bp_moderate' ) && !groups_is_user_member( $user_id, $group_id ) )
    	return false;

    Hacked:

    //if ( !bp_current_user_can( 'bp_moderate' ) && !groups_is_user_member( $user_id, $group_id ) )
    	//return false;

    This removes the check for “Is this an admin or a group member?”, allowing anyone to post.

    r-a-y
    Keymaster

    Do you have the friends component active?

    It could be caused by the at-mentions suggestions code.

    Try disabling it by adding the following to your theme’s functions.php or bp-custom.php file:
    remove_action( 'bp_activity_mentions_prime_results', 'bp_friends_prime_mentions_results' );

    #265055
    r-a-y
    Keymaster

    How did you install bbPress?

    It sounds like you activated the “Group Forums (Legacy)” component in BuddyPress. You should try disabling that.

    #265052
    r-a-y
    Keymaster

    You need to use a custom language file.

    View the following article for more info:

    Languages and Translations

    #265050
    anandrajog
    Participant

    Hello, I am having the same problem. I have installed buddypress plugin and a bunch of other plugins.

    Now, I am unable to save anything in the WP editor in the frontend in the visual mode. I have to switch to the text mode and then save the changes.

    Since the site is live, I am not sure the correct procedure to remove and reinstall. I don’t want to lose user data.

    Any suggestions how I can resolve this?

    #265047
    timtellean
    Participant

    WP ver. 4.73
    BP ver. 2.82
    metro magazine pro theme

    I see this error when trying to view my group.

    Warning: Creating default object from empty value in /home/wp_5cnhby/ntcep.org/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 1170

    #265038
    WPisGOOD
    Participant

    Excellent solution from @livingflame

    The Link: SOLUTION

    #265029
    Henry Wright
    Moderator

    Check out this article

    Using bp_parse_args() to filter BuddyPress template loops

    bp_before_has_members_parse_args is the filter hook you’ll need. meta_key and meta_value will need to be used.

    Hope this helps!

    #265009
    Ashim Adhikari
    Participant

    I disabled All Activity from buddypress and everythning changed back to normal

    #265004
    snookerist
    Participant

    Thank you for advice!

    I have created issue on Trac
    https://buddypress.trac.wordpress.org/ticket/7484#ticket

    #265002
    Henry Wright
    Moderator

    Hi @snookerist

    Can you report this issue on Trac?

    https://buddypress.trac.wordpress.org/

Viewing 25 results - 8,176 through 8,200 (of 69,109 total)
Skip to toolbar