Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.