plainblack.com
Username Password
search
Bookmark and Share
Account display operation  (#11452)
Issue

The different ways to display the account options in WebGU are the moment inconsistent and confusing.

The "display account" screen, where users can edit their username, password, if permitted, can be reached with 3 operations (in 7.8.9 beta):

  • ?op=auth;method=displayAccount (this is returned by a var in the loginbox macro template, I think)
  • ?op=auth;method=init (this is what the account macro returns)
  • ?op=account;module=user (in the layout templates for profile, account etc.)

All of these display the account template inside the account layout (with the tabs), so far so good, but the first two display it it in the user function style.

The last one (module=user) uses the style set for account in the settings (account tab), which, I guess, is the correct way.

I'm not sure what the bug is here, but it seems to me that all operations that can be used to display a user's account options should work in the same way.

Tmpl_vars and macro's should perhaps be updated to always return the latest syntax for displaying account.

And the other two should probably be made to work exacly like ?op=account;module=user for backwards compatibility's sake.

Whatever the solution, I think that at the very least all different syntaxes should display the account screen in the account style and not in the user function style.

Thanks,

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl

Comments
perlDreamer
0
3/3/2010 10:25 am
Note: The three functions don't work the same when the current User is Visitor.

The op=auth options will return you to the login screen, and the op=account;module=user will give you Permission Denied, and a link to log in.

preaction
0
3/3/2010 12:27 pm
This can't be changed until the Auth system can be changed, which will happen during the 8.x dev cycle.
rogier
0
3/4/2010 3:29 am
OK, I understand.
perlDreamer
0
4/26/2011 10:31 am
Moved to the WebGUI 8 bug tracker.
Details
Ticket Status Acknowledged  
Rating0.0 
Submitted By rogier  
Date Submitted2010-03-03 
Assigned To unassigned  
Date Assigned 2012-02-11  
Assigned By  
Priority  
Milestone  
URLuse/bugs/tracker/11452
Keywords
Ticket History
4/26/2011
10:32 AM
Acknowledged perlDreamer
3/8/2010
10:03 AM
Waiting on External perlDreamer
3/3/2010
10:04 AM
Ticket created rogier
© 2012 Plain Black Corporation | All Rights Reserved