Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,751 through 16,775 (of 94,565 total)
  • Author
    Search Results
  • #248779
    shanebp
    Moderator

    Please do not bump threads.

    You omitted an ‘&’ in this:
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&scope=just-me,friends,groups,favorites,mentions&per_page=15&action=friendship_created,joined_group,activity_update' ) ) : ?>

    You’re including all the default params for scope. Why include them at all?

    There are other ways of filtering the activity loop:
    https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/
    https://codex.buddypress.org/plugindev/add-custom-filters-to-loops-and-enjoy-them-within-your-plugin/

    #248775
    Ann McGregor
    Participant

    Hey amazing folks! We are using BuddyPress and bbpress for a website for our ecovillage in Belize. We want a function that is essentially a calendar that lets our owners show when they will be at the village:

    family A will be there Jan 28-Feb 15
    family B will be there Feb 1-28

    etc. and then you could look at the calendar and see who will be there when you want to travel, etc.

    Any ideas of the best way to implement this? It’s not really an event thing where you’d have others register, unless the entire year was a multi-day event.

    it’s not really individual calendars, because you want to see the calendar for the whole community.

    not sure where to look! Would love your ideas!

    #248773
    shanebp
    Moderator
    #248771
    Rapacaula
    Participant

    To filter the activity loop, I edited the file /buddypress/activity/activity-loop.php:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'scope=just-me,friends,groups,favorites,mentions&per_page=15&action=friendship_created,joined_group,activity_update' ) ) : ?>

    when I load the activity page, the filter works, but when I click on the My Friends link, I don’t get the activity of friends but the activity of all members; the same happens if I click on My Groups link or Mention, I always get the activity of all members!!!

    when I restore the original line:
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    My Friends link works properly again (and so My Groups and Mention), but I don’t get the results filtered as I would like;

    Anyone has any idea???
    I have Version 2.4.3 and I am not using any theme or other plugins

    Hastig
    Participant

    Here’s a partial buddypress template files to theme folder listing here

    I don’t have activity streams activated so I can’t help you with your original problem, though I’m sure you’ve since figured it out.

    Hastig
    Participant

    Warning: I haven’t tested this or thought it through and I’m half asleep..

    For starters, if you have ftp access rename the buddypress plugin folder to something else like ‘temp-buddypress’

    Log into admin panel, switch themes to twentyfifteen.

    Rename buddypress back to its original name.

    Check your site and admin panel to see if buddypress is working with twentyfifteen.

    Here’s some troubleshooting advice from wordpress..

    WordPress Codex: Login Trouble

    dianamoreno82
    Participant

    Hi there, I’m using Edume template by ThimPress and I just installed Buddy Press, the installation was successfull but when I moved to a different dashboard section i got the following fatal error:

    Fatal error: Call to undefined function is_user_logged_in() in /home/amcpnl98/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 2140

    So, now i can’t access to my admin or front end site. I have no idea about how to deactivate the plug in or how to fix this error. (I’m a web designer with basic programming knowledge). The site is almost ready and I would like to get it back to norma :(. Any help is more than welcome.

    #248765
    efrap
    Participant

    I am looking for insight on using groups as taxonomies.

    My current project will use groups extensively. I am looking to enable group admins to freely associate groups with one another by making groups a taxonomy within groups. I recon this is a pretty complex proposition.

    The CPT-onomies plugin does something similar to what I am looking for, but with custom post types, which BP groups are not. Some BP devs are currently busy working on Group Types. Could these tools possibly be used together to achieve what I am looking for?

    Any insights are welcomed.

    Thank you.

    #248762
    erich199
    Participant

    Hi,

    I recently encountered some issues with the latest version of buddypress (2.4.3) and W3 Total Cache (0.9.4.1).

    When a user tries to change their password via buddypress, after submitting the password change it logs them out to the login screen with error message
    You must log in to access the page you requested.

    Once user tries to put in the new password, it does not work. It also does not work with old password. This behavior does not happen if I disable W3 Total Cache. I also don’t remember having this issue before the latest updates to wordpress so I’m guess this is more of a problem with W3 Total Cache than Buddypress.

    #248758
    Hastig
    Participant

    I don’t have an answer for you but is Guest Post a blank page, posted with default settings (viewable by all, etc.) In other words you created the page and all you entered was the title and clicked publish.

    Also, is your index-register.php file in this folder..

    /wp-content/themes/YOURTHEME/buddypress/members/index-register.php

    Also, it’s permissions are 0644 or the same as your other files in the same (members) folder?

    Also, make sure for testing purposes that index-register.php is the exact same as the template in bp-legacy, to rule out there being something broken with the code in your customized version.

    Florent
    Participant

    Hello,

    I’m trying for several hours to add Bootstrap classes btn and btn-primary to the leave group button but I cannot understand why my modifications in buddypress-functions.php are not taken into account.

    Text search for group-button and leave-group CSS classes returns a unique file called buddypress-functions.php. I modified this file in plugin/buddypress/..., in my-theme/buddypress/buddypress-functions.php and in my-child-theme/buddypress-functions.php but for some reason my modifications in this file are not taken into account.

    When I remove random portion of the code in the file buddypress-functions.php of my child theme then BP returns errors so this prove to me the file is read.

    Do you have an idea what is wrong ?

    Please find the portion of the code that set the CSS classes in buddypress-functions.php:
    (I replace group-button by btn btn-primary but no effect 🙁

    /**
     * Join or leave a group when clicking the "join/leave" button via a POST request.
     *
     * @since 1.2.0
     *
     * @return string HTML
     */
    function bp_legacy_theme_ajax_joinleave_group() {
    	// Bail if not a POST action.
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	// Cast gid as integer.
    	$group_id = (int) $_POST['gid'];
    
    	if ( groups_is_user_banned( bp_loggedin_user_id(), $group_id ) )
    		return;
    
    	if ( ! $group = groups_get_group( array( 'group_id' => $group_id ) ) )
    		return;
    
    	if ( ! groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) {
    		if ( 'public' == $group->status ) {
    			check_ajax_referer( 'groups_join_group' );
    
    			if ( ! groups_join_group( $group->id ) ) {
    				_e( 'Error joining group', 'buddypress' );
    			} else {
    				echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    			}
    
    		} elseif ( 'private' == $group->status ) {
    
    			// If the user has already been invited, then this is
    			// an Accept Invitation button.
    			if ( groups_check_user_has_invite( bp_loggedin_user_id(), $group->id ) ) {
    				check_ajax_referer( 'groups_accept_invite' );
    
    				if ( ! groups_accept_invite( bp_loggedin_user_id(), $group->id ) ) {
    					_e( 'Error requesting membership', 'buddypress' );
    				} else {
    					echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    				}
    
    			// Otherwise, it's a Request Membership button.
    			} else {
    				check_ajax_referer( 'groups_request_membership' );
    
    				if ( ! groups_send_membership_request( bp_loggedin_user_id(), $group->id ) ) {
    					_e( 'Error requesting membership', 'buddypress' );
    				} else {
    					echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button disabled pending membership-requested" rel="membership-requested" title="' . __( 'Request Sent', 'buddypress' ) . '" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Request Sent', 'buddypress' ) . '</a>';
    				}
    			}
    		}
    
    	} else {
    		check_ajax_referer( 'groups_leave_group' );
    
    		if ( ! groups_leave_group( $group->id ) ) {
    			_e( 'Error leaving group', 'buddypress' );
    		} elseif ( 'public' == $group->status ) {
    			echo '<a id="group-' . esc_attr( $group->id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';
    		} elseif ( 'private' == $group->status ) {
    			echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';
    		}
    	}
    
    	exit;
    }
    #248755
    Hoi Sze Lam
    Participant

    Following up on this topic:

    I’ve received a heads up from the Google Webmaster Product forums support suggesting that my redirection issue is potentially a buddypress related problem.
    https://productforums.google.com/forum/#!topic/webmasters/l60LFtvlQ90

    Anyone got any ideas as to how to fix this?

    #248753
    ArkS7111
    Participant

    Hi, how can I add a new local Buddypress notification? I’ve seen the codex, the other threads, the code of various plugins that use the local bp notification system but I haven’t managed to make it work yet! This is an extract of my code:

    
    $the_query = new WP_Query( array( 'category_name' => 'catname'); 
    if ( $the_query->have_posts() ) {
    	*send local notification*
    } else {
           *dontsend*
    }

    (Also, it would be awesome if when the user clicks on the notification, it (the notification) disappear from the bp notifications list)

    #248752
    shanebp
    Moderator

    How would I be able to change settings and the design…

    You can customize the layout ( design ) by following these instructions:
    setup template files so that you can customize them.

    #248750
    shanebp
    Moderator

    ‘easy to follow’ ?
    Sure, if you are or know a developer.
    https://buddypress.org/support/topic/how-to-exportimport-groups/

    I don’t know of any simple ‘click’ interface.

    #248748
    shanebp
    Moderator

    Without root access to your godaddy account, it is not possible to provide a definitive answer.
    All we can do is guess and provide general suggestions.
    It’s probably due to the large number of pending members.
    You may need more memory and / or cpu for your account.

    You should not make your root access info public.

    You can post a job listing here and / or try find a developer who will track down the exact problem and possible solutions.

    Hoi Sze Lam
    Participant

    I have a blog, hosted on my own domain which has been working fine for awhile now (almost two years now).

    I was creating a new page as an register page for adding members. This is done through Buddypress plugin.

    But now my homepage (which was previously my latest posts) is forwarding to this new subscribe page instead of showing my posts. My database is intact since all my posts are available if i go to the urls directly. I checked my .htaccess file which looks fine (I don’t really know how to use them, but I’ve seen them before and it looks fine). I tried undoing everything, including deleting the page but that gives a 404 error.

    I don’t understand how, its not that easy to randomly forward your homepage… at least not in my knowledge. It also only happens for select users. Any help or ideas appreciated.

    P.S.: I have everything updated to the latest including plugins…

    This is my site: http://www.inkth.com

    Please let me know.

    Kind Regards,
    Hoi-Sze

    #248742
    crblanchard
    Participant

    Hello,

    I have been using Buddypress for members to sign up for my site for newsletters, perks, etc., but in my theme it is tough to properly view and edit profiles. (example: http://www.coasterhub.com/users/crblanchard) How would I be able to change settings and the design so that the Buddypress pages are more user-friendly and viewable?

    #248735
    mnctigah
    Participant

    Greetings…

    I’m in the process of upgrading an older site (originally running WP 3.7 & BP 1.5) onto a new LAMP stack. All of the component upgrades are okay except the BP 1.5 to 2.4 upgrade. Currently at WP 4.4.1.

    My problem has been with posting Member Search Results with BP 2.4.

    Normal troubleshooting methods. Disabling plugins, debugging (no errors flagged), etc.

    The BP core is modified (reflected in my changelog) and BP Profile Search (3.5) plugin is being used in conjunction with s2Member (151218) for the profile fields and the member roles.

    The site functions normally with BP 1.5 activated. The last hindrance is with the BP 2.4 activation… My search query appears in the address bar, but the Member Search Results fail to be inserted into the page. In looking at page source code, my title differs, and a script being generated from my member-loop is not being inserted in BP 2.4 (though titling and scripts function correctly with BP 1.5).

    I can create, add, edit profiles and such. But obviously I am coding improperly or overlooking something with respect to 2.4.

    I am currently using an older custom theme which emulates the pre-BP 1.7 stack. No change when switching to template heirarchy => 1.7. The objective has been to upgrade the site and utilize bp compat going forwards.

    I’m attaching the relevant files (members-loop, index, page-source, changelog, etc) and links.

    The screenshot…
    https://s3.amazonaws.com/buddypress-errors/screenshot.jpg

    My combined members-loop and changelog (bp-core mods) on pastebin…
    http://pastebin.com/yBHLr2WR

    All of the files (page-source, index.php, bp-members-template.php, etc) and login credentials if needed on DropBox…
    https://www.dropbox.com/sh/qkqnca0xgtp46wu/AAAFNyywX73dbd1fGmr9GQ5Ka?dl=0

    Thanks in advance…

    #248733
    Leo
    Participant

    here’s the link

    TheSpecialKick
    Participant

    Hello,
    I am using the Enigma Premium Theme. I installed the plugin BuddyPress and the rtMedia plugin so that the users are able to upload media. The rtMedia plugin has the lightbox feature, it displays the media in “Facebook Style”. This lightbox doesn’t work correctly when you open the media via the BuddyPress activity stream, but when you open the media via the media tab, it works perfectly. Then I changed the theme to TwentySixteen and all worked fine.
    Then I asked the rtMedia plugin developers and they said it is a theme issue, so I asked my theme developers, they said it is a BuddyPress issue… Now I am here ;(

    Any solutions for this problem? I would be very very thankful! 🙂

    Click the media in the activity stream and you will see the issue: http://thespecialkick.com/activity/
    Click the media in the media section and you will see how it should look: http://thespecialkick.com/members/web1107/media/

    Thank you! 🙂
    Best Regards,
    TheSpecialKick

    shanebp
    Moderator

    Try the 2nd one first.
    Put it in your theme/functions.php or in bp-custom.php – a file you may need to create.

    #248725
    sr3
    Participant

    1) How can I change the navigation (profile page) slug “media” and sub-navigation slugs e.g. “notifications” (settings -> notifications)?

    2) Can I create a vustom page and add it as a new tab to the buddypress profile page?

    #248723
    mrky007
    Participant

    Is there a way to setup the following features in Buddypress:

    1. Open internal links (posts, images) in same tab
    2. Open external links in new tab / window?

    This would be a very useful feature for everyone I think, but I can’t find a way to set it up.

    Hastig
    Participant

    BP 2.4.3 | WP 4.4.1

    I want to create a link to search xprofile fields for a specific keyword.

    For example, the xprofile field ‘Region‘ has two possibilities, ‘East‘ and ‘West‘

    I can do /members/?s=East

    But that searches all fields and will give imprecise results as someone may have the word East in their about me or elsewhere.

    So, something like this..

    /members/?s=East+xp=Region

    I was sure I had seen somewhere it was possible but can’t find the bookmark.

    Here’s the same question asked a few years ago with no answer..

    xprofile slugs search

Viewing 25 results - 16,751 through 16,775 (of 94,565 total)
Skip to toolbar