Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Shortcut to UserProfile edit pageShortcut to UserProfile edit page
Previous
 
Next
New Post
12/12/2006 9:10 AM
 
For a club website I would like be able to delegate the upkeep of user -and especially user-profile data to a few 'secretary' users.

These users should be able to edit user and user-profile data, but not be complete portal admins. Is this possible?

Also, is it possible to make a link to directly edit a user profile? I have a custom module for showing a list of users and linked details pages with user-profile details. A link in the details page which allows my secretary users to directly edit the profile data would be great.

I have investigated the admin pages for usermanagement, but the profile editor seems reachable only via a postback of a userform, not directly via an url.

Any advice is appreciated.

Kind regards,
Ries Spruit
 
New Post
12/12/2006 6:10 PM
 

Hi,

I don't believe this is possible if you are not portal admin, but you can use custom link (for someone with admin role) to pages with user-profile details.

Primoz

 
New Post
12/13/2006 4:10 AM
 
Hi Primoz,

Thanx for your reply. I'll drop the first request then.

If you can help me with this, that would be great:

If this is a link to the main user edit page:

http://spit-seven/rotaryclubgoes/Admin/UserAccounts/tabid/47/ctl/Edit/mid/350/UserId/31/Default.aspx

Then how would a link directly to the profile page look like?

The link behind the 'Manage Profile' button is : __doPostBack('dnn$ctr350$ManageUsers$_ctl7','')

I am too much of a DNN n00b to understand how to rewrite the link :-/
 
New Post
12/13/2006 5:23 AM
 

I'm sorry, i did not understand your question well. You can access main user edit page directly as you described but you can't access profile "subpage" using only url.... sorry...

Default is main page, other pages (for roles, profile, password...) are defined with PageNo variable in core dnn code (ManageUser.ascx.vb). PageNo variable is taken from viewstate and there are also lines:

If Not Page.IsPostBack Then
       PageNo = 0
End If

so there is no way to access any other "subpage" other basic main page using only url. It is simple to change core code, but it is not recommended...

Primoz

 

P.S. Sorry, English is my second language...

 
New Post
12/15/2006 5:50 AM
 
Hi Primoz,

Alright, thanks for taking the time to reply. Now I know what options I have. Perhaps I'll take another go at setting up a new page with a ProfilePropertiesEditorControl (forgot the exact name). on it. My last try for that failed because I couldn't figure out how the databinding worked exactly.

I believe the signin.ascx uses this control as well, in a less complex setting so perhaps I can use that as a better example than ManageUser.ascx.

I still would appreciate any other straight-forward example code if there's any out there ;-)

Thanks again,
Ries

P.S.: Your English isn't that bad. I hope mine isn't either ;-)
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Shortcut to UserProfile edit pageShortcut to UserProfile edit page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out