Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

how to change the profile start page?

steamsteam
edited November 2015 in Vanilla 2.0 - 2.8

Hi, anyone can tell me how to change the default profile start page?

For now I have disabled on my config file profile activity and profile page start with user discussions list.
I want to start profile with other page.

Thanks.

Best Answer

Answers

  • edited November 2015

    Add this line to your /conf/config.php file and the profile start page should become the profile discussions list:

    $Configuration['Garden']['Profile']['ShowActivities'] = false;
    

    Add Pages to Vanilla with the Basic Pages app

  • steamsteam
    edited November 2015

    @Shadowdare dijo:
    Add this line to your /conf/config.php file and the profile start page should become the profile discussions list:

    $Configuration['Garden']['Profile']['ShowActivities'] = false;
    

    I said in my question I have deactivated activity, and now activity starts with discussions list but I want it starts with another page, not discussion list. I have added this line on my config file already.

  • BleistivtBleistivt Moderator
    Answer ✓

    You will have to create a plugin for this:

    public function profileController_index_create($sender, $user = '', $name = '', $id = '') {
        $sender->getUserInfo($user, $name, $id);
        Gdn::dispatcher()->dispatch(userUrl($sender->User, '', 'comments'));
    }
    
  • @steam said:
    I said in my question I have deactivated activity, and now activity starts with discussions list but I want it starts with another page, not discussion list. I have added this line on my config file already.

    Sorry that I misread the post. @Bleistivt's solution should do the job. :)

    Add Pages to Vanilla with the Basic Pages app

  • Perfect, it works. Thanks!

  • @Shadowdare dijo:

    @steam said:
    I said in my question I have deactivated activity, and now activity starts with discussions list but I want it starts with another page, not discussion list. I have added this line on my config file already.

    Sorry that I misread the post. @Bleistivt's solution should do the job. :)

    No problem! Thanks for answering and intention to help. Regards ;)

Sign In or Register to comment.