Search Results for 'buddypress'
-
Search Results
-
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-28etc. 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!
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 pluginsHi 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.
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.
Topic: W3 Total Cache Issue
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.
Hello,
I’m trying for several hours to add Bootstrap classes
btnandbtn-primaryto the leave group button but I cannot understand why my modifications inbuddypress-functions.phpare not taken into account.Text search for
group-buttonandleave-groupCSS classes returns a unique file calledbuddypress-functions.php. I modified this file inplugin/buddypress/..., inmy-theme/buddypress/buddypress-functions.phpand inmy-child-theme/buddypress-functions.phpbut 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.phpof 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 replacegroup-buttonbybtn btn-primarybut 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; }Topic: Add new local notifications
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)
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-SzeTopic: Viewing/Editing Profiles
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?
Topic: Member Search Display Issues
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.jpgMy combined members-loop and changelog (bp-core mods) on pastebin…
http://pastebin.com/yBHLr2WRAll 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=0Thanks in advance…
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,
TheSpecialKickTopic: BuddyPress Navigation
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?
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.
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=EastBut 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=RegionI 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..