Help - Search - Members - Calendar
Full Version: User Title Panel
Desktop Sidebar Forums > Customizations > Panel Announcements
Pages: 1, 2
GoMa
This panel shows the active user's name and picture.

If you want to change the appearance of this panel's text (text color, size, font, shadow, etc.), modify the UserTitle.dsskin file in the panel's directory (usually %appdata%\Desktop Sidebar\plugins\UserTitle).

Version 2.1, Released March 6th, 2005, Changes:
- Fixed bug where whenever the user image wasn't displayed, Panel Properties was opened and OK was clicked an error message popped up.

Version 2.0, Released March 4th, 2005. Changes:
- Option to not display a user image.
- Option to specify custom user name and image.
- Panel (hopefully) handles errors better.
- The text now inherits from the main skin to better integrate with the global look of the skin.

Requirements
- Desktop Sidebar version 1.05 build 88 (might work with earlier versions too).
- Microsoft .NET Framework Redistributable 1.1.

Download
- From the Extension Exchange page.

Please post feedback in this thread! Thanks.
chrisskhc
clap.gif really nice. Only the succesful installed message during installation. flowers.gif

I have for this panel a further suggestion.

I know we have the SystemShutdown Panel, but what do you think about this.

One click on the username or the users picture will lock the worksation or change the user like WIN+L.

And if a user don't want this option he can disable it in the panel properties.
yyy
GoMa-YOU ARE GREAT! clap.gif clap.gif clap.gif
That's exactly what I wanted.Great work. laugh.gif
buypole71
biggrin.gif tongue.gif laugh.gif Neat!
Perfect install.
yyy
Hi GoMa,
Can you please tell me how did you sign the panel?
GoMa
I haven't tried it with the command line copmiler because I don't use it, but I think you have to:
1. Open the command prompt (Start->Run: cmd).
2. Type this: [.NET Framework SDK folder]\Bin\sn -k c:\mykey.snk
3. In the beginning of your panel's code add this:
CODE
[assembly:AssemblyKeyFile("c:\\mykey.snk")]

4. Compile, and it should be signed.
yyy
Where is exactly [.NET Framework SDK folder]?
I tried this:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 But I can't find the bin directory there.
Prism
What is signing?
yyy
You don't need it.It's for .NET panels.It makes it so the installation will go smoother...
Indian_Mayhem
QUOTE (yyy @ Jul 8 2004, 12:20 PM)
Where is exactly [.NET Framework SDK folder]?
I tried this:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 But I can't find the bin directory there.

Well, you do need to INSTALL the SDK in order to have the folder. SDK Framework 1.1

yyy
(I cannot run .NET panel without it installed and I develop .NET panels)-So I have the SDK smile.gif .
I also found out how to do it biggrin.gif so nevermind.I just have some problems now.Hopw I'll fix it.
yyy
Everything is fine,I think.Thanks GoMa smile.gif cool.gif I'm sorry for using your thread for this rolleyes.gif
coult69
Nice job GoMa. Looks good. Works well. clap.gif

Coult69
antu^jamban
hmm i didnt know this panel existed. well done clap.gif . Downloading this now...
DemonBob
Does not work when logged into a Domain sad.gif Hehe, oh well, it works other wise on my person laptop sitting right beside my work computer
GoMa
QUOTE
hmm i didnt know this panel existed. well done  . Downloading this now...

Maybe because it exists from today? laugh.gif

QUOTE
Does not work when logged into a Domain

What username does it show when you're logged into a domain?
DemonBob
Well it does not show anything, gives me a load error, somthing about not being able to pass the parimenter. Mostlikely contributed to the way that Active Directory is setup...
stuffedtiger79
super space saving request...

please combine the start menu panel with user title panel.

if u click on the user name or user icon, the start menu will open.

also, can you please make the user name font bigger... like it appears on the start-menu...
GoMa
QUOTE
Well it does not show anything, gives me a load error, somthing about not being able to pass the parimenter. Mostlikely contributed to the way that Active Directory is setup...

I'm sorry, but I don't have any Domain setup, so I can't test it. I'll try to search microsoft's site for that though.

QUOTE
also, can you please make the user name font bigger... like it appears on the start-menu...

That's what skinning is for! Open with notepad: [Application Data]\Desktop Sidebar\plugins\UserTitle\UserTitle.dsskin
You should be able to edit the font size and color there. Just make sure you restart DS after that.

QUOTE
super space saving request...
please combine the start menu panel with user title panel.
if u click on the user name or user icon, the start menu will open.

That would mean making a new plugin that combines them both. I will do it if others request it too.
yyy
It will be nice if you combine the start menu and user title panels.But you don't have to do it now-wait for the system tray and task tray panels to be released and then do it.I still use the original taskbar so I don't neeed the start panel.But combining them eventually is a good idea.
antu^jamban
feature request: option to choose font size, face, style and color
GoMa
Already possible, antu^jamban:
Open with notepad:
C:\Documents and Settings\[USERNAME]\Application Data\Desktop Sidebar\plugins\UserTitle\UserTitle.dsskin
You should be able to edit the font size and color there. Just make sure you restart DS after that.

xman2002
QUOTE
You should be able to edit the font size and color there.

Great smile.gif Because I like it a bit smaller smile.gif
antu^jamban
QUOTE

Already possible, antu^jamban:
Open with notepad:
C:\Documents and Settings\[USERNAME]\Application Data\Desktop Sidebar\plugins\UserTitle\UserTitle.dsskin
You should be able to edit the font size and color there. Just make sure you restart DS after that.


can u incorporated this feature in the panel properties? its much easier to change it there than editing the .dsskin. i hope im not asking to much. good job on the panel smile.gif
drakecoldwinter
blink.gif Danger, I have windows 2003 Server, all plugins function good and well, but then I installed this plugin without thinking that in w2k3 there is not user icons... sad.gif

It scrapped my Dsidebar sad.gif
Now I have repair it, but if you have win2000 or win2k3 don't use this plugin, it is a winXP only...

Then, don't ask for compatibility, DS is supossed to be winXP only
marines
QUOTE (drakecoldwinter @ Jul 26 2004, 08:16 AM)
blink.gif Danger, I have windows 2003 Server, all plugins function good and well, but then I installed this plugin without thinking that in w2k3 there is not user icons... sad.gif

It scrapped my Dsidebar sad.gif
Now I have repair it, but if you have win2000 or win2k3 don't use this plugin, it is a winXP only...

Then, don't ask for compatibility, DS is supossed to be winXP only

maybe this panel is supposed to be WinXP only, but not whole DS
DS works under w2k for sure and all standard panels work under this system as well
DS team is not responsible for 3rd Party panels

by the way GoMa said in first mail his panel works under WinXP, maybe GoMa U could check whether current system is XP or newer to avoid such problems in the future? cool.gif
GoMa
I am sorry, it should display only the user name (without the image). I was checking if the operating system is less than WinXp instead of not XP. I think I've repaired this problem now. I will upload a new version soon.
Lucifer66
Is there a way to make it read the user name?
Like the one on the start menu?
GoMa
Doesn't it read the user name right now, just like in the start menu? Works for me. :users:
What Window version are you using?
yyy
It also didn't show the right user name for me once but I reinstalled Windows so now it works. Maybe he should change and restore he's user name.
JeffSmart
I changed my user name from a longer one to a smaller one but DS UserTitle still shows the long one,
so I guess no steady update on the information there...
What did I do wrong? How can I change the name to the shorter one?
GoMa
Did you log out and then in since then? Restarted DS?
Lucifer66
I have Windows XP home.
And it seems to be reading from my computer name rather than my user account.

Like when you open a folder the path name is like...

C:\Documents and Settings\Lucifer66\Local Settings\

Well I think it is reading from there because my user account name is different.
I basically made a user account name with unicode for my start menu and I was trying to get the same name on my sidebar,

Is that possible?

btw thanks for your patience!
GoMa
Well, isn't that the user name (in your case "Lucifer66")? I am getting the user name from Windows.
yyy
Maybe you should do it like it is explained in here: http://www.thecodeproject.com/csharp/getusername.asp
Lucifer66
Well maybe if you made it with an option to put in the name you want it to display.

Just an idea.
Since I got a f-- in c++
lol
JeffSmart
Yes, I'll support that... Let us enter a name of our own, some people might have entered their full name,
but only want their christian name on the bar... I now confess though.... I did, too... blink.gif
yyy
QUOTE (Lucifer66 @ Oct 21 2004, 07:27 AM)
Well maybe if you made it with an option to put in the name you want it to display.

Just an idea.
Since I got a f-- in c++
lol

I think that's the best solution cool.gif - in case the panel doesn't show the right name or if the user wants it to show something else (maybe even no text at all), the panel will allow him/her to do it.
GoMa
Fine, will add.
yyy
signs021.gif
Lucifer66
Yeah...way cool clap.gif

Thanks fun_08.gif
antu^jamban
GoMa, if you have free time, I would like to see this panel have option to turn on/off user picture, set text alignment (left/center/right), text formatting, text color chooser (the color is taken from text color settings of skin in use <--- having it integrate seemlessly with skin)

I know I can edit the dsskin file but ..em... its kinda hard. So what do you say?
yyy
Text formating is a problem. The panel uses a skin file (dsskin) and that means that it will use its data. Otherwise, it is hard to change the text format. That's the way DS is built. However, it can be done by letting the panel to modify its own dsskin file, but then I'm not sure if it will get updated without restarting DS. That's the weakness of using skin files rolleyes.gif I think that there should be an option to do it in an easier way.
antu^jamban
Now that's what I call a problem sad.gif
yyy
Maybe it will be changed in the next builds. He can do it without the ITextOutput using GDI - I just did a panel which draws a text using GDI - it looks really nice and customizable.
antu^jamban
and that makes you a great panel builder biggrin.gif
yyy
GoMa is also a great panel builder - I believe he'll be able to do it too. It isn't that hard wink.gif

Actually, now I see that there's a "Insert" option to the skin manager which mean that you can add different forammtings while the panel is loaded, I think. Maybe GoMa can use that.
GoMa
Hmm, I guess this is a global problem.
QUOTE
the color is taken from text color settings of skin in use <--- having it integrate seemlessly with skin

I think you can use the "inherit" atrribute in the DSSKIN and set it to "panel" to make the panel inherit the skin's text color.
QUOTE
I would like to see this panel have option to turn on/off user picture

I will try to add this option.
antu^jamban
Go GoMa, one of the Master Panel Devs fun_08.gif
MarkyBoy
How do you I change the picture,avatar or whatever you want to call it? cuz when I try to do so I have to go to my system and then I get an error that I can not change it, so I have to disable the panel in order to do so.Is there any easier way I can not find any option in the panel,panel properties are gray out.BTW I am using Widows XP Pro.Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.