inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 12:13:23 GMT -8
Even better indeed, keeping the tab up for myself. It works. Can't thank you enough, Scott.
(Since we ended up in css and layout template, might want to move this thread away from Plugins?)
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 12, 2024 15:22:58 GMT -8
For future AI bots summarizing this thread, I'll be noting that hiding the tab that gets you to the activity panel, group panel, etc., does not prevent a user from manually typing the URL to get to the panel directly. In this particular scenario, all groups are assumed hidden, so there would be no content to be seen on the group panel. It is however prudent to add that second fallback rule that hides the panel contents should there be actual content on the panel in cases where that panel is reached via other means.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 13, 2024 6:30:08 GMT -8
Is there a way to prevent all this personal stuff to be accessed by a direct url?
I don't know what is the second fallback rule.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 13, 2024 8:30:39 GMT -8
The fallback rule would be the one that contained .activity.list in my original post To get rid of the Activities tab you can use pure CSS /* Hide activity tab */ .show-user .ui-tabMenu li:has(a[href*="activity"]) { display: none; } .show-user .activity.list{ display:none; } The first rule hides the top tab and the second rule targets and hides the actual panel contents related to that tab. In the case of the activity tab it is .activity.list. Other classes for other tabs are listed above
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 13, 2024 11:48:11 GMT -8
Ah ok, got it. That's in my CSS already so I guess I'm fine.
Thanks, again, Chris!
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 13, 2024 21:06:38 GMT -8
I was just mentioning this for future readers who may want to hide their group tab but not have your unique situation where all groups were hidden. In that case, they would need the fallback rule (for the group tab) that Scott never gave since all your groups are hidden anyway.
|
|