> Forums > Active Social > Themes and Templates > Redirect page to their user profile page after login?
Last Post 27 May 2011 05:29 AM by Steven Webster. 23 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Scott Nash
Customers
Scott Nash
Post Count:20

--
10 Jan 2011 06:18 PM
    • Active Social Version: 1.8.3
    • DotNetNuke Version: 5.6.0
    Is is possible to redirect page to their specific user profile page after login instead of the summary page?


    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    10 Jan 2011 10:04 PM
    You should be able to do this in DNN core.

    From the Admin | User Accounts Menu:

    1. Select the action menu drop down or click the link called User Settings
    2. Open the User Account Settings section
    3. Set the pages for Redirect After Login, After Logout and After Registration there.

    This is one of the more powerful features in DNN that no one knows about.


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Scott Nash
    Customers
    Scott Nash
    Post Count:20

    --
    11 Jan 2011 01:34 PM
    Hi Stephen,

    I looked at that, but those appear to be global settings, where everyone who logs in gets redirected to the same page. I was referring to having it be able to redirect to their personal Active Social user profile, which would be different for each person.


    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    11 Jan 2011 01:45 PM
    Hi Stephen,

    I looked at that, but those appear to be global settings, where everyone who logs in gets redirected to the same page. I was referring to having it be able to redirect to their personal Active Social user profile, which would be different for each person.

    Assuming you are using the Active Social Login control, then Active Social will take care of it for you. Once you set everything up like Steven mentioned, Active Social redirect them properly. After all, all profiles are actually using the same page anyway just using different parameters.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Scott Nash
    Customers
    Scott Nash
    Post Count:20

    --
    11 Jan 2011 02:19 PM
    Thanks for the update Will. I think I better understand now.


    Scott Nash
    Customers
    Scott Nash
    Post Count:20

    --
    11 Jan 2011 02:27 PM
    Will, I'm talking to Chad about this subject too, as we're looking at using Dynamic Registration in conjunction with this module. He seemed optimistic that he could integrate that component it of it since you're both using core DNN user controls. Just an FYI.


    Paul
    Customers
    Paul
    Post Count:9

    --
    03 Feb 2011 08:22 PM
    Hi
    I believe I have made all the correct settings but when I log into the site, I am redirected to whatever page I was on initially. I expected to be redirected to the profile page that I set everywhere? any ideas? I have set Admin > profile page and the details above on user settings?


    drew curry
    Customers
    drew curry
    Post Count:338

    --
    04 Feb 2011 08:56 AM
    This has never worked for me, and i have (as far as i know) all the settings as outlined about. The url that is in the address bar after click the login link contains a returnurl that seems to negate any other redirect. Perhaps in my case the issue is the AS Main page name is a sub-menu that contains spaces? Just thinking aloud..


    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    04 Feb 2011 09:19 AM
    The main place to set this is under Site Settings, Page Management. The Registration and User Profile page should both be set to the page you have setup for signup.

    However you should also check under User Accounts, Manage Profile Properties as there are also settings there which could potentially override, depending on your setup.

    I do use this 2nd set of settings, but only to control where users go at logout - I send them to the Home page so they don't get any silly access denied messages.


    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    04 Feb 2011 11:12 AM
    I think Matt meant to say the other redirect options are under User Accounts > User Settings, not Manage Profile Properties.


    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    04 Feb 2011 11:24 AM
    ^^^^ What he said X-D

    Sorry, was late here. Even later now :-)


    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    drew curry
    Customers
    drew curry
    Post Count:338

    --
    04 Feb 2011 01:43 PM
    In my site settings, my Home Page is set to my non-AS home page as this is where i want all users to go that are not logged in. Could this be causing my logged in users NOT to be dropped where i set them to go within AS?


    CSmith
    Customers
    CSmith
    Post Count:91

    --
    04 Feb 2011 04:29 PM
    Regardless of your chosen Home Page, the setting for redirect after login should work and redirect properly.

    That said, I had an issue with one skins Login token (not sure why it was just the one skin yet) , it would not redirect. If I used the AS Welcome Center or AS Mini-Login, the redirect worked correctly. Just for fun, drop a AS Welcome Center on a page and try the redirect from that. Curious to see if it works for you as well.


    drew curry
    Customers
    drew curry
    Post Count:338

    --
    04 Feb 2011 05:19 PM
    indeed, using the AS login works! So, the skin is to blame for tossing in the returnurl portion of the querystring, and apparently AS cannot beat it ;) .. I will talk to the skin designer as he is very open to make things better..


    CSmith
    Customers
    CSmith
    Post Count:91

    --
    04 Feb 2011 05:27 PM
    Now I don't know that I'd point fingers at the skin designer. I'm not sure that something hasn't changed in the DNN core as far as this Token. I have yet to explore it. I opted to change out the Token for a custom mini-login on my Home page (which is SSL.) On virtually every other page I have the Welcome Center present.

    EDIT: I also have ruled out URLMaster overriding the core token redirect. Guess I'll have to get around to checking things in Fiddler.


    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    04 Feb 2011 07:21 PM
    If you want to point fingers, point them at Microsoft :). The ReturnURL parameter has been around since ASP.NET 1.0. The "best practice" is honor the returnurl parameter. The default DotNetNuke skin object and the login control are behaving properly. That being said, I believe the Active Social login control has some logic in place to override the returnurl parameter. I believe you need to have something set under the Users > User Settings > Redirect After login. I'll double check the code tomorrow.


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Matt Marlor
    Customers
    Matt Marlor
    Post Count:375

    --
    05 Feb 2011 11:03 AM
    I agree, it does seem to be able to override returnurl. No issues on our site, the user always gets redirected to profile regardless of where they login.


    AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
    drew curry
    Customers
    drew curry
    Post Count:338

    --
    05 Feb 2011 01:48 PM
    what would be a cool maintenance tool is a report that lists off all the AS settings in a quick legible format for each comparison to another site, then i could scan my AS site settings against one that works and see where mine is "off" and why it does not redirect.


    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    05 Feb 2011 01:50 PM
    Good idea, but this isn't an AS setting. Have you gone to Admin > Users > User Settings and set the value for redirect after login?


    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    CSmith
    Customers
    CSmith
    Post Count:91

    --
    05 Feb 2011 02:05 PM
    I have used this feature a great deal in the past and it has worked successfully.  My point is Will; now it doesn't seem to matter what page it is pointing to, it still redirected to the Home page. My only thought was perhaps something got changed/broken with the URL rewrite "improvements" that where made in 5.6.


    drew curry
    Customers
    drew curry
    Post Count:338

    --
    05 Feb 2011 04:01 PM
    Posted By Will Morgenweck on 05 Feb 2011 02:50 PM
    Good idea, but this isn't an AS setting. Have you gone to Admin > Users > User Settings and set the value for redirect after login?
    Yes, as mentioned, i did but perhaps there is a problem as the landing page is in a sub menu and the name contains spaces. I am only clutching at straws as everything seems correct yet it has never worked for me.


    Paul
    Customers
    Paul
    Post Count:9

    --
    05 Feb 2011 07:21 PM
    OK, I removed the DNN token for registration and installed the AS welcome centre. The login is working well and redirecting as I wanted however the signup link for unauthenticated users is now defaulting to the profile page? when you click it takes you to the login page and not the registration page that I set up? this was working with the DNN token.


    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    26 May 2011 12:15 PM
    Posted By Paul on 03 Feb 2011 09:22 PM
    Hi
    I believe I have made all the correct settings but when I log into the site, I am redirected to whatever page I was on initially. I expected to be redirected to the profile page that I set everywhere? any ideas? I have set Admin > profile page and the details above on user settings?

    Hi Paul,

    Are you also using the Dynamic Login module? If so, you should check the setting "Override user and role redirection rules and always redirect to previous URL:" in the module configuration section. This could be causing this.

    Oops; just noticed there was a second page!


    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    27 May 2011 05:29 AM
    Paul,Do you have Admin | Site Settings | Advanced Settings | Registration Page setup to point to your Active Social Signup Page?

    SiteSettingRedirect.jpg

    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Redirect page to their user profile page after login?
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy