Buddypress Redirection on Users with Subscriber Role

If a subscriber on your BuddyPress site doesn’t have access to a specific page, it’s likely due to membership level restrictions set up on the page, meaning only users with a specific subscription plan (like a “premium” or “pro” level) can access it; you might need to check your BuddyPress settings to adjust access based … Read more

Force buddypress groups to be private [closed]

In your theme or child theme, create an over-ride of this file: buddypress\bp-templates\bp-legacy\buddypress\groups\create.php Then adjust the form markup so that only the Private group radio button is created and it is checked. Creating theme over-rides: http://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files

Is There A List Of What Buddypress Template Files Go Where And What They’re To Be Renamed?

This answer is for Buddypress 1.7. No idea how much of it, if any, still applies to the current version (2.8+) Here’s an as of yet incomplete listing of what files go where. I’ll update it as I get more into theming buddypress sites. The official ‘hints’ page can be found here.. https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/ If you … Read more

Target “admins” with different styles on the front end [closed]

There are a couple of ways to do this: With template overloads Overload these files: \bp-templates\bp-legacy\buddypress\members\single\profile\edit.php \bp-templates\bp-legacy\buddypress\members\single\profile\change-avatar At the top of the overload, do a current_user_can() check and then do or don’t show the rest of the template. Filter the button creation based on a current_user_can() check. See the filter in bp_get_displayed_user_nav() in ‘bp-members\bp-members-template.php’

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)