We want to close topic creations. as we want members to only reply back to to TOPICS ALREADY CREATED by us.
This is with Groups and not BBPress Forums
You mention you want to close topic creations, but you are not using bbPress forums. Can you post a screenshot of what you are referring to? Are you talking about the activity post form?
Thanks for the reply @danbp
I have not built the site and I also have very little technical and coding knowledge (sorry!) I will update WordPress later but wasn’t sure how to back everything up?
There is a lot of plugins installed:Admin Menu Editor, Advanced Custom Fields,Advanced Custom Fields PRO, bbPress,BuddyPress, DropBox Folder Share, Easy FancyBox, Gravity Forms, Gravity Forms + Custom Post Types, Gravity Forms CSS Ready Class Selector, Gravity Forms Remove Entries, jonradio Multiple Themes, Login Security, Members, No Page Comment, OPcache Dashboard,Page Specific Menu Items, PHP Code For Posts, Post Types Order, Social Media Feather, Styles with Shortcodes for WordPress,
TAO Schedule Update, WordPress Importer, WP Google Maps, WP Google Maps – Pro Add-on, wp_mail return-path
Are any of these know to conflict with BuddyPress?
Not sure on the custom functions as far as I know… I’m not confident enough to debug and the site it is also live so not sure what to do?
Think I will update WordPress then disable all plugins except BuddyPress and try on a twenty theme but if that doesn’t work, which seems like the case in other past posts, I’m not sure need help!
Thanks again
Hey All,
We need some urgent help,
We have groups on our learning platform, and we would like TOPIC CREATIONS to be closed for members.
We want to close topic creations. as we want members to only reply back to to TOPICS ALREADY CREATED by us.
This is with Groups and not BBPress Forums, Please help we are stuck on this, is their any css that will stop this, please see.
View post on imgur.com
Add this snippet to bp-custom.php and comment/remove what you don’t need
function bpex_admin_bar_remove() {
global $wp_admin_bar;
// Remove the whole WP logo menu
// $wp_admin_bar->remove_node( 'wp-logo' );
// remove only About BuddyPress
$wp_admin_bar->remove_node( 'bp-about' );
// remove only About bbPress
// $wp_admin_bar->remove_node( 'bbp-about' );
}
add_action( 'wp_before_admin_bar_render', 'bpex_admin_bar_remove' );
Related BP 2.6.1.1 admin menu reference: bp-core/classes/class-bp-admin.php:485
Related WP function: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_before_admin_bar_render
I am having this issue with BuddyPress 2.6.1.1 & bbPress 2.5.10 plugins installed
I have used the BuddyPress repair tool but it didn’t work?
Running WordPress 4.4.4 and the Sparkling theme
Any ideas as this seems to be a common issue looking back through older topics
Irony is when I forgot my password to this forum it sent an email instantly!!!
Thanks in advance
There is nothing to do ! Private groups are even private. If user 1 is only member of group A and NOT of group B, user 1 can only act with group A forum.
Aside, question related to bbPress should be asked on bbPress forum, not on BuddyPress forum.
Hi,
on my wordpress website I have 2 private groups, and i would like a common forum for this groups. But the problem if the user 1 is in the first group he can’t access to topic created on the second group.
How to do that with bbPress?
Sorry for my english.
Thx
bbPress is a separate plugin, so it is intended to work like this untill you code something to your need.
See both links at the bottom of this codex page:
Notifications
Subscribing to bbPress topics is explained here:
Subscriptions
nmParticipant
Just noticed that the Buddypress notifications component only shows notifications to the topic creator and not to other topic subscribers in case of any replies. It also does not show notifications to forum subsribers. I don’t know if this is intentional but does anyone know how I can enable notifications for topic and forum subscribers?
WordPress 4.3
BuddyPress 2.6.1.1
bbPress 2.5.10
I inherited a WP/BP/bbPress project. I’ve been trying to understand how the last developer configured everything, including custom buddypress changes. There is a buddypress-functions.php file in my themes directory. In functions.php several buddypress js files are loaded from a theme subfolder “/static/js/” including mentions.min.js, jquery.atwho.min.js, jquery.caret.min.js, along with other buddypress core js files.
I understand that there are situations where you would have your own buddypress-functions.php file and the /theme/buddypress/*/ folders for customization, but it can’t possibly be the right thing to be loading your own copies of buddypress js files.
When I remove the js files from enqueuing and delete the buddypress-functions.php I would expect that the installation would revert to using the files in the /plugins/buddypress/ folder but things like @mentions stop working when I make these changes (although a lot of buddypress functionality continues to work).
I guess my question is how do I get the theme to actually use the proper buddypress files from the plugin and am I correct that loading static old js files for buddypress is a totally insane thing to do?
Just had to use this fix again after the latest bbpress update so thanks again @danbp and @shanebp!
I’m building a theme and found that bp_is_user_forums() doesn’t return true and the related template is never loaded. Meaning that my-theme/buddypress/members/single/forums.php and /forums are redundant.
Also, my-theme/buddypress/members/single/plugins.php is the file being used to render user replies, topics, subscriptions and favorites.
This is a bit of a problem, as I need control over the markup here.
So my question is, are there any template tags to pick up on BBPress forums at profile level and serve custom templates? If so, could you please show me how. I’m sorta stuck.
[MOD] Topic moved to a more appropriate forum.
The following plugins/widget are generating these error messages.
bp-edit-group-slug
BP_Toplevel_Groups_Widget
BP_Group_Navigator_Widget
bp-group-email
bp-group-hierarchy
You have to contact their authors via plugin support on WP repo.
and on your side:
The first step to getting rid of those Notices is identifying the source, so:
– switch momentarily to a WP theme like 2016 and see if any persist
– turn off plugins one at a time and see if any persist
About the bbPress notice (bbp_setup_current_user was called incorrectly), read here:
https://buddypress.trac.wordpress.org/changeset/10709/
bbp_setup_current_user was called incorrectly
Add this snippet to bp-custom.php and give it a try.
function bpex_hide_profile_menu_tabs() {
if( bp_is_active( 'xprofile' ) ) :
if ( bp_is_user() && !is_super_admin() && !bp_is_my_profile() ) {
// BP's profile main menu items. Comment those to show.
// bp_core_remove_nav_item( 'activity' );
bp_core_remove_nav_item( 'profile' );
bp_core_remove_nav_item( 'friends' );
bp_core_remove_nav_item( 'groups' );
// exist only if you use bbPress
bp_core_remove_nav_item( 'forums' );
// BP's profile main menu items. Comment those to show.
// bp_core_remove_subnav_item( 'activity', 'personnal' );
bp_core_remove_subnav_item( 'activity', 'mentions' );
bp_core_remove_subnav_item( 'activity', 'favorites' );
bp_core_remove_subnav_item( 'activity', 'friends' );
bp_core_remove_subnav_item( 'activity', 'groups' );
}
endif;
}
add_action( 'bp_setup_nav', 'bpex_hide_profile_menu_tabs', 15 );
you are using bbpress right? IF yes you would need to ask this at bbpress forums
Hello WP community,
Hoping someone can help me out. I have 2 questions
1) Buddypress installed and when a comment is made on a post, I would like it updated to the top of the feed on activity update page regardless of how old the post is.
Right now when a comment is made on an old post, it updates in activity but not at the top of the feed but on the date in which the post was created.
How can I change this for both post comments and bbpress.
2) Is it possible for users to add image and video on activity update in buddypress. if so how can I do this.
I have the latest WP and BuddyPress installed.
Thank you in advance!
Is there a way to maintain the scroll position when switching tabs on the profile page? It is really annoying to scoll down every time you switch tab.
1. Which version of WordPress are you running?
4.5.3
4. Did you upgrade from a previous version of WordPress? If so, from which version?
No
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes
6. Which version of BP are you running?
2.5.3
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes
9. Are you using the standard WordPress theme or customized theme?
Customized
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
Yes
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting?
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Windows
Merci @imath !
The old way
The following syntax to change the tab order is deprecated since 2.6 and will throw an error notice:
function rt_change_profile_tab_order() {
global $bp;
$bp->bp_nav['profile']['position'] = 10;
$bp->bp_nav['activity']['position'] = 20;
}
add_action( 'bp_setup_nav', 'rt_change_profile_tab_order', 999 );
The new way
Now the correct syntax to use for modifying – since 2.6 – the tabs position on the buddybar when you’re on a profile.
This example list all BP related items who appear by default on a profile nav, in order of appearance and include also the forum tab (if you use bbPress for group forums).
By default, activity tab comes as 1st. The snippet will move it to 4th position.
To modify a position you simply change the numeric value.
If you want to move only one item, you remove or comment (add // at begin of the line) the ones you don’t want to move.
function bpex_primary_nav_tabs_position() {
buddypress()->members->nav->edit_nav( array( 'position' => 4, ), 'activity' );
buddypress()->members->nav->edit_nav( array( 'position' => 5, ), 'profile' );
buddypress()->members->nav->edit_nav( array( 'position' => 7, ), 'notifications' );
buddypress()->members->nav->edit_nav( array( 'position' => 9, ), 'messages' );
buddypress()->members->nav->edit_nav( array( 'position' => 2, ), 'friends' );
buddypress()->members->nav->edit_nav( array( 'position' => 6, ), 'groups' );
buddypress()->members->nav->edit_nav( array( 'position' => 3, ), 'forums' );
buddypress()->members->nav->edit_nav( array( 'position' => 1, ), 'settings' );
}
add_action( 'bp_setup_nav', 'bpex_primary_nav_tabs_position', 999 );
That’s it for the buddybar nav menu order on profile.
Check your Forum settings. For each group forum you can change the order manually.
Installing Group and Sitewide Forums
For more in-deep settings, you’ve better chance to get an answer on bbPress support.
Hello
I’m using buddypress with bbpress. When a buddypress group creates it’s own group forum, it is created automatically with a default forum order of 0. This results the group forum to placed near the top of the main forum list.
Is it possible to specify the forum order when a group forum is created? And is it possible to to automatically create the forum as a sub-forum, so it doesn’t mess up the layout/order of the main forum list? Say for example I have 3 main forums:
– Announcements
– General
– Projects
I would like it when a buddypress group creates its own forum, it is located as sub-forum within Projects.
Thanks for any help
Hi @alessandrat,
that’s a question for bbPress. Please read here:
Post by Email & Social Media Integration
HI
i use SocialChef theme .
all active plugins :
bbPress
BuddyPress
ITRO Popup Plugin
TablePress
TablePress Extension: Responsive Tables
Telegram for WordPress
TinyMCE Advanced
Wise Chat
WooCommerce
WP Statistics
WR PageBuilder
@sharmavishal
Thanks for the quick reply. I understand that the bbpress forums are associated with the group from Groups and then associating the group with the forum on under Discussion Forum on the right. The part after this is the part I’m stuck at. I want to display that forum in the menu if and only if the user is a member of that group.
So if User A is a member of Group A, I want a way to display Group A’s forum in the nav menu. Hopefully this makes sense.
“bbpress group forums associated with the user” this is not possible. you can associate bbpress forums to a specific group only
Installing Group and Sitewide Forums
Having same problem with Danish language.
Have added both .mo and .po to wp-content/buddypress/languages/ but can’t see the translations…
However, bbpress seems to be getting the translations OK …