Redirect After New User Registration?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/4/2010 9:40:13 PM
Gravatar
Total Posts 6

Redirect After New User Registration?

Is there any way to redirect a user to a specific page after they have registered an account?

 

BTW - fantastic product, and fantastic support!  I shall buy you a beer tonight, and raise my own glass to you, Joe.

4/5/2010 8:00:39 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

Hi Kent,

Currently the only way to do this is by implementing a custom UserRegisteredEventHandler, however, given how many times people have asked how to do this, I just implemented an easy low fi solution that will be available in the next release.

There will be a new config setting in the next release that you could override in user.config

<!--
Generally you should leave this blank and let mojoportal handle the redirecting after a user registers.
However if you want to force redirecting to some specific page you can force it with this setting:
<add key="PageToRedirectToAfterRegistration" value="/yourcustompage.aspx" />
Warning! Do not use this in a multi site installation. This is a global setting and will affect all sites.
-->
<add key="PageToRedirectToAfterRegistration" value="" /> 

I say it is low fi because it is a global setting and therefore would apply to all sites hosted in the mojoportal installation. So it is fine in a single site installation but in a multi site you would have to make the same page to redirect to in each site since they all share the same config settings.

Hope it helps,

Joe

4/11/2010 11:00:04 AM
Gravatar
Total Posts 6

Re: Redirect After New User Registration?

Thanks, Joe!  This is actually perfect.

 

Do you have any idea when you would be releasing the next version, with this feature in it?

11/11/2011 9:04:49 AM
Gravatar
Total Posts 41

Re: Redirect After New User Registration?

Hi,

I'm using this setting to redirect to a specific page after a user registers, but I'm finding I can only redirect to a physical page, not to a dynamic page within the portal.  Should I be able to do this?

Michael

11/13/2011 8:25:08 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

yes you should, what are you entering for the setting?

It needs to be formatted like /yourpagename.aspx because it will have the site root appended in front of it.

Hope that helps,

Joe

12/21/2012 3:00:53 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration? continue button link

hi,
I would like to know how to change the destination page you click on 'continue' at the end of the wizard to register a new user.
having the site in a subfolder of the root folder of the server brings me to a page that does not exist:

example

www.mydomain / mojosubfolder / mojosubfolder

instead that:

www.mydomain / mojosubfolder

12/21/2012 3:11:22 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

Hi,

Is it a multiple site mojoPortal installation with folder based sites?

If yes, then you might need to add this in user.config:

<add key="UseTransferRequestForUrlReWriting" value="false"/>

If it is just a single site mojoportsal instance and you have installed in a sub folder beneath some other app running in the root folder, and if you are also using https, then you may need to add this to the user.config file:

<add key="IsRunningInRootSite" value="false" />

Hope that helps,

Joe

12/22/2012 4:28:02 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

hello joe,

I tried to follow your instructions but still not working.

only properly registrations of new users, but the button is pressed 'continue' is redirected to a new page that can exist is called because the subfolder

example:

www.mydomain.com/website3/secure/register.aspx?returnurl 2fwebsite3% 2f%

which obviously does not exist and returns a server error for resource does not exist

12/22/2012 6:30:43 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

massimiliano you have not provided enough information

What version of mojoPortal?  

What version of .NET?

Is it installed in the root and using multiple site?

Is it installed in a sub folder?

Do you have SSL enabled?

12/23/2012 4:31:59 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

hello joe,

my site is hosted on aruba (italy) I have installed a folder as follows:

www.mydomain.com/website3

the framework on the server is DOT NET 4.0 and the version of mojo is the last release not use multiple sites and is installed in a folder called WebSite3

everything works regalarmente including registration of new users but the problem is when at the end of recording button is pressed 'continue', which is a page that bet not more exist, as follows:

www.mydomain.com/website3/website3 ...

and the server returns a 404 error

12/24/2012 2:27:21 AM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

please heeeeeeeeelllllllllppppppp me . i need to resolve this problem

12/26/2012 5:58:35 AM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

I'm not able to reproduce the problem. I've told you all the things I know that can cause that problem.

Do you have anything in this setting?:

<add key="PageToRedirectToAfterRegistration" value="" /> 

What version does it say when you go to Administration > System Information?

12/26/2012 12:22:40 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

hello joe,

the version I have installed is: 2.3.9.4 MSSQL

I tried to do anything but press the button still take me back to a duplicate folder: as follows:

www.mydomain.com/website3/website3/ .....

beyond that now presents itself to me a further problem with the feed manager:

to click on a title of a post take me back to a page that does not exist.

please help me because it is a real disaster

if you want to contact me in pvt to provide you with the login of my website so that it can accommodate

massimiliano

12/26/2012 12:27:42 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

make sure this setting is false, make usre it is not true anywhere in user.config or web.config

<add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="false" />

You did not answer one of my questions:

Do you have anything in this setting?:

<add key="PageToRedirectToAfterRegistration" value="" /> 

12/26/2012 1:05:00 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

I did several tests joe, when I have nothing on the settings you ask me.

I circumvented the problem by creating a folder with a redirect to the home page. now I have another problem with the feed manager. mojoportal manage with a community and I have a feed on the home page manager for the blog and the forum. the link to the blog work but not to the forum, reporting an error as follows:


Server Error in '/' Application.
-------------------------------------------------- ------------------------------


The resource can not be found.
   Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review The following URL and make sure it is spelled That Correctly.

  Requested URL: / Forums / Thread.aspx


I need your help joe, if you can write me privately I will send you my website. config and user. config

12/26/2012 1:19:18 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

manager in the feed links to the forum does not work because the link to the post does not take into account the subfolder where is the site:

here is the link to a post:

http://www.esplorazioniurbane.it/Forums/Thread.aspx?pageid=20t=469 ~ -1

However, the site resides in a subdirectory www.esplorazioniurbane.it/website3

12/26/2012 1:35:43 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

I cannot produce the problem with redirecting after registration, possibly that is caused by some IIS url rewriting rules or redirection configured outside of mojoPortal.

However, I am able to replicate the problem with the forum feed when installed in a sub folder. The only thing I can do for that is fix it for the next release.

Why don't you just install it into the root of the web site since you are redirecting the root to this folder?

 

12/26/2012 1:42:21 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

I can not install it in the root joe ..

with the previous edition of mojo everything worked regularly .. please help me .. joe

as regards the blog works, while for the forum no

if you want I can give you the credentials to access

12/26/2012 1:44:22 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

email me privately so as to give joe administrative credentials, and see if we can solve

12/26/2012 1:47:40 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

is there a way to install a version of FEED MANAGER WORKING? I need it joe

12/26/2012 2:04:30 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

Feed Manager is not broken, the feed generated by the forums is not resolving the url correctly. I can only fix the forum feed in the next release.

I do not have an immediate fix for that problem and credentials to your site will not enable me to solve it.

My advice is make a backup before you upgrade so can restore the previous version if something goes wrong. I am not personally responsible for your site.

The best I can do is fix the problem with the forum feed and make a new package available to you asap, possibly as soon as tomorrow.

I really don't understand why you cannot install it in the root of the IIS site, it makes no sense to me why you have it installed in a sub folder named website3. If you had another site running in the root it would make sense but since you don't and are just redirecting to the sub folder it makes no sense.

 

12/26/2012 3:08:55 PM
Gravatar
Total Posts 163

Re: Redirect After New User Registration?

thank you very much joe if you can give me a package to at least solve the problem pmio to bring it into line, tomorrow or the next day.

I would be really grateful. 're already doing a lot for me. I would be really grateful if I could solve my problem


thank you very much if you can give me a package

12/26/2012 4:36:10 PM
Gravatar
Total Posts 18439

Re: Redirect After New User Registration?

ok, I've emailed you a link to a release package compiled from the latest code which fixes the forum feed problem.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.