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.

Hide the administrator's activity?

2»

Comments

  • I notice that there is in fact an option in user perms to allow/disallow viewing of site activity. However, it doesn't seem to "work".

    The reason why this is strange, at least to me, is that if somebody clicks on a post author, they are taken to a site activity page first, and then have to click the tab to see that user's posts. The relevant tab is not the automatic one.
  • You can hide the activity for user groups but hiding just the admin activity for everyone would be something useful. It's better than deleting it.
  • We were looking for a way to take out this Activity tab alltogether. We did so with a manual tweak. Not ideal, but it works. For those interested, go to applications/dashboard/views, and edit "default.master.php". Here you see a line that reads:

    $this->Menu->AddLink('Activity', T('Activity'), '/activity');

    Comment this line (that is, put // before it):

    // $this->Menu->AddLink('Activity', T('Activity'), '/activity');

    Now the Activity tab will not show at all.
  • te200's comment helps comment out the activity tab on the site menu. I want to eliminate it when you navigate to a user page. When you go to a users page, you see notification, activity, discussions, comments tabs.... and when you land on someone other than your user page it defaults to activity tab. I want to hide that tab, and have the lading for that view on discussions.

    In effect, I want to eliminate the whole WALL concept from Vanilla and have it only show discussons and comments. How do I do this? I tried last year once for three days of hacking and found it virtually impossible.

    Please don't go down the "why do you want that?" road. Just understand I do. I don't want to argue about it, I just want instructions on how to do it.

    Cheers!

  • @RichGriese said:
    te200's comment helps comment out the activity tab on the site menu. I want to eliminate it when you navigate to a user page. When you go to a users page, you see notification, activity, discussions, comments tabs.... and when you land on someone other than your user page it defaults to activity tab. I want to hide that tab, and have the lading for that view on discussions.

    In effect, I want to eliminate the whole WALL concept from Vanilla and have it only show discussons and comments. How do I do this? I tried last year once for three days of hacking and found it virtually impossible.

    Please don't go down the "why do you want that?" road. Just understand I do. I don't want to argue about it, I just want instructions on how to do it.

    Cheers!

    http://vanillaforums.org/discussion/comment/166058/#Comment_166058

    and change the permissions for viewing activity in dashboard.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Another way to hide the Activity menu item is by CSS:

    #Menu .Activity{
    display: none;
    }

    This is not ideal either, but it works.

Sign In or Register to comment.