Hiding member registration date-time from the Members page

For support and discussion related to templates and themes in phpBB 3.3.
loukas79
Registered User
Posts: 42
Joined: Sat Feb 11, 2023 1:47 pm

Hiding member registration date-time from the Members page

Post by loukas79 »

Hello again guys.
I am looking for a way to modify the members page which is located as a url at the bottom right of the nav bar.
What I want to do is hide the member registration dates and times from all my users except admins. I am attaching two images for you to see what it shows to the administrator and what to a member. The ones in red I want to hide and if it is not possible to hide them only from the members, let them be hidden from the administrators in the worst case.
Thanks for the friendship and any help in advance.
You do not have the required permissions to view the files attached to this post.
User avatar
warmweer
Jr. Extension Validator
Posts: 11856
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Hiding member registration date-time from the Members page

Post by warmweer »

The Group Template Variables extension can easily be used for that.
Its status is Abandoned so I'm not recommending it .. but I still use it on 3.3.11 and 3.3.12 boards (at my own risk)
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.
loukas79
Registered User
Posts: 42
Joined: Sat Feb 11, 2023 1:47 pm

Re: Hiding member registration date-time from the Members page

Post by loukas79 »

Thank you very much. I will try it on a fresh install to see if it functions better or possible bugs.
Thanks again.
User avatar
GanstaZ
Registered User
Posts: 1221
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: Hiding member registration date-time from the Members page

Post by GanstaZ »

Why not use already available variable for admins U_ACP?
Something like:

Code: Select all

{% if U_ACP %}
    show what is needed for admins
{% endif %}
and done.
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
loukas79
Registered User
Posts: 42
Joined: Sat Feb 11, 2023 1:47 pm

Re: Hiding member registration date-time from the Members page

Post by loukas79 »

I'll probably do that because my extension is giving me errors.
Thank you for the help.

Return to “[3.3.x] Styles Support & Discussion”