Search Results for 'buddypress'
-
AuthorSearch Results
-
September 18, 2015 at 12:07 am #244535
In reply to: Unsubscribe
Henry Wright
ModeratorSettings > Email should do it. Alternatively you can go straight to the page via:
https://buddypress.org/members/username/settings/notifications/
September 17, 2015 at 9:17 pm #244526In reply to: Auto Affiliate Link and Call Functions
danbp
ParticipantYou’re lucky !
Download the latest version of the plugin, as it seems that this is now in since 101 minutes:
Added support for Buddypress custom profile fieldshttps://plugins.trac.wordpress.org/browser/wp-auto-affiliate-links/
September 17, 2015 at 9:08 pm #244525danbp
Participantadd a conditionnal to existing on template for that element.
$user_id != bp_loggedin_user_id()In /child-theme/buddypress/members/single/activity.php
Replace line 48 or so with this:if ( is_user_logged_in() && bp_is_my_profile() && ( $user_id != bp_loggedin_user_id() ) && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )September 17, 2015 at 4:23 pm #244513danbp
ParticipantWordPress is the software behind buddyPress.
If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.BuddyPress, at this time, handles only member types. A member type is not a role or a capability à la WordPress, but only a way to sort better your members. In other words, a kind of a member category.
To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887Add snippet to your child theme functions.php or into bp-custom.php and give it a try.
September 17, 2015 at 8:07 am #244499In reply to: Profile Pic upload failure
niyaza
ParticipantI also faced the same error, showing HTTP error while upload avatar on buddypress profile.
On my site also have bbpress and BuddyPress plugins.
In my site don’t have BBPress plugin ‘Forum Restrict’.
Can you advice how I would resolve this issue.September 17, 2015 at 5:12 am #244495djsteveb
Participant@deklein
starting a new thread for the exact same issue is rude and wastes precious support time (of which we have very little around here) – please keep it in the same thread: https://buddypress.org/support/topic/buddypress-logged-in-menu-items-not-manifesting/
@mods please delete this one.September 17, 2015 at 5:10 am #244494In reply to: Buddypress “Logged In” Menu Items Not Manifesting
djsteveb
Participant@deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..
I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..
September 17, 2015 at 3:40 am #244490In reply to: Buddypress “Logged In” Menu Items Not Manifesting
deklein
ParticipantTried both changing the theme and disabling all plugins but buddy-press. To no avail. I didnt think it was another plugin interfering with buddypress’ ability to manifest the buttons. It has to be something else, maybe my buddypress is corrupt?
September 17, 2015 at 12:23 am #244486In reply to: Strange change to page layout
djsteveb
ParticipantSounds like this is a theme issue and likely not an issue in regards to the 2014 / 2015 themes.. so you are probably going to have to contact your theme author about this.
You also did not provide any info about your setup – ( https://buddypress.org/support/topic/when-asking-for-support-2/ ) so there is no way anyone could guess about this.. have things changed with bp? quite a bit with some updates, and not so much with others –
you should disable all plugins aside from bp and see if the issue continues first imho.
if so – your theme author will likely have to dig into the issue.
September 16, 2015 at 7:56 pm #244477In reply to: Hide BP users depending on their PMPRO level
shanebp
ModeratorReview this example.
You’ll need to adjust it to gather PM levels.
Ditto re this example.September 16, 2015 at 7:35 pm #244473JECPFG
ParticipantYou are correct on all three of your questions.
I tried switching themes and am still seeing the same issue.
I’m actually using BuddyPress in conjunction with WPMUDev’s Membership 2 Pro plugin, so it’s an issue with how those two are functioning together. I’ve posted on WPMUDev’s forums but can’t seem to find an answer there either, so I tried posting here hoping one side would know what the problem may be.
September 16, 2015 at 7:29 pm #244471In reply to: Register on a WP site without a BP profile
shanebp
ModeratorA BP site uses BP to register users.
So afaik, it is not possible to create a WP account but not automatically a BuddyPress profile.September 16, 2015 at 11:46 am #244454In reply to: Where to learn.
Henry Wright
ModeratorThe best place to learn how BuddyPress works is the codebase. Over the past few years, the inline docs have been improved tremendously and are now at a point where they’re very useful.
September 16, 2015 at 9:21 am #244445In reply to: “$bp->current_component” returns empty string
anbusurendhar
Participanthttps://buddypress.org/support/topic/make-your-own-custom-buddypress-page/.
The snippet I found in the above link is as below:
define('BP_EXAMPLE_SLUG', 'fun'); function bp_show_example_page() { global $bp, $current_blog; if ( $bp->current_component == BP_EXAMPLE_SLUG && $bp->current_action == '' ) { // The first variable here must match the name of your template file below bp_core_load_template( 'fun', true ); } } add_action( 'wp', 'bp_show_example_page', 2 );September 16, 2015 at 9:08 am #244444In reply to: “$bp->current_component” returns empty string
anbusurendhar
ParticipantSorry the link is Link. My mistake
September 16, 2015 at 8:46 am #244443In reply to: “$bp->current_component” returns empty string
anbusurendhar
ParticipantIn buddypress, activity, members, group have a definite pages like ‘domain/activity’, ‘domain/members’, ‘domain/group’, respectively. Likewise I’m trying to create my own custom page like ‘domain/mycustom’.
For this purpose I referred John James Jacoby’s Post in here. The snippet used in that link didn’t work for me. I don’t know where I’m missing.
From that snippet, I found that
$bp->current_componentreturns me an empty string.September 16, 2015 at 4:59 am #244438In reply to: “$bp->current_component” returns empty string
anbusurendhar
Participant@danbp : Thank You very much for your reply.
Even I’ve tried
bp_current_component()andbp_is_current_component()functions with no success.Actually this function works fine when used in default buddypress pages like
domain/activity/. This returns me “activity”, which is exactly correct. But when I tried this in my custom page (domain/custompage), I’m getting an empty string.September 16, 2015 at 2:41 am #244433In reply to: BuddyPress Activate/Register Page Setup
bravenguyen
ParticipantI’ve got the same problem. My installed theme is KLEO. I don’t know how but when I installed the same KLEO and related plugins on my PC’s localhost. The register/activate pages of BuddyPress v2.3.3 DID APPEAR! I opened both online and localhost pages on the same browser Google Chrome. How weird!
BTW, I guess we have to create the pages manually.Thanks @danbp for your replySeptember 16, 2015 at 2:18 am #244431djsteveb
Participant@swissprice – There are several “chat” plugins what “work with wordpress / buddypress” – it would be easy to establish a group chat room that allows registered and non-registered users to chat with each other via the main chat room – and they can private message each other there.
As far as “begin chat with this user” – I think you would need something that says “User A” is online now – and a setting that would allow a non-registered, non-logged in person to send a “message”. I think I saw a thread a while back where someone was trying to adapt the “single user profile page” to allow guest comments, aka activity post on that profile / user’s activity page..
Not sure exactly what you are going for here.
September 16, 2015 at 1:46 am #244429In reply to: Activity stream customisation options…
LJagermaster
ParticipantSeptember 16, 2015 at 1:15 am #244427In reply to: Buddypress “Logged In” Menu Items Not Manifesting
deklein
ParticipantAny suggestion, I’ve done a lot of looking around and have not found anyone having a similar problem!
I have double checked that under Screen Options: BuddyPress is enabled, obviously. The plugin is active and I do not know of any errors. I have no idea as to why none of the menu items are appearing.
September 15, 2015 at 7:48 pm #244418In reply to: Mentions in regular comment form
danbp
ParticipantWhen you mention a member in a blog comment, that member is informed of that on is profile notification screen and via the notif bubble in user menu (top right under howdy). But no mail is send in this case.
May be related topics:
https://buddypress.org/support/topic/no-notifications-for-mentions-in-comments/
https://buddypress.org/support/topic/notifications-component-fixing-custom-templatestemplates/Also:
September 15, 2015 at 7:25 pm #244417In reply to: BuddyPress Activate/Register Page Setup
danbp
ParticipantNo. You have to create Activate/Register pages manually.
September 15, 2015 at 6:50 pm #244416In reply to: [Resolved] My Comments Tab
danbp
Participanthi @bigkahunaburger,
Give this a try (goes to bp-custom.php or child-theme functions.php)
function bpfr_get_user_comments_on_profile() { // number of comments to show per page define( 'DEFAULT_COMMENTS_PER_PAGE', 3 ); $page = (get_query_var('page')) ? get_query_var('page') : 1; $limit = DEFAULT_COMMENTS_PER_PAGE; $offset = ($page * $limit) - $limit; $param = array( 'user_id' => bp_displayed_user_id(), 'status' => 'approve', 'offset' => $offset, 'number' => $limit ); $total_comments = get_comments(array( 'orderby' => 'comment_date', 'order' => 'ASC', 'status' => 'approve', 'parent' => 0 )); $pages = ceil(count($total_comments)/DEFAULT_COMMENTS_PER_PAGE); $comments = get_comments( $param ); $args = array( 'base' => @add_query_arg('page','%#%'), 'format' => '?page=%#%', 'total' => $pages, 'current' => $page, 'show_all' => false, 'mid_size' => 4, 'prev_next' => true, 'prev_text' => __('« backward'), 'next_text' => __('onward »'), 'type' => 'plain' ); // Output pagination echo paginate_links( $args ); ?> <ul> <?php foreach($comments as $comment) { // short version //echo '<li>'. ($comment->comment_content .' <a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">View post</a></li>'; // long version echo '<li>'. ($comment->comment_content .' <a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">'. get_the_title( $comment->comment_post_ID ) .'</a> Comment: '. get_comment_date( '', $comment ) .'</li>'; } ?> </ul> <?php } add_action ( 'my_profile_comment', 'bpfr_get_user_comments_on_profile' ); function bpfr_comment_profile_setup_nav() { global $bp; $parent_slug = 'comments'; $child_slug = 'comments_sub'; // Add nav item bp_core_new_nav_item( array( 'name' => __( 'My comments' ), 'slug' => $parent_slug, 'screen_function' => 'bpfr_profile_comment_screen', 'position' => 40, 'default_subnav_slug' => $child_slug ) ); //Add subnav item bp_core_new_subnav_item( array( 'name' => __( 'My latest comments' ), // as content title 'slug' => $child_slug, 'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 'parent_slug' => $parent_slug, 'screen_function' => 'bpfr_profile_comment_screen' ) ); } function bpfr_profile_comment_screen() { add_action( 'bp_template_content', 'bpfr_profile_comment_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function bpfr_profile_comment_screen_content() { do_action( my_profile_comment ); } add_action( 'bp_setup_nav', 'bpfr_comment_profile_setup_nav' );Reference: https://codex.wordpress.org/Function_Reference/get_comments
To do the same for user’s post, see here:
https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/September 15, 2015 at 3:50 pm #244413In reply to: “$bp->current_component” returns empty string
danbp
ParticipantI can’t figure out what is going on.
That snippet is 6 years old. BuddyPress is slightly different today.
Some explanation here:
May be you can also read here:
-
AuthorSearch Results