Search Results for 'buddypress'
-
AuthorSearch Results
-
April 15, 2014 at 9:32 am #181281
sharmavishal
ParticipantMaybe you can refer this
April 15, 2014 at 8:03 am #181277In reply to: BuddyPress 2.0 RC1 Feedback
sharmavishal
ParticipantThe pleasure is all mine..indeed an honor to be interacting with you.
Just did a fresh install of Buddypress and stil the same issue remains…
http://domain.com/username/settings/profile/ is blank with the BP default theme…
strangely the above page works with buddyboss theme..anyway to debug this?
Also i dont see “delete account” in the settings menu in the wp-admin bar in BP 2.0
thanks once again
April 14, 2014 at 8:42 pm #181261In reply to: Buddypress on multisite, segregates users. Help!
jerryskate
ParticipantHere´s an example. I wrote a post on my main site that have buddypress installed as a plugin, and it shows up on my other site in the network that is integrated buddy press theme.
If i click at the my name, jerry, it points to the site where i made the post, http://abovebasics.com/members/jroc/, instead of http://abovebasics.com/community/members/jroc/. Stuff i do at the sub site, works as it should, but not the activity from the main site.
Is it possible to fox this?
Thanks for the help!
April 14, 2014 at 6:28 pm #181255In reply to: Why don't group comments show to non-users?
DJsix
ParticipantSo, that’s it? Nobody has a solution? Does BuddyPress only work correctly with two themes?
April 14, 2014 at 5:45 pm #181247In reply to: BuddyPress 2.0 RC1 Feedback
r-a-y
KeymasterThanks for testing, sharmavishal.
I’ve created a ticket here with a potential fix for the first two things:
https://buddypress.trac.wordpress.org/ticket/5537I can’t duplicate the third issue.
April 14, 2014 at 4:58 pm #181246godavid33
ParticipantWow, so I’m dumb (or at least not as good at googling as I once thought). So, the best most efficient way to do this is using buddypress query filters. No need to add a new tab. Here is the code I ended up with (by editing activity-loop.php)
$friends = friends_get_friend_user_ids( bp_loggedin_user_id() ); $friends[] = bp_loggedin_user_id(); $friends_and_me = implode( ',', (array) $friends ); $friends_and_me = '&user_id=' . $friends_and_me; ?> <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).$friends_and_me.'&sort=DESC') ) : ?>much simpler and don’t have to worry about functions breaking. Subsequently, I believe if for some reason this solution doesn’t work for you and you prefer one of the earlier ones I suggested, then check out https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/#adding-commenting-support as to fixing/supporting commenting
April 14, 2014 at 2:40 pm #181243In reply to: Delete Selected not working
godavid33
ParticipantThis is claimed as fixed, though I am using the most updated version of buddypress and still having the same problem. Do I have to pull from the trunk to get the truly most updated version or do y’all push it to the wordpress plugin repo?
April 14, 2014 at 2:15 pm #181242In reply to: add new members to group
elaborate
ParticipantThanks for the tip, tajenli.
Anyone reading this might also be interested in the following ticket on trac: #2062
April 14, 2014 at 2:05 pm #181241In reply to: Sidebar Removal
Boone Gorges
KeymasterHere’s more on how BP’s template hierarchy works. This is what you’re tapping into. https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
April 14, 2014 at 11:48 am #181236In reply to: Two networks, separate but connected?
sharmavishal
ParticipantThis might also help
https://wordpress.org/plugins/buddypress-xprofiles-acl/screenshots/
April 14, 2014 at 8:41 am #181229In reply to: Custom classes for profile pages, possible?
jerryskate
ParticipantDoesn’t seems to work. I use an integrated buddypress theme (sweet date), and i i don’t have a bp-custom.php but a functions.php in the child theme for modification. Tried to create a bp-custom.php anyways, but it didn’t pick up any of my other custom snippets, so i ruled that one out. Any other suggestions?
Thanks for the help!
April 14, 2014 at 3:59 am #181216In reply to: Latest Activity on Header
modemlooper
Moderatorin
bp-templates/bp-legacy/buddypress/members/single/member-header.php
remove
<?php if ( bp_is_active( 'activity' ) ) : ?> <div id="latest-update"> <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> </div> <?php endif; ?>April 13, 2014 at 7:13 pm #181199Boone Gorges
KeymasterIt looks like the
$group_idis not passed along to thedisplay()method in the same way as it is to the other display methods. That means you’ll need to implement your own technique to get that value. Try this:function display() { $group_id = bp_get_current_group_id(); $setting = groups_get_groupmeta( $group_id, 'whatever' ); var_dump( $setting ); }I do think that you *ought* to be able to get the
$group_idinside ofdisplay()like you can insettings_screen()etc. I’ve opened a ticket for that, which we’ll fix for 2.1. https://buddypress.trac.wordpress.org/ticket/5533#ticketApril 13, 2014 at 6:52 pm #181197In 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.
- here’s the codex page for customizing the permalink for members or any other component like it:
-
AuthorSearch Results