[Moin-devel] [ moin-Bugs-981923 ] Rightsidebar theme doesn't show logged in username

SourceForge.net noreply at sourceforge.net
Thu Jul 1 07:00:14 EDT 2004


Bugs item #981923, was opened at 2004-06-29 13:48
Message generated for change (Comment added) made by pmoore
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=981923&group_id=8482

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Moore (pmoore)
Assigned to: Nobody/Anonymous (nobody)
Summary: Rightsidebar theme doesn't show logged in username

Initial Comment:
The theme displays the constant 
string "UserPreferences" in the user name area, rather 
than the logged in user name.

I fixed this by copying the code from the classic theme. 
See attached patch.

----------------------------------------------------------------------

>Comment By: Paul Moore (pmoore)
Date: 2004-07-01 14:59

Message:
Logged In: YES 
user_id=113328

OK, this patch displays the user name, as a link if the user 
has a homepage, and just as plain text if (s)he does not.

----------------------------------------------------------------------

Comment By: Paul Moore (pmoore)
Date: 2004-07-01 12:02

Message:
Logged In: YES 
user_id=113328

It's not that simple... The theme shows a link to the user's 
home page, *if they have one*, but just a "UserPreferences" 
link otherwise. This is fine if the user has a homepage, but 
otherwise there is no indication of the username.

Suggestion - have the homepage link always, when the user 
is logged on, it's a way of creating the homepage if you don't 
have one. Or have the username in (non-link) plain text if he 
has no homepage.

I'll try to produce a revised patch.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=981923&group_id=8482




More information about the Moin-devel mailing list