Search Results for 'theme'
-
AuthorSearch Results
-
March 25, 2019 at 8:58 am #303960
Venutius
ModeratorHi there, another plugin to help you is https://wordpress.org/plugins/buddypress-restrict-group-creation/ this will allow you to restrict members from creating more than one group.
If I updated this to include a restriction based on the number of group membership then that would help.
Looking at the code you’d also need to restrict the group join button showing so that it only shows for members not already in a group. How you do this depends on the BP Theme you are using, Legacy or Nouveau.
March 23, 2019 at 11:37 pm #303930In reply to: Emails are never received
Venutius
ModeratorHi there, here’s the steps I would take:
Deactivate all other plugins.
Switch to 2017 theme and test
Check for changes to functions.php, wp-config.php, bp-custom.php ( if you have one ) basically any place where custom scripts could be hiding.
Try recreating your emails in the Tools>>BuddyPress admin page.
If they still don’t work
Enable WP-DEBUG, install Query Monitor plus an error log viewer. initiate some emails and see if you get any errors at the same time.March 23, 2019 at 2:18 pm #303915In reply to: Search activity from title or member name
Venutius
ModeratorAll I can suggest is that you are not copying the functions.php file into the right theme directory, not likely but that could cause the new function not to be seen.
March 22, 2019 at 1:59 pm #303876In reply to: How to remove 3 points from buddyboss menu
Venutius
ModeratorHi there, I’m sorry but this would seem to be a theme issue ( the theme is adding the menu? ), you should raise this with BuddyBoss.
March 22, 2019 at 12:31 pm #303874Topic: How to remove 3 points from buddyboss menu
in forum How-to & Troubleshootingmanucomanuco
ParticipantHi, I have the social learner theme from buddyboss and i’m adding to the left menu (buddyboss panel) some pages, the problem is that when the menu is closed it appears 3 points next to the icon and it looks so bad
March 22, 2019 at 11:31 am #303868In reply to: 404 when deleting post or comment
hcportos
ParticipantFound it.
in child theme i used file from BP 2.x
So i’ve just replaced<?php if ( bp_activity_user_can_delete() ) { echo '<a href="'.bp_get_activity_comment_delete_link().'" type="button" class="button button-xs item-button bp-secondary-action delete-activity confirm" rel="nofollow"><i class="fa fa-trash-o"></i></a>'; } ?>with
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>Solved
March 22, 2019 at 10:52 am #303863In reply to: Giving editor access to edit extended profile
Venutius
ModeratorI’ve looked at the code and it turns out there’s a typo in buddypress/bp-members/classes/class-bp-members-admin.php as follows:
Line 1277:
if ( current_user_can( 'edit_user', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {One thing to try is to change this on your copy as follows:
if ( current_user_can( 'edit_users', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {You can also see that the other check is for bp_moderate so maybe my code earlier was wrong? though tbh bp_moderate give a whole bunch of additional features that you probably don’t want to expose to your editors. This is the example code from wp.org:
function add_theme_caps() { // gets the author role $role = get_role( 'author' ); // This only works, because it accesses the class instance. // would allow the author to edit others' posts for current theme only $role->add_cap( 'edit_others_posts' ); } add_action( 'admin_init', 'add_theme_caps');March 22, 2019 at 10:40 am #303862In reply to: 404 when deleting post or comment
hcportos
ParticipantBP legacy – but yes, i have some changes in child theme.
When I disable child theme, it is working…
I’m just wondering where can be the issue…where i should focus to find the trouble…
somewhere in buddypress/activity/ ?March 22, 2019 at 10:34 am #303860In reply to: 404 when deleting post or comment
Venutius
ModeratorWhich bp Theme are you using?
March 22, 2019 at 9:38 am #303850hcportos
ParticipantTried to switch theme to twenty seventeen – not helped
March 22, 2019 at 7:53 am #303845Venutius
ModeratorUnderscores is generally a theme thing, so the first thing I’d do would be to switch to a default theme such as 2017 and see if that fixed the problem, failing that I’d be looking for plugin conflicts.
March 21, 2019 at 10:51 pm #303842Topic: Group home page
in forum How-to & TroubleshootingBodhipaksa
ParticipantIn the buddypress.org/about/groups page it says “Each group has a homepage. The group’s Activity Stream is the default Home tab for any group.” That’s not what I’m seeing. When I go to a group I’m in a “home” tab that includes an information box saying “Manage the Groups default front page” and a description of the group. Activity is a separate tab. I’d certainly like to have the home page for a group show the most recent posts there. How would I do that?
WordPress 5.1.1 running Twenty Sixteen theme.
Buddypress Version 4.2.0.March 21, 2019 at 7:07 pm #303840In reply to: Member Count
Venutius
ModeratorMind if you’ve got template overloads in place or a theme that’s doing it, you’ll get that effect.
March 21, 2019 at 7:06 pm #303839In reply to: Member Count
Venutius
ModeratorThat’s a bit odd, to my knowledge both themes use the same images. You probably need to turn your error reporting on, if you haven’t already?
March 21, 2019 at 6:52 pm #303837In reply to: Member Count
Petchy
ParticipantI switched to BP Legacy theme and that has fixed the problem.
March 21, 2019 at 4:51 am #303804In reply to: Member Count
Venutius
ModeratorThe BP active member count is stored in transient memory and the count you see displayed is reading this transient. When you run the tool to correct the count this transient is deleted then next time you go to read the value it detects there is no count so it does a db count of all active users and resets the transient. So the Tools option suggested by Shanebp should have worked. It not working suggested there is potentially something up with your database.
The only other thing that affects the active user count is the excluded user id’s, these are the inactive and deleted users.
As a next step I suggest you try switching to the BP Legacy theme and see if that works. I don’t think it will but it would help rule out a nouveau specific function involved in displaying the count.
March 21, 2019 at 4:35 am #303802In reply to: Member Count
Venutius
ModeratorHi there, it looks like you are using the BP Nouveau theme, can you confirm?
March 20, 2019 at 3:57 pm #303791In reply to: Hide Group Creation Dates
aussiemike
ParticipantThank you. I will look into the theme files. Didn’t check there.
March 20, 2019 at 3:56 pm #303790Venutius
ModeratorHi @irahulsolanki I just tested this again with the BP Legacy theme and I got the same results as you. could you raise a support ticket for this?
March 20, 2019 at 2:16 pm #303781In reply to: Group filter Buddypress no working
aoiu
ParticipantSeems to be BuddyPress Create Group Types.
The other filter on the top you see on the attachment is the filter of the theme. This filter work but not the buddypress filter by native you see on the picture (the one i try to click on it).
March 20, 2019 at 9:48 am #303747In reply to: Register page keep refreshing
Venutius
ModeratorI’m not really sure what to suggest. BP in it’s raw environment does not do this, if you have no other plugins loaded and a default theme then it should work correctly.
March 20, 2019 at 9:42 am #303745Venutius
ModeratorHere’s how to remove forums from all users profile tabs and toolbar menu, this code would need to go in your child-themes functions.php:
function venutius_remove_forums_on_usermenu() { global $wp_admin_bar; if ( bp_use_wp_admin_bar() ) { $wp_admin_bar->remove_node( 'my-account-forums' ); } } add_action( 'wp_before_admin_bar_render', 'venutius_remove_forums_on_usermenu' ); function venutius_remove_profile_forums_tab() { bp_core_remove_nav_item( 'forums' ); } add_action( 'bp_actions', 'venutius_remove_profile_forums_tab' );March 20, 2019 at 9:41 am #303744In reply to: Register page keep refreshing
airsid
Participant“How about switching to the BP Legacy theme to see if that works?”
That is the first action i did : i deactivated all plugins exept bbpress and buddypress and i installed TwentySixteen official wordpress theme.
March 19, 2019 at 11:16 pm #303731In reply to: Hide Group Creation Dates
shanebp
ModeratorBy default, BP does not show the creation date.
So, afaik, it’s coming from your theme or some other plugin.
You will have find it yourself.March 19, 2019 at 2:40 pm #303706Venutius
ModeratorThen you’d need to overload your child-themes template file for the homepage, but getting the activity on there would need quite a bit of coding.
BP was designed to be customised with plugins, it’s not unusual for a BP site to have several tens of plugins and maybe more.
-
AuthorSearch Results