inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 8, 2024 4:42:21 GMT -8
Is there any way for Admin to disable specific tabs in users' (or user groups') Profiles?
For privacy reasons I would like to remove Activity and Groups, also Gift (especially the badge store) because it's not exactly appropriate for my audience.
Would like to restrict visible tabs to Summary and Notifications, except maybe for admin, for management purposes...
PS: How to reset/remove my own activity history?
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Oct 8, 2024 6:14:52 GMT -8
- The gifts tab can only be disabled if you have ad free because it's a PB monetisation thing (if you are ad free already it's in your admin panel ad free settings) - I do not believe there is currently a plugin to remove those tabs. You can request one here — Plugin Request Board — but with the caveat that plugins can be bypassed on mobile view / by disabling javascript. - You cannot reset your activity, no.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 8, 2024 7:13:21 GMT -8
Thanks Kami ! Just found out a user can already delete their activity, per line, in Profile.
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Oct 8, 2024 7:22:15 GMT -8
Thanks Kami ! Just found out a user can already delete their activity, per line, in Profile. Yeah, but it's not a reset per se. Sorry I didn't mention it!
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 8, 2024 7:23:44 GMT -8
Thanks Kami ! Just found out a user can already delete their activity, per line, in Profile. Yeah, but it's not a reset per se. Sorry I didn't mention it! You're right, it's not a reset. An option to delete them all at once would be nice!
|
|
Kami
Forum Cat
Posts: 40,199
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,199
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Oct 8, 2024 7:41:44 GMT -8
Yeah, but it's not a reset per se. Sorry I didn't mention it! You're right, it's not a reset. An option to delete them all at once would be nice! I don't think this would be possible -- PB plugin developer guidelines disallow sending server requests, which this would probably be classified as. I am not 100% sure though so tagging a couple of folks that may be able to answer: Scott Chris Lynx
|
|
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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 9, 2024 21:54:17 GMT -8
Although the API call to delete an activity is named delete_activities (plural), it will only accept one id at a time. Other API calls in the PB library will often have a singular activity_id as well as a plural activity_ids parameter. All trial and error attempts of supplying it with an array or comma-delimited string have failed so am leaning toward no.. As for codes sending server requests: If it's still a user initiated click, you can move items out of the dropdown into the post if you want. Since the user already has access to the report post option, moving it out is not a problem. As long as it's a user-triggered action (e.g., not automatic on page load), you could duplicate the AJAX call and show the dialog. All you need are the thread ID and CSRF token, and you should be able to call it. A quick question Tim Camara , am I incorrect in believing that also having that functionality as standard on the page was also a requirement for using the AJAX or did I misread the guidance that was offered here. The reply in this thread clearly states that the only requirement is it must be user-initiated and not that it must also be preexisting in some form on the page? I can check with Pat to be sure, but I'm pretty sure that this would be okay.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 2:22:42 GMT -8
so am leaning toward no.. Ok, too bad... How about for privacy reasons hiding the tabs Activity and/or Groups for all users or selected groups? It's feeding the stalkers and people with bad intentions. For me, these kind of traces really don't feel safe. Why should I be able to track your entire history this easily anyway? I can't even think of a legitimate reason. There already is 'View this members recent threads/posts' in Summary (I have no problem with that). Also I intend to create a private member group with acces to hidden content. Don't want them to be recognized as part of this privileged group by regular members. How to do this?
|
|
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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Oct 10, 2024 8:44:40 GMT -8
Those would be questions best posed to Proboards. I am a user like you, not a Proboards employee, but here are my thoughts. Guests cannot view member profiles, so activities will not be viewable outside the community unless explicitly posted in guest-viewable areas where search engines can crawl. I believe that including activities in v5 was meant to promote community participation, taking cues from social media platforms that have become wildly popular. Proboards is generally better poised to capitalize on the growing pushback to privacy invasions since it is perceived not to delve into big data collection like the other platforms, but that is up to the company to promote. 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; } Groups can be hidden meaning not even the people included in the group would know they are in that group. - Creating and Managing Member Groups
- Adding a Forum Member to a Group
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 9:53:34 GMT -8
Awesome! Thank you so much!
That would be perfect. Knowing what 'group' one is in is useless/redundant information anyway on my forum. Special-members only care about having been granted access to a hidden board, and that's all they need to know. They will find out when seeing and being able to acces the hidden board. Ofcourse they will meet other special-members in that board. I just don't want groups (any group for that matter) advertised or easily tracked by other members. It's none of their business, basically.
Can I hide the Groups tab in Profile as well?
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,887
January 2003
bigballofyarn
|
Post by bigballofyarn on Oct 10, 2024 10:13:25 GMT -8
Awesome! Thank you so much! Chris That would be perfect. Knowing what 'group' one is in is useless/redundant information anyway on my forum. Special-members only care about having been granted access to a hidden board, and that's all they need to know. They will find out when seeing and being able to acces the hidden board. Ofcourse they will meet other special-members in that board. I just don't want groups (any group for that matter) advertised or easily tracked by other members. It's none of their business, basically. Can I hide the Groups tab in Profile as well? When you're on Admin > Members > Member groups, there's a column named "Type." Set the group type to "Hidden" if you want the group to be hidden. This doesn't hide the tab though. This just tells you how to create a hidden group. If Chris already answered that for you, I apologize.
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 10:56:22 GMT -8
When you're on Admin > Members > Member groups, there's a column named "Type." Set the group type to "Hidden" if you want the group to be hidden. This doesn't hide the tab though. This just tells you how to create a hidden group. If Chris already answered that for you, I apologize. Chris made me aware of that possibility, indeed, so I changed them all to hidden. It wasn't clear to me what happens with a newly registered user who - following Registration Settings - is supposed to be automatically assigned to a 'regular member' group when I change the type from open to hidden. Looks like when hidden I still don't have to assign them manually to the regular group, despite the description for hidden stating they need to be added to the group manually. I guess this will do. Still have to check what group is shown for regular vs 'special' members.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Oct 10, 2024 11:34:23 GMT -8
1b5085 - here's a bit more about group types: PrivateThe group is visible to everyone. Members must be added manually. Members have the option to leave the group anytime at will. PetitionThe group is visible to everyone. Members can request to join the group and must be approved manually. Members have the option to leave the group anytime at will. OpenGroup is visible to everyone. Members can join the group at will. Members have the option to leave the group anytime at will. HiddenGroup is not visible to anyone except group leaders and staff. Members must be added manually. Members will not know they are part of this group. Members do not have the option to leave the group at will. Any of the group types can be used as a group to assign new members to automatically upon registering, the only requirement is that the group is not a 'staff' group — meaning the group cannot be enabled as 'Staff' in the group options (Admin > Members > Member Groups).
|
|
inherit
269938
0
Oct 3, 2024 9:44:30 GMT -8
1b5085
91
September 2024
1b5085
|
Post by 1b5085 on Oct 10, 2024 11:42:13 GMT -8
I'm learning. Thanks!
Next: now all member groups are hidden, the Groups tab in Profile has totally lost its function. Would love to get rid of that thing.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Oct 10, 2024 12:00:31 GMT -8
1b5085 - There are 2 options: Use the code Chris gave you above, just modify it for the groups tab and add it to your CSS: /* Hide groups tab */ .show-user .ui-tabMenu li:has(a[href*="groups"]) { display: none; } OR Maybe you'd like to keep the option for yourself so that you can manage groups / members easier. If so, then go to: Admin > Structure > Layout Templates > User Profile and at the very top add in this: {if $[current_user.id] != "1"} <style> /* Hide groups tab */ .show-user .ui-tabMenu li:has(a[href*="groups"]) { display: none; } </style> {/if} This will hide the groups tab from all members except you (the admin/user-1).
|
|