Forum Replies Created
-
In reply to: Bump Activity to top Plugin
There is a plugin which may be helpfull, even if it doesn’t automatically push any activity to the top. But you can make it sticky by hand. Works with 2.2.1
Activity Sticker by @imathIn reply to: Number of Topics and Replies in ProfileHi @matthias70,
try this. Will show 2 lines of stats on the profile header. Add to bp-custom.php
function bpfr_topics_stat( $user_id, $type = 'topic' ) { global $bp; // Check if bbPress plugin is loaded if ( class_exists( 'bbPress' ) ) { if( bp_is_user() && ! bp_get_member_user_id() ) { $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } $query = new WP_Query( array('post_type'=>$type,'author'=>$user_id) ); if ( $query->have_posts() ) { echo '<p>Topics created: '. $query->post_count .'</p>'; } else{ echo '<p>Topics created: 0</p>'; } } } add_action( 'bp_before_member_header_meta', 'bpfr_topics_stat', 2 ); function bpfr_replies_stat( $user_id, $type = 'reply' ) { global $bp; // Check if bbPress plugin is loaded if ( class_exists( 'bbPress' ) ) { if( bp_is_user() && ! bp_get_member_user_id() ) { $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } $query = new WP_Query( array('post_type'=>$type,'author'=>$user_id) ); if ( $query->have_posts() ) { echo '<p>Replies created: '. $query->post_count .'</p>'; } else{ echo '<p>Replies created: 0</p>'; } } } add_action( 'bp_before_member_header_meta', 'bpfr_replies_stat', 2 );In reply to: does wpzonbuilder work with buddypressWould be better to ask directly the plugin author.
In reply to: [Resolved] displaying user roles in profileIn reply to: Template to change activity URL targetsThe target attribute was deprecated in HTML 4.01 and not accepted if doctype uses strict HTML;
It’s also considered as abusive to decide in place of the user.End of the general context and the endless discussions around this 😉
Here’s a solution, which is accepted by SEO and W3C validator.
Not tested and for information only.
Youtube servers are not always on hand to 100%. A common issue with external high traffic services. The quality of the video itself, or his popularity can also lead to such issue.
In reply to: Trying To Get Access BBPress In My BuddyPress PluginHi,
did you searched in bbPress ?
plugins\bbpress\includes\extend\buddypressmaybe you’ll find some answers there ?
like bbp_add_group_id_to_forum() in extend/buddypress/functions.php
The light goes on when you click on ↑↑↑ Documentation ↑↑↑
The sun comes up when you enter activity loop in the search box
and you getBP use only dynamic pages and some templates, depending of the context and shows them on the appropriate page (here: activity)
BP templates are all in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/
Fr your question, see
/activity/single/
/activity/And about theme
@rosyteddy 😀 😀
This field is fully part of WP registration process. And WP doesn’t use “email confirmation”.
But you can try Theme My Login if you absolutely want such feature.In reply to: Show admin bar for normal users?Maybe you have a such setting in your theme ?
Or a function to search in /your-theme/functions.phpIn reply to: Show admin bar for normal users?Have you tried another setting for Toolbar ?
Default is yes. Uncheck and see if you get a difference.In reply to: Change Buddypress .odd background colorIt’s a common task you can achieve from a child-theme/style.css
In reply to: Hello. BP Activity StreamI asked a question in the support of his subjects.
What question on which support ? To have an idea, we need some details !
Theme name ?
Used plugins ?In reply to: [Resolved] How to remove "view" button from profil ?This item is context dependant and can not be removed like other sub_nav items.
Normally you should use
bp_core_remove_subnav_item( 'profile', 'the-tab-to-remove' );In reply to: Registrations Dissapearing?The picture shows that you also use OneAll social login….
You have to debug. Read here first: https://codex.wordpress.org/Debugging_in_WordPress
Activate TwentyFifteen and deactivate all plugins except BuddyPress.
See it the issue is still in.Reactivate each plugin one by one untill you find a culptrit
Thank you @r-a-y, great job! 😀
In reply to: [Resolved] How to remove "view" button from profil ?Try by adding this to child-theme style.css
#public-personal-li { display: none; visibility: hidden; }In reply to: Buddypress activity page not working properly[MOD EDIT] links removed.
Please use a fake URL when you want to mention a path.Have you assigned a page to the activity component ? Sometimes it’s not setup automatically.
Also which is your theme ?have you asked for this on your theme support ? It’s a premium one and we cannot help you for this, as we have no free access to the code.
In reply to: BuddyPress Profile Page TranslationDo you mean BP’s profile or a third party plugin ?
All translatable strings related to BP are stored in /buddypress/buddypress.pot
In reply to: Saving an array with xprofile_set_field_dataWhich is the function you try to use ?
Or at least give details about what you want to achieve.In reply to: Traduction failsIn reply to: Registrations Dissapearing?Please, give details: https://buddypress.org/support/topic/when-asking-for-support-2/
In reply to: How to customize the registration form