Over-ride this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\home.php
And adjust it to make forums the default rather than activity.
Over-riding BP templates:
https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
Thanks shane.
I took a look at that doc you link but feel this is a little beyond my capabilities!
Looking around the bbpress documentation I found this
They tell me to add
define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘members’ );
to my wp-content/plugins/bp-custom.php file. But that doesn’t seem to work.
This is what I wrote in the bp-custom.php file:
<?php
define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ );
?>
Is there anything obviously wrong with this which may explain it not working?
Thanks again.
This works fine on my basic test install
define( 'BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
Make sure that the quotes are straight verticals – not slanted or curved.
Otherwise, it’s something about your install.
Are you positive that your group(s) have forums ?
Also make sure that your single forum slug is ‘forum’
The settings are in Dashboard > Settings > Forums > Single Forum Slugs > Forum.
If it isn’t ‘forum’, before changing the slug, trying changing your ‘define’ to use your current slug.
Dear Shane.
You are a genius (or I am a blockhead). It was the quotes in my bp-custom.php file! They were curved and not straight verticals, dope.
All fine now
Thanks again
Thank you, this was helpful. I have a site-specific plug-in that I use. I just added Shane’s line to that, and it worked beautifully.