What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Manage u

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
oztkktzo4
Registered User
Posts: 13
Joined: Tue Feb 06, 2024 6:04 am

What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Manage u

Post by oztkktzo4 »

Support Request Template
What version of phpBB are you using? phpBB 3.3.11
What is your board's URL? No answer given
Who do you host your board with? InterServer
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What extensions do you have installed? ACP Add User
phpBB Media Embed PlugIn
Read other's topics Permission
VigLink
What styles do you currently have installed? prosilver, outset
What language(s) is your board currently using? en, en_us
Which database type/version are you using? MariaDB
What is your level of experience? New to PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? None
Please describe your problem. What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Manage users > Find a member page?

We've created a custom limited Admin Role specifically to allow using ACP Add User, fill out the fields on that page, and very few other permissions. That Role has been assigned to a new group specifically for this purpose and then added the user to the group. That works but as a means of verification and potential follow-up we want the limited admin person to be able to go to the 'Find a member' page(as described in the subject) or Members page and see that the JOINED column has the date they created the new user(which it does) and also see the LAST ACTIVE column(which is not visible). The limited Admin cannot see the LAST ACTIVE column.

The new limited Role has these permissions:
Users & Groups tab: 'Yes':
* Can manage users
* Can delete/prune users
* Can manage disallowd names
* Can manage bans

Misc tab: 'Yes'
* Can view logs

Everything else is 'No'.

We're aware there are one or two other places where 'Last active:' is displayed but for other reasons we are trying to use the 'Members' and 'Find a member' pages.

I've played around with the permissions and the other Roles(Standard Admin, Full Admin, User and Groups Admin) but so far have not been able to find the permission that allows this. It seems like the 'Can view profiles, memberlist and online list' permission might be a candidate but changing that doesn't seem to affect the the 'Last active' column being displayed for the limited admin user.

When the user is added to the Administrators group the column is visible.

I think the ACP > USERS AND GROUPS > Inactive users page seems to be irrelevant here because the user is activated upon creation.

Or maybe someone can suggest a better method to troubleshoot this? I've tried so many things but haven't able to figure it out.

Thanks for your consideration.
Generated by SRT Generator
User avatar
warmweer
Jr. Extension Validator
Posts: 11623
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Mana

Post by warmweer »

There is no permission specific to the Last Active column.

One way to limit viewing of that data to specific groups is to use the [3.3][RC] Group Template Variables extension.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53514
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Mana

Post by Brf »

The permission is called Can view hidden online users. It is in the misc column of User permissions.
User avatar
warmweer
Jr. Extension Validator
Posts: 11623
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Mana

Post by warmweer »

You just want to remove the data from the view (including having the list not sorted by Last activity datetime)

You need to find the templates the Last_Active columns (with data) is displayed.
Going from memory that would be memberlist_body.html.
The column header would be L_LAST_ACTIVE and the data memberrow.LAST_ACTIVE

So you would need to prevent that column data being loaded (that means header and the data) for your specific group that has admin permissions but shouldn't see that data. That's easy using the Group Template Variables extension)

It also implies that "sort by Last Active" should not be available to that group: Memory fails me here but I there should be something like IF U_SORT_ACTIVE which should be commented.

I'ld do it myself (for prosilver) and then post the code edits but currently don't have the time.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53514
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Mana

Post by Brf »

warmweer wrote: Mon Apr 08, 2024 5:06 pm You just want to remove the data from the view
The original post is asking how to show the Last Activity column on the memberlist for those specific users. That column will be visible to them if the view-hidden permission is set for them.
User avatar
warmweer
Jr. Extension Validator
Posts: 11623
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: What permission allows users to see the LAST ACTIVE column on the Members page and the ACP > USERS AND GROUPS > Mana

Post by warmweer »

Brf wrote: Mon Apr 08, 2024 5:30 pm
warmweer wrote: Mon Apr 08, 2024 5:06 pm You just want to remove the data from the view
The original post is asking how to show the Last Activity column on the memberlist for those specific users. That column will be visible to them if the view-hidden permission is set for them.
hmmm... :oops:
You're right: I completely misinterpreted the post :shock:
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.

Return to “[3.3.x] Support Forum”