Search Results for 'buddypress'
-
AuthorSearch Results
-
April 13, 2014 at 6:52 pm #181197
In reply to: How do action and hooks work in buddypress ?
Henry Wright
ModeratorI just want to know that where is the actual add_action(…) and the function for this action is written, i have searched lot of files in buddypress but could not get it? can any one help ?
Which
tagare you referring to? You mentiondo_action(“…”)in your question but this doesn’t tell us the tag. Perhaps see here for info on thedo_actionhook: https://codex.wordpress.org/Function_Reference/do_actionApril 13, 2014 at 1:41 pm #181193In reply to: [Bug] BuddyPress 2.0 Beta 2 –
Asynaptic
Participanta couple of things:
- here’s the codex page for customizing the permalink for members or any other component like it:
https://buddypress.org/2009/05/customizable-slugs-in-buddypress/ - while it may not be buddypress’s fault if there was a conflict with a plugin (cubepoints), I would suggest considering moving from cubepoints to myCRED which has a newer code base, support and extensive documentation (mycred.me)
maybe someone else can chime in on the activity update ‘bug’ that you mentioned
April 13, 2014 at 12:30 pm #181192streetcoder
Participantreally interesting, not working, I tried in two buddypress site to rid of the confusion. But no effect at all.
April 13, 2014 at 2:33 am #181183In reply to: Why don't group comments show to non-users?
DJsix
ParticipantStill doesn’t work.
I have searched through at least 100 themes, and I’ve found two that show comments to people who aren’t logged in: x2 and Custom Community. Both of these themes appear to be made by the same person, and I really don’t care for either of these themes.
I would like to use Twenty Fourteen, and I have not been able to find anyone using this theme, who is also having this problem.
Also, the plugin BuddyPress Sitewide Activity shows all comments to people who are not logged in, but I don’t want that in my sidebar, and it doesn’t solve the groups problem.
If it is a problem with WordPress being in a subfolder, what would allow these two themes and the plugin to still work?
April 12, 2014 at 4:26 pm #181172In reply to: Buddypress on multisite, segregates users. Help!
John James Jacoby
KeymasterWhat you’re asking for is something we used to call “Multiblog Mode” back in the day. It’s not a popular configuration, because it’s usually pretty confusing to users.
You can enable it a few different ways:
define( 'BP_ENABLE_MULTIBLOG', true );in your wp-config.phpadd_filter( 'bp_is_multiblog_mode', '__return_true' );in an mu-plugin
There’s not a ton of documentation about multiblog, but it will make BuddyPress behave like you’re looking for it to.
April 12, 2014 at 3:25 am #181157@mercime
Participantclosing this duplicate of https://buddypress.org/support/topic/adding-users-only-via-backend-profiles-not-working/
April 11, 2014 at 7:20 pm #181142godavid33
ParticipantI believe the above doesn’t work correctly because I am adding the new content as a subnav which by default tried to inherit the parent template (correct me if I’m wrong).
Here is what I came up with (this all goes in functions.php), it still needs fine tuning and testing (for example I broke pagination and commenting):
function my_test_setup_nav() { global $bp; $parent_slug = 'wall'; $child_slug = 'all'; //name, slug, screen, position, default subnav bp_core_new_nav_item( array( 'name' => __( 'test' ), 'slug' => $parent_slug, 'screen_function' => 'my_profile_page_function_to_show_screen', 'position' => 40, 'default_subnav_slug' => 'test_sub' ) ); } function my_profile_page_function_to_show_screen() { //add title and content here - last is to call the members plugin.php template add_action( 'bp_template_title', 'my_profile_page_function_to_show_screen_title' ); add_action( 'bp_template_content', 'my_profile_page_function_to_show_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function my_profile_page_function_to_show_screen_title() { echo 'something'; } function my_profile_page_function_to_show_screen_content() { global $activities_template; $personal_activites = array(); $friends_activites = array(); $group_activites = array(); //Get friends Loop do_action( 'bp_before_activity_loop' ); if ( bp_has_activities( bp_ajax_querystring( 'activity' )."&scope=friends") ) : $friends_activites = $activities_template->activities; endif; do_action( 'bp_after_activity_loop' ); //Get personal Loop do_action( 'bp_before_activity_loop' ); if ( bp_has_activities( bp_ajax_querystring( 'activity' )."&scope=just-me") ) : $personal_activites = $activities_template->activities; endif; do_action( 'bp_after_activity_loop' ); //Get groups Loop do_action( 'bp_before_activity_loop' ); if ( bp_has_activities( bp_ajax_querystring( 'activity' )."&scope=groups") ) : $group_activites = $activities_template->activities; endif; do_action( 'bp_after_activity_loop' ); do_action( 'bp_before_member_activity_post_form' ); bp_get_template_part( 'activity/post-form' ); do_action( 'bp_after_member_activity_post_form' ); $activities_template->activities = array_merge($personal_activites,$group_activites,$friends_activites); quickSort( $activities_template->activities ); ?> <?php do_action( 'bp_before_activity_loop' ); ?> <?php /* Show pagination if JS is not enabled, since the "Load More" link will do nothing */ ?> <noscript> <div class="pagination"> <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> </div> </noscript> <?php if ( empty( $_POST['page'] ) ) : ?> <ul id="activity-stream" class="activity-list item-list"> <?php endif; ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php bp_get_template_part( 'activity/entry' ); ?> <?php endwhile; ?> <?php if ( bp_activity_has_more_items() ) : ?> <li class="load-more"> <a href="#more"><?php _e( 'Load More', 'buddypress' ); ?></a> </li> <?php endif; ?> <?php if ( empty( $_POST['page'] ) ) : ?> </ul> <?php endif; ?> <?php do_action( 'bp_after_activity_loop' ); ?> <form action="" name="activity-loop-form" id="activity-loop-form" method="post"> <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?> </form> <?php } add_action( 'bp_setup_nav', 'my_test_setup_nav' ); // Non-recurive Quicksort for an array of Person objects // adapted from http://www.algorithmist.com/index.php/Quicksort_non-recursive.php function quickSort( &$array ) { $cur = 1; $stack[1]['l'] = 0; $stack[1]['r'] = count($array)-1; do{ $l = $stack[$cur]['l']; $r = $stack[$cur]['r']; $cur--; do{ $i = $l; $j = $r; $tmp = $array[(int)( ($l+$r)/2 )]; // partion the array in two parts. // left from $tmp are with smaller values, // right from $tmp are with bigger ones do{ while( strtotime($array[$i]->date_recorded) > strtotime($tmp->date_recorded) ) $i++; while( strtotime($tmp->date_recorded) > strtotime($array[$j]->date_recorded) ) $j--; // swap elements from the two sides if( $i <= $j){ $w = $array[$i]; $array[$i] = $array[$j]; $array[$j] = $w; $i++; $j--; } }while( $i <= $j ); if( $i < $r ){ $cur++; $stack[$cur]['l'] = $i; $stack[$cur]['r'] = $r; } $r = $j; }while( $l < $r ); }while( $cur != 0 ); }I’m sure there is a more elegant and seamless way to do it, and I will try to figure out exactly what that is. I’ll probably end up making templates for this to try and have cleaner code and stop the ajax bugs I created.
But for now, congratulations, you now have an aggregate news feed.
April 11, 2014 at 5:24 pm #181137In reply to: Bad Link to Profile Edit
donalconlon
ParticipantI am having the exact same issue. BP 1.9.2. xProfiles seemed to be working, but now I’m getting to a blank groups page similar to other users. I have removed BuddyPress and re-added, but no fix. This has totally hosed my site. How can I get it fixed?
April 11, 2014 at 3:57 pm #181134In reply to: Two networks, separate but connected?
Chris
ParticipantThanks, John. I’ll look at those plugins ASAP. BuddyPress is great – keep up the great work!
April 11, 2014 at 3:49 pm #181133In reply to: Two networks, separate but connected?
John James Jacoby
KeymasterQuestions and installations like this are becoming more common, and we have a loose plan on how to include provisions for this into BuddyPress core. Right now, you’ll end up needing a few extra plugins (and a little bit of on the job education) to make both WordPress and BuddyPress play exactly the way you need them to, but rest assured that both WP and BP do have the ability baked in to manipulate where things live and how they work together.
A few plugins to investigate:
- WP Multi Network
- BP Multi Network
They’ll let you have disparate BuddyPress networks rotating around one central user-base and logins. From there, you can see how these plugins work, and tweak your integration to suit your needs.
Also happy to try and guide you further as you need more specific code snippets to solve specific problems.
April 11, 2014 at 3:23 pm #181130In reply to: install 1.9 or wait for 2.0 ?
Anonymous User 7600456
InactiveHi @tsabar,
It depends, if you are creating a new site then you may as well get stuck straight in with BuddyPress 2.0 but if your site is being used by lots of users already you should probably stick with 1.9.2 which has been very thoroughly tested, not only by the development team but by thousands of other users, myself included, on their own sites. That way if their are any bugs in 2.0 your users won’t have to suffer.
I hope that helps you decide.
Best,
Joseph
April 11, 2014 at 11:33 am #181125In reply to: [Resolved] WordPress Login and Registration Page
laura.lee
ParticipantTrust me… btw… if I can find a different program than BuddyPress… I will use a different program than BuddyPress with my WordPress site… because of this.
I hope there is a different program that will work well with WordPress… cuz I don’t want to use this program now.
April 11, 2014 at 2:02 am #181115In reply to: Allowing users to Favorite blog posts
Henry Wright
ModeratorThe BuddyPress Like plugin does that:
April 11, 2014 at 12:49 am #181113In reply to: Bad Link to Profile Edit
rongothebold
ParticipantI’m having the exact same issue. Change avatar works perfectly, as does just viewing the profile. However if I click edit, then I get redirected to a non profile page (in my case I have a page “editorial” that I get directed to instead of the group/1, but I had that behavior at one point when I re-wrote all the rules to use “change-profile” instead of “edit” as the action.)
I have found that if I uncheck the Extended Profiles component from the BuddyPress setup, then it works just fine. So it’s definitely related to xprofiles.
I’m running 3.8.2 and 1.9.2.
Very interested to see if there is a fix to this one. For now I’ve disabled the xprofile component so the users of this site can update their profiles at least.
April 10, 2014 at 9:48 pm #181107godavid33
ParticipantBuddypress Wall sort of works, but it is riddled with bugs and the developer seems to be mia. That is to say, I don’t mean to knock the plugin; it is a good plugin but needs some bug fixes is all.
April 10, 2014 at 8:57 pm #181106In reply to: Any BP user-profile rating plugin
Satwinder Rathore
ParticipantI got it.
Thanks to https://wordpress.org/plugins/bp-group-reviews/ and http://buddydev.com/buddypress/buddypress-activity-as-wire-updated-for-buddypress-1-6-buddypress-1-7/ for amazing plugins
April 10, 2014 at 6:41 pm #181105In reply to: Why don't group comments show to non-users?
modemlooper
ModeratorI would deactivate and delete BuddyPress and then re download it and install. Deleting it doesn’t delete settings. Make sure all your BuddyPress plugins are deactivated first.
Having the site installed in a subfolder may be an issue as well.
April 10, 2014 at 6:20 pm #181098In reply to: Why don't group comments show to non-users?
DJsix
ParticipantI deactivated all the plugins, except BuddyPress. Still the same.
April 10, 2014 at 6:09 pm #181097In reply to: Why don't group comments show to non-users?
modemlooper
ModeratorBuddyPress plugin supplies the template files UNLESS the theme has included them. Only BuddyPress specific themes would include the files. That’s why I asked you to switch to Twenty Twelve so it would use the files from the BP plug folder.
It may be a plugin causing issue. You can deactivate plugins one by one and test each.
April 10, 2014 at 6:02 pm #181096In reply to: Why don't group comments show to non-users?
DJsix
ParticipantSo, I started going through different themes hoping one would work, and I came across one called X2 that actually showed comments, but I don’t care for the look of the theme. But, I figured if I came across one, then there has to be more, right?
I have gone through about twenty themes with no luck (except for x2).
Do any WordPress themes actually work with BuddyPress?
April 10, 2014 at 5:02 pm #181091In reply to: Json api and buddypress
modemlooper
Moderatorread bottom of page
April 10, 2014 at 4:54 pm #181086In reply to: Only Admin-Created User Groups
modemlooper
Moderatorin the BuddyPress settings page there is an open to allow only Admins to create groups
April 10, 2014 at 2:43 pm #181079In reply to: Display Name, User name and "tagging"
gingerling
ParticipantHi, I used this : https://wordpress.org/plugins/buddypress-usernames-only/ to remove the problem with the displaynames/usernames
SO, just that @mentions don’t auto-suggest. Should they do this?
April 10, 2014 at 10:25 am #181073In reply to: Json api and buddypress
Sabbo
ParticipantSo what plugin do you advise me to use with BuddyPress?
April 10, 2014 at 4:04 am #181061In reply to: Why don't group comments show to non-users?
modemlooper
Moderatorgo into the file and check if the code is there. BuddyPress should be installed on one domain. Is this multisite?
- here’s the codex page for customizing the permalink for members or any other component like it:
-
AuthorSearch Results