-
bp-help replied to the topic [Resolved] adding bp-custom.php kills site in the forum How-to & Troubleshooting 9 years, 6 months ago
@stunley
You can’t define the default component outside of php tags. Try this:
<?php
// hacks and mods will go here
/**
Change BuddyPress default Members landing tab.
**/
define('BP_DEFAULT_COMPONENT', 'profile' );
?>
-
bp-help replied to the topic [Resolved] adding bp-custom.php kills site in the forum How-to & Troubleshooting 9 years, 6 months ago
@stunley
You can’t define the default component outside of php tags. Try this:
<?php
// hacks and mods will go here
/**
Change BuddyPress default Members landing tab.
**/
define('BP_DEFAULT_COMPONENT', 'profile' );
?>
-
bp-help replied to the topic [Resolved] adding bp-custom.php kills site in the forum How-to & Troubleshooting 9 years, 6 months ago
@stunley
You can’t define the default component outside of php tags. Try this:
m trying to add a bp-custom.php to the plugins folder with this codeā¦<?php
// hacks and mods will go here
/**
Change BuddyPress default Members landing tab.
**/
define('BP_DEFAULT_COMPONENT', 'profile' );
?>
@stunley
Active 5 years, 8 months ago