Search Results for 'buddypress'
-
AuthorSearch Results
-
October 18, 2018 at 5:56 pm #279113
In reply to: Create/add forum from frontend
Prashant Singh
ParticipantOk, got it now.
The above code will show the forum form on bbpress user profile, not BuddyPress.
Please try this code:
add_action('bbp_template_after_user_topics_created', 'ps_show_forum_form'); function ps_show_forum_form(){ if(bbp_is_user_home() && current_user_can('moderate')){ echo do_shortcode('[bbp-forum-form]'); } }Thanks
October 18, 2018 at 5:42 pm #279110In reply to: Avatar cut in mobile view
wegosi
ParticipantThank you. The problem is not in my understanding.
Because the professionals (creators of the theme) tell that the problem in buddypress core.
Mobile view. Small avatar size in cropping. Not correct button.
October 18, 2018 at 5:40 pm #279109In reply to: Avatar cut in mobile view
Prashant Singh
ParticipantHi,
Please check this https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/ to understand the concept there.
Thanks
October 18, 2018 at 5:36 pm #279107In reply to: How to filter buddypress customizer options
rafaelfigueiredo
ParticipantInside buddypress/bp-templates/bp-nouveau/includes/template-tags.php I founded this function bp_nouveau_get_single_item_nav_classes().
Inside this function I can see that has an option that I want to change ‘user_nav_display’. Then the end line of this function is a filter, but I can’t able to do some debug. I’m using wp_die, var_dump and nothing happens when I tried to use a callback function attached to this filter.
/**
* Filters the final results for BuddyPress Nouveau container classes.
*
* This filter will return a single string of concatenated classes to be used.
*
* @since 3.0.0
*
* @param string $value Concatenated classes.
* @param array $classes Array of classes that were concatenated.
*/
return apply_filters( ‘bp_nouveau_get_container_classes’, join( ‘ ‘, $class ), $classes );My code doing some debug:
add_action(‘bp_nouveau_get_container_classes’, [$this, ‘buddypress_instance’]);
public function buddypress_instance($value, $classes){
wp_die(var_dump($value));
}October 18, 2018 at 5:32 pm #279105Topic: How to filter buddypress customizer options
in forum How-to & Troubleshootingrafaelfigueiredo
ParticipantHi,
I want to override the customize default settings through my plugin. I read the buddypress code and appears that don’t have a filter function to this.
There’s another way to do this?
October 18, 2018 at 5:02 pm #279101In reply to: Renaming Group tabs
Prashant Singh
ParticipantHi,
Please put this snippet in your child theme’s functions.php:
function ps_rename_group_tabs() { if ( ! bp_is_group() ) { return; } buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Activity', 'buddypress' ) ), 'home', bp_current_item() ); } add_action( 'bp_actions', 'ps_rename_group_tabs' );Hopefully, it will help you.
Thanks
October 18, 2018 at 3:17 pm #279097John
ParticipantThe site I’m working on has a load of images uploaded to each member profile via an xprofile image field. The image field has been added with the BuddyPress Xprofile Custom Field Types plugin.
The issue I have is that these images can be quite large and it seems that they don’t go through the wordpress core image resizing on upload.
Is there a way of getting these images to be resized to the ‘thumbnail’, ‘medium’ sizes etc?
thanks,
JohnOctober 18, 2018 at 2:03 pm #279094Topic: Filter the member list
in forum How-to & Troubleshootingdbupconseil
ParticipantI would like not to display the site administrators in the buddypress members page, as well as a certain group of members. Is it possible ?
October 18, 2018 at 8:57 am #279092Topic: MemberMouse Access Control on Core Pages
in forum How-to & Troubleshootingsuperp777
ParticipantHello everyone,
Here’s something we’ve been struggling with over the last week.
We’re using MemberMouse plugin for our membership site to create different levels of access.
MemberMouse, therefore, locks specific pages.The problem is that we’re no longer able to lock a page when we assign it as BuddyPress core page.
MemberMouse support told us this is how their plugin is checking the page.
Any ideas/suggestions?
Thanks a lot!
October 18, 2018 at 6:10 am #279090Anonymous User 16484011
InactiveHi !
Prashant,
As per your above suggestion, I find the above code but as I find it’s not exact as you wrote above. But I replace as per my poor coding knowledge but it’s not work.
Here is the code of single.php file from location
“wp-content\plugins\youzer\includes\public\templates\members\single\messages”<?php /** * BuddyPress - Members Single Message */ ?> <div id="message-thread"> <?php /** * Fires before the display of a single member message thread content. * * @since 1.1.0 */ do_action( 'bp_before_message_thread_content' ); ?> <?php if ( bp_thread_has_messages() ) : ?> <div id="message-recipients"> <div class="highlight-icon"><i class="far fa-comments"></i></div> <div class="highlight"> <h2 id="message-subject"><?php bp_the_thread_subject(); ?></h2> <span class="highlight-meta"> <?php if ( bp_get_thread_recipients_count() <= 1 ) : ?> <?php _e( 'You are alone in this conversation.', 'youzer' ); ?> <?php elseif ( bp_get_max_thread_recipients_to_list() <= bp_get_thread_recipients_count() ) : ?> <?php printf( __( 'Conversation between %s recipients.', 'youzer' ), number_format_i18n( bp_get_thread_recipients_count() ) ); ?> <?php else : ?> <?php printf( __( 'Conversation between %s.', 'youzer' ), bp_get_thread_recipients_list() ); ?> <?php endif; ?> </span> </div> <div class="highlight-button"> <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>"><i class="fas fa-trash-alt"></i><?php _e( 'Delete', 'youzer' ); ?></a> </div> <?php /** * Fires after the action links in the header of a single message thread. * * @since 2.5.0 */ do_action( 'bp_after_message_thread_recipients' ); ?> </div> <?php /** * Fires before the display of the message thread list. * * @since 1.1.0 */ do_action( 'bp_before_message_thread_list' ); ?> <?php while ( bp_thread_messages() ) : bp_thread_the_message(); ?> <?php bp_get_template_part( 'members/single/messages/message' ); ?> <?php endwhile; ?> <?php /** * Fires after the display of the message thread list. * * @since 1.1.0 */ do_action( 'bp_after_message_thread_list' ); ?> <?php /** * Fires before the display of the message thread reply form. * * @since 1.1.0 */ do_action( 'bp_before_message_thread_reply' ); ?> <form id="send-reply" action="<?php bp_messages_form_action(); ?>" method="post" class="standard-form"> <div class="message-reply-content"> <?php bp_loggedin_user_avatar( 'type=thumb&height=50&width=50' ); ?> <?php /** * Fires before the display of the message reply box. * * @since 1.1.0 */ do_action( 'bp_before_message_reply_box' ); ?> <textarea name="content" id="message_content" rows="15" cols="40" placeholder="<?php _e( 'Write a reply ...', 'youzer' ); ?>"></textarea> <?php /** * Fires after the display of the message reply box. * * @since 1.1.0 */ do_action( 'bp_after_message_reply_box' ); ?> </div> <div class="submit"> <button type="submit" name="send" id="send_reply_button"><i class="fas fa-paper-plane"></i><?php esc_attr_e( 'Send', 'youzer' ); ?></button> </div> <input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" /> <input type="hidden" id="messages_order" name="messages_order" value="<?php bp_thread_messages_order(); ?>" /> <?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ); ?> </form><!-- #send-reply --> <?php /** * Fires after the display of the message thread reply form. * * @since 1.1.0 */ do_action( 'bp_after_message_thread_reply' ); ?> <?php endif; ?> <?php /** * Fires after the display of a single member message thread content. * * @since 1.1.0 */ do_action( 'bp_after_message_thread_content' ); ?> </div>I replace the line no.49 which is
<a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>"><i class="fas fa-trash-alt"></i><?php _e( 'Delete', 'youzer' ); ?></a>with your code
<?php if(current_user_can('manage_options')){?> <a>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a> <?php }?>But still not got the solution.
Regards
October 18, 2018 at 1:32 am #279086In reply to: How to “like” or favorit a blog post from a blog ?
rosyteddy
ParticipantBuddypress is about social networking. For any social net, Favoriting or Liking is a core feature. Favoriting or liking any content, be it Notes or Blog, photo or status, whatever, should be done from Activity / Stream or the content itself. I think it is somewhere in Buddypress Tickets but was never done. Commenting was also NOT both ways at the beginning, later it was developed.
” one can easily favorite a blog post activity and then can see it in My favorites section.” – I wish one could easily. But as I said, “”You read a blog post after hitting a link to the blog post from the activity stream. After reading the FULL blog post, you decide you like it / you would want to read it again. Now, you come back to the Activity page – by now there has been other activities like Comments, Photos, status etc etc and the activity stuff for the blog post has gone lost from view. What do you do ?”” Its not easy at all.
I close this as it seems there is no solution so far. But is worth noting BP is losing out to all other social scripts, mainly becoz of this 3 reasons : one is this, other two are dated status box and lack of any good media plugin.
October 17, 2018 at 11:31 pm #279085In reply to: BuddyPress Private Message showing [Deleted]
donniewalden
ParticipantAlso in addition – the message is sent to the user’s email address outside of the website buddypress system, and that send the message correctly too. It’s only the message displayed in the actual message, since it’s showing it in the inbox feed.
October 17, 2018 at 8:41 pm #279083Prashant Singh
ParticipantIt is from a third party plugin https://github.com/bphelp/bp-remove-profile-links, not BuddyPress. It seems there is no active development there from the last 5 years so you are safe to do this in the plugin, it will not be updated.
October 17, 2018 at 8:29 pm #279081Prashant Singh
ParticipantHi,
Please confirm if you are using this plugin https://wordpress.org/plugins/learnpress-buddypress/ or not?
Also when you install BuddyPress then choose template pack ‘legacy’ instead of nouveau in its settings(Settings-> BuddyPress-> Options) and then install learn press and this bridge plugin.
It seems like they are not compatible with the new template pack of BuddyPress.
Thanks
October 17, 2018 at 8:17 pm #279079In reply to: Lost setting
Prashant Singh
ParticipantIn the Customize section please go to BuddyPress Nouveau -> General BP Settings. There you will find the option.
Thanks
October 17, 2018 at 8:15 pm #279078In reply to: Delete emails and restore from defaults.
Prashant Singh
ParticipantNo, it will not list theme. Please check https://buddypress.org/support/topic/migrate-from-ultimate-member-to-buddypress/
October 17, 2018 at 7:51 pm #279076In reply to: Group creation
Prashant Singh
ParticipantHi,
It’s sad to hear that BuddyPress does not meet your requirements. I have used it so many times but never saw like this what you have mentioned. Is your site in the Spanish language where you tried installing BuddyPress?
Thanks
October 17, 2018 at 7:44 pm #279075In reply to: who clicked on my link
Prashant Singh
ParticipantHi,
Please check this plugin: https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/
Thanks
October 17, 2018 at 7:14 pm #279071In reply to: How to “like” or favorit a blog post from a blog ?
Prashant Singh
ParticipantHi,
I think giving a favorite button on each blog post is not what comes under BuddyPress. It’s a default WordPress thing and when they will have this functionality certainly at that time devs check if it can be synced with BP Favorite. But the comment was always there on blog posts.
Also, BuddyPress does allow marking favorite activities so one can easily favorite a blog post activity and then can see it in My favorites section.
And for the blog post favorite, we can use a third party plugin for now.
Thanks
October 17, 2018 at 6:55 pm #279068Prashant Singh
ParticipantHi,
That is a paid plugin so I do not have access to the code.
Can I put your above code in plugin’s directory’s path “\wp-content\plugins\youzer\includes\public\templates\members\single\messages” single.php file ?
If the file is there then try to find this code
<a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>and then replace it with this code:
<?php if(current_user_can('manage_options')){?> <a>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a> <?php }?>Thanks
October 17, 2018 at 3:59 pm #279063In reply to: How to “like” or favorit a blog post from a blog ?
Prashant Singh
ParticipantHi,
Please check this plugin https://wordpress.org/plugins/favorites/
Buddypress have favorite functionality for activities. Posts are default from WordPress. Also post creation activities are there just need to enable options in BuddyPress settings.
Thanks
October 17, 2018 at 8:52 am #279055In reply to: Migrate from Ultimate Member to BuddyPress
Prashant Singh
ParticipantIt’s because BuddyPress shows active members only so as soon as they will login on the site they will be listed. If you want to do it manually then please install User switching plugin and switch to each members account one by one and they will be listed.
Thanks
October 17, 2018 at 8:44 am #279054In reply to: Migrate from Ultimate Member to BuddyPress
randomuser2000
ParticipantHaven’t done anything. Just installed BuddyPress and deleted the Ultimate Member. Everything is alright now except BuddyPress Members page doesn’t list old members just the new registered or password reset ones. In admin panel Users i can see all the users though.
October 17, 2018 at 8:17 am #279049In reply to: buddypress install error
jameswee
Participanti dont know how to delete the buddypress in AWS ?
Anyone can help ?
after i login using putty, always say permission denialOctober 17, 2018 at 8:17 am #279048In reply to: Migrate from Ultimate Member to BuddyPress
randomuser2000
ParticipantHaven’t done anything. Just installed BuddyPress and deleted the Ultimate Member. Everything is alright now except BuddyPress Members page doesn’t list old members just the new registered or password reset ones. In admin panel Users i can see all the users though
-
AuthorSearch Results