Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How to remove the link?

This discussion is related to the Members List Enhanced addon.

Hi a noobie question, how do i remove the link that it ads on my navigation menu? I don't want the link "Members" .



  • jackmaessenjackmaessen ✭✭✭
    edited April 2016

    in default.php of the plugin you have this function:

      public function Base_Render_Before($Sender) {
            $Session = Gdn::Session();
            if (($Sender->Menu) &&
                    ((CheckPermission('Plugins.MembersListEnh.GenView')) ||
                    (CheckPermission('Plugins.MembersListEnh.IPEmailView')))) {
                     //$Sender->Menu->AddLink('Members', T('Members'), 'members'); // disable this line

    Disable line 7 above

  • Sweet thanks

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    If you do not need that link, you could completely comment out public function Base_Render_Before?. There is no need to call that function if no action is taken there.

    Put a /* before and a */ below it.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    People could still access the list even if you remove the link from view.

Sign In or Register to comment.