make user role mandatory in title bar
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
make user role mandatory in title bar
if xyplorer runs with admin rights, the title bar should show that automatically without need extra configuration
like many other programs do
like many other programs do
To see the attached files, you need to log into the forum.
-
RalphM
- Posts: 2143
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: make user role mandatory in title bar
There's nothing that keeps you from adding this to your title bar template!
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
Leito
- Posts: 562
- Joined: 26 Sep 2016 15:37
- Location: Windows 10 1809 x64
Re: make user role mandatory in title bar
For those searching how to, add the following to
Configuration → Colors and Styles → Templates → Titlebar
Code: Select all
<get userrole>-
freddiking
- Posts: 1
- Joined: 24 Jun 2019 17:07
Re: make user role mandatory in title bar
Wow. Thank you so much for this tip. Very useful.
-
RalphM
- Posts: 2143
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: make user role mandatory in title bar
The following works as well:Leito wrote: ↑24 Jun 2019 14:36 For those searching how to, add the following toConfiguration → Colors and Styles → Templates → TitlebarCode: Select all
<get userrole>
Code: Select all
<get username>Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
GUIguy
- Posts: 146
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: make user role mandatory in title bar
You thank you very much.
Hey Don, this is a trivial thing that is not so trivial. Could you add this just as part of xy's normal operation and not necessarily make it a variable that someone has to adjust?
Of course, they should always be able to override it, but as a previous poster said it's a standard thing with most applications.
BTW, where is the list of all the variables that can be used in this position?
Thanks as always for the best application in the world...
Hey Don, this is a trivial thing that is not so trivial. Could you add this just as part of xy's normal operation and not necessarily make it a variable that someone has to adjust?
Of course, they should always be able to override it, but as a previous poster said it's a standard thing with most applications.
BTW, where is the list of all the variables that can be used in this position?
Thanks as always for the best application in the world...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
GUIguy
- Posts: 146
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: make user role mandatory in title bar
OK. <get userrole> in the titlebar template Is fine and it works.
But now I'm going to get picky. Is there a way To only show the user role when it is admin and when its user just leave the userrole out?
But now I'm going to get picky. Is there a way To only show the user role when it is admin and when its user just leave the userrole out?
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
admin
- Site Admin
- Posts: 67078
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: make user role mandatory in title bar
Next beta:
Code: Select all
+ Title Bar: If you are an administrator, "[Administrator]" will now appear at the end
of the title bar caption.
FAQ | XY News RSS | XY X
-
GUIguy
- Posts: 146
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: make user role mandatory in title bar
IMHO, putting it at the far left side, that is, the beginning of the title bar is preferred. In left to right reading languages people would see that administrator indication first and frankly that's more important then the other information displayed on the title bar.
I don't know if it would make it more difficult in right to left reading languages but I can only opine on the one that I know
I don't know if it would make it more difficult in right to left reading languages but I can only opine on the one that I know
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
phred
- Posts: 701
- Joined: 26 Dec 2021 02:10
- Location: XY 64bit on Win10 at 100% from Boston USA
Re: make user role mandatory in title bar
We all have our own way of working, but it's more important to me to see the path than to see the user/role.
If this were to implemented, perhaps it should be a tweak with 0 for leading and 1 for trailing. Or something like that.
-
GUIguy
- Posts: 146
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: make user role mandatory in title bar
Great idea, phred...
User options are ALWAYS best! And knowing Don, that should be easy to do...
User options are ALWAYS best! And knowing Don, that should be easy to do...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
phred
- Posts: 701
- Joined: 26 Dec 2021 02:10
- Location: XY 64bit on Win10 at 100% from Boston USA
Re: make user role mandatory in title bar
Yes, Don is pretty good at implementing and fixing things.
But, two things I've learned in my long life of using software applications. Never tell a developer that something is easy to do. And never ask a developer when a feature (or release) will be available.
-
GUIguy
- Posts: 146
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: make user role mandatory in title bar
AMEN to that! in some 30 years of doing and teaching software design, there was never something that was "easy."
And two words that one should never use: temporary and permanent.

BTW, I was just having some fun. I haven't needled him in a while, so it was long overdue...
Don is a rarity in this world, and despite what I say, he is to be valued and respected.
It's one thing to have great ideas, which he has. It's another thing to be able to effectuate them in code, which he does.
And two words that one should never use: temporary and permanent.
BTW, I was just having some fun. I haven't needled him in a while, so it was long overdue...
Don is a rarity in this world, and despite what I say, he is to be valued and respected.
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.40.02000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
admin
- Site Admin
- Posts: 67078
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: make user role mandatory in title bar
This here is definitely easy. I'll come up with something.
FAQ | XY News RSS | XY X
XYplorer Beta Club