Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problems changing landing tabs


  • johnsag
    Participant

    @johnsag

    I see that this is a well trodden topic, however, I could not find a solution to my particular problem in the old posts. I am am trying to change the default landing tabs for groups and profiles. This is my entire bp-custom.php

    <?php
    // hacks and mods will go here
    
    define( 'BP_DEFAULT_COMPONENT', 'profile' ); 
    define( 'BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
    
    ?>
    

    It succeeds in changing the default tabs to profile for profiles and forum for groups, however, it creates problems when any user tries to e.g. change profile data or to log out. At this point the only a white screen will appear in the browser. Deleting the file restores normal functinality with regard to these functions. What may I be doing wrong? Is there an alternative method to achieve what I want?

    I have the most recent versions of BP and WP. My plugins:

    BAW Easy Invitation Codes
    bbPress
    BuddyPress Auto Group Join
    BuddyPress Group Email Subscription
    Child Theme Configurator
    Coming Soon
    Dashboard Commander
    GD bbPress Attachments
    Invite Anyone
    Role Scoper
    SI CAPTCHA Anti-Spam
    Widgets on Pages
    WordPress Importer

Viewing 3 replies - 1 through 3 (of 3 total)

  • johnsag
    Participant

    @johnsag

    I have tried to deavtivate all the plugins except Buddypress, but the problem still persists. I could really need some help with this, as I have put a lot of work into this site, and this issue is preventing from doing anything furher, and a deadline is looming.

    1. Which version of WordPress are you running?

    WordPress 3.8.1 running twentyelevenchild

    2. Did you install WordPress as a directory or subdomain install?

    directory

    3. If a directory install, is it in root or in a subdirectory?

    root

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    No, I think I grabbed the latest files.

    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?

    Version 1.9.2

    7. Did you upgraded from a previous version of BP? If so, from which version?

    I think it was a fresh install.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Right now, only Buddypress.

    9. Are you using the standard BuddyPress themes or customized themes?

    A customized twentyeleven.

    10. Have you modified the core files in any way?

    I have modified members-loop.php (to display slected fields) and functions.php (to exclude admin from being listed)

    11. Do you have any custom functions in bp-custom.php?
    Not any others

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    I disabled bbPress, the problem persists.

    13. Please provide a list of any errors in your server’s log files.

    Not available, as far as I know.

    14. Which company provides your hosting?

    one.com

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?

    Linux, Apache


    johnsag
    Participant

    @johnsag

    ah. I turned on the php error messages, and got this one when I tried to edit a profile (one of the things which gives the white screen of death after enabling the landing instructions).

    Warning: Cannot modify header information – headers already sent by (output started at /customers/8/9/1/gamephilosophy.org/httpd.www/wp-content/plugins/bp-custom.php:14) in /customers/8/9/1/gamephilosophy.org/httpd.www/wp-includes/pluggable.php on line 896

    Anyone that might know what this means?


    johnsag
    Participant

    @johnsag

    moved the code to functions.php and it worked

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems changing landing tabs’ is closed to new replies.
Skip to toolbar