Search Results for 'buddypress'
-
AuthorSearch Results
-
June 30, 2013 at 6:04 pm #167286
In reply to: how to remove sidebar from specific page
@mercime
Participantclosing this duplicate of https://buddypress.org/support/topic/admin-dashboard-pages-vs-website-pages/
June 30, 2013 at 5:34 pm #167283In reply to: too many redirects
@mercime
Participant@mewrd could be plugin or theme issues. Have you done basic troubleshooting like changing to Twenty Twelve theme and deactivating all plugins except BuddyPress?
June 30, 2013 at 5:28 pm #167282In reply to: Bug? BuddyPress shows wrong author's archives
@mercime
Participant@reiniggen if you’re on BP Default theme and you’ve deactivated all plugins except BuddyPress, and the issue is still evident, then please post ticket in BP Trac (login with same username and password used here) and include pertinent information about your installation – e.g. single or multisite WP, WP/BP installed in domain root or subsite, etc. Thank you. https://buddypress.trac.wordpress.org/newticket
June 30, 2013 at 5:16 pm #167280Henry
MemberIf you add this to your theme’s functions.php it will basically filter the entire button. You’ll then be free to modify whatever you need:
//filter group button function bp_change_group_button( $button ) { global $groups_template; if ( empty( $group ) ) $group =& $groups_template->group; if ( !is_user_logged_in() || bp_group_is_user_banned( $group ) ) return false; // Group creation was not completed or status is unknown if ( !$group->status ) return false; // Already a member if ( isset( $group->is_member ) && $group->is_member ) { // Stop sole admins from abandoning their group $group_admins = groups_get_group_admins( $group->id ); if ( 1 == count( $group_admins ) && $group_admins[0]->user_id == bp_loggedin_user_id() ) return false; $button = array( 'id' => 'leave_group', 'component' => 'groups', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'group-button ' . $group->status, 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ), 'link_text' => __( 'Leave Group', 'buddypress' ), 'link_title' => __( 'Leave Group', 'buddypress' ), 'link_class' => 'group-button leave-group', ); // Not a member } else { // Show different buttons based on group status switch ( $group->status ) { case 'hidden' : return false; break; case 'public': $button = array( 'id' => 'join_group', 'component' => 'groups', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'group-button ' . $group->status, 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ), 'link_text' => __( 'Join Group', 'buddypress' ), 'link_title' => __( 'Join Group', 'buddypress' ), 'link_class' => 'group-button join-group', ); break; case 'private' : // Member has not requested membership yet if ( !bp_group_has_requested_membership( $group ) ) { $button = array( 'id' => 'request_membership', 'component' => 'groups', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'group-button ' . $group->status, 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ), 'link_text' => __( 'Request Membership', 'buddypress' ), 'link_title' => __( 'Request Membership', 'buddypress' ), 'link_class' => 'group-button request-membership', ); // Member has requested membership already } else { $button = array( 'id' => 'membership_requested', 'component' => 'groups', 'must_be_logged_in' => true, 'block_self' => false, 'wrapper_class' => 'group-button pending ' . $group->status, 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => bp_get_group_permalink( $group ), 'link_text' => __( 'Request Sent', 'buddypress' ), 'link_title' => __( 'Request Sent', 'buddypress' ), 'link_class' => 'group-button pending membership-requested', ); } break; } } return $button; } add_filter( 'bp_get_group_join_button', 'bp_change_group_button' );June 30, 2013 at 4:42 pm #167279In reply to: Bug? BuddyPress shows wrong author's archives
Garrett Reiniggen
ParticipantOnce upon a time there was a little bug in BuddyPress…
June 30, 2013 at 3:19 pm #167275In reply to: My buddypress translation is gone with the upgrade
gcarlos8377
ParticipantThanks for your reply on this post. But actually I didn’t do anything else but to upgrade the version from 1.7 to 1.7.2. Any suggestion on what I should try? I tried to find something to downgrade the version but no success on that.
Thanks for the support
June 30, 2013 at 1:59 pm #167270In reply to: My buddypress translation is gone with the upgrade
Paul Wong-Gibbs
KeymasterWe didn’t change anything with regards to loading translations in BP 1.7-1.7.2, so something else on your site must have changed.
June 30, 2013 at 1:57 pm #167268In reply to: New Group Management "built in"
Paul Wong-Gibbs
Keymaster> But as usual, slightly terrified at the same time, since usually we all know something isnβt going to work after the upgrade.
I don’t think this is true, especially since the 1.5+ releases. BuddyPress is rock-solid nowadays.
June 30, 2013 at 1:52 pm #167266In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
Participant@bphelp thanks, I’ve forked your plugin and installed it, will test it out and get back to you once I finish some work.
@deafnation thanks for testing it out! What exactly happened? did anything work? What theme were you using?June 30, 2013 at 12:18 pm #167264In reply to: BuddyPress Lke Plugin Updated
deafnation
ParticipantThe plugin is not working on my end. I need to look into other plugins conflicted or not. Keep it up anyway!
June 30, 2013 at 2:21 am #167252In reply to: My buddypress translation is gone with the upgrade
mgrmn
ParticipantFollow these instructions https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
Funcione π
June 30, 2013 at 1:41 am #167250mgrmn
ParticipantIts made in wp-content/plugins/buddypress/bp-groups/bp-groups-template.php starting from line 1766
Line 1027 /wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php
Line 21 /wp-content/plugins/buddypress/bp-themes/bp-default/groups/index.phpJune 29, 2013 at 11:45 pm #167247In reply to: Creating New Plugins
modemlooper
ModeratorYou really need to wrap the if class in a function that loads after all plugins just to be on the safe side. The reason it works is because your plugin name is alphabetically after BuddyPress so it loads after but the proper way is to wait until all plugins are loaded and then give the error notice.
June 29, 2013 at 10:05 pm #167244Shmoo
ParticipantI found this video the best I’ve seen this far, because it keeps it very easy to understand.
It starts with a very basic understanding of what Actions and what Filters do because they maybe sound very overwhelming? when you bump onto them for the first time.
You don’t wanna know how many bbPress or BuddyPress projects I have deleted because I couldn’t understand what actions are, I knew they where spot that you can Hook into but making it happen and writing some code that finally gets Hooked into an action is a different story.Actions DO stuff.
Filters CHANGE stuff.I’ve tried to make my own custom add_action for the first time just to see if I was able to Hook into that ‘ bp_group_header_actions ‘ and it worked.
Something as simple as this added an empty span tag above the ‘ bp_group_header_actions ‘ code but the only question that still remains how to I get inside the HTML of this action.add_action ( 'bp_group_header_actions', 'my_stuff', 1 ); function my_stuff() { echo '<span></span>'; }This empty span tag has to go inside that div before the a href tag.
June 29, 2013 at 10:02 pm #167243In reply to: BuddyPress Lke Plugin Updated
bp-help
Participant@darrenmeehan
Alright, then I will test it out and supply feedback. I have a plugin as well that has been submitted to the repo in the last 4 days that is yet to be approved but I could also use some others testing and supplying feedback. You can get it here: https://github.com/bphelp/private_community_for_bp_lite
Thanks!June 29, 2013 at 9:51 pm #167242In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
ParticipantThanks! And yes the Github is the latest version. It’ll be where all development takes place even when the plugin is on the WordPress repo
June 29, 2013 at 9:32 pm #167241In reply to: BuddyPress Lke Plugin Updated
bp-help
Participant@darrenmeehan
I would be glad to test it out and give feedback. Is the github repo the most current version you have?June 29, 2013 at 9:06 pm #167240In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
ParticipantI’ve a few options with where to release the plugin, but for now I’d be happy to have a few users test it out to ensure it’s working on a variety of sites. I’ve some other work to do the next while but I’ve some other work to post over to the Github repo. Thanks again!
June 29, 2013 at 8:37 pm #167238In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantAh, what can I do, I hope in new version of buddypress there will be option to turn off activity for certain account.
It could be done with custom post type, but then again you need to integrate some code, because when you make post with custom post type, posts are not showing in category they supposed to show.
Custom post types doesn’t show in activity stream and that could solve to problem, but then again…
June 29, 2013 at 8:29 pm #167237In reply to: BuddyPress Lke Plugin Updated
bp-help
Participant@darrenmeehan
I think if an author abandoned a plugin for several years then they should give you commit access but that is just my opinion. I suppose the only way around it then is to fork it because it is GPL. Why not just call it BuddyPress Like Plus? Either way I think the improvements you made are pretty cool. So thank you for your hard work! πJune 29, 2013 at 8:22 pm #167236In reply to: Buddypress and S2 member Activity problem
mgrmn
ParticipantI hate to tell you this, but there is not a easy way to do what you want to do. And as far as the code, that will echo out ID / USERNAME, and will execute the remove_action function. But that is all it does.
bp_blogs_record_post function can be found there –> /plugins/buddypress/bp-blogs/bp-blogs-functions.php. However I suggest and of course if you afford it, get a pro to do it for you
June 29, 2013 at 8:19 pm #167235In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
Participant@bphelp I’ve tried contacting the developer but there was no way of contacting him that worked. I’ve sent off an email to plugins@wordpress.org to discuss getting commit access to the plugin as I feel this would be best for current users of the plugin, as well as give the plugin a better launch pad if I’m honest.
Thanks for the kind words!
June 29, 2013 at 8:08 pm #167234In reply to: BuddyPress Lke Plugin Updated
bp-help
Participant@darrenmeehan
I mean when are you going to fork it and have it on the WordPress repository, or have you gained permission from the original author to overtake the updates? I really would like to see this on the repository! Thanks!June 29, 2013 at 8:04 pm #167233In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
ParticipantSorry @bphelp I don’t understand what you mean.
June 29, 2013 at 8:03 pm #167232In reply to: Creating New Plugins
bp-help
Participant@modemlooper
I have tested the plugin:
https://github.com/bphelp/private_community_for_bp_lite
As is it works as expected. If BuddyPress is installed and activated then the notice does not appear, however if you try installing the plugin without BuddyPress installed and activated then the notice appears. Can you test it so you will see what I mean because it simply works! -
AuthorSearch Results