Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have the forum (v1.5) installed on a subdomain (http://forum.citydoctors.ro/) but after each login it redirects me to the main site www.citydoctors.ro. Is there a way I can change the default redirection after login.
I've found my problem.
It seems that the forum uses a cache to store its settings (like root url). If I first call http://www.citydoctors.ro it will cache as the root path. (but I need http://forum.citydoctors.ro/). As a fix I had to alter its sources:
In nForum\usercontrols\nForum\membership\Login.ascx.cs I've changed
Razvan, I want to do this update as well. Where is the Login.ascx.cs page located? I installed the package in the Umbraco admin and checked all the downloaded files via FTP. Do I need special software?
All I want to do is make the users redirect to the forum.aspx page after login instead of the root of the website.
Thanks to anyone who can help!
I've downloaded the latest source code from codeplex and made the changes.
Thanks so much for the response. I'm probably just ignorant because I'm not a .NET developer, instead, just a guy who uses Umbraco, packages and XSLT, etc...does the source changes happen in Visual Studio or something? Do you have to then package a DLL or something? Again, I'm a novice...I just want to redirect it to /forum.aspx upon registering, or upon login. Hoping it isn't too hard!
Yes, you will have to recompile the nForm and deploy/copy the DLL again (manually copy into the bin folder). You can get the latest sources from here http://nforum.codeplex.com/SourceControl/list/changesets. The download depends on your umbraco version.
Thank you. That may not be too difficult but I have not done it before. Anyway, thank you so much for your help!
To anyone else reading this, I have another suggestion. Again, I think anyone having a website with the forum as a section WITHIN the site will have my issue. So my suggestion (and I'm trying it myself now) is to add the "logged in" piece of code from the forum onto your regular template somewhere, so they simply know if they are logged in or not on any page of the website. It's still not wonderful, but it's one way to let them know they've logged in successfully!
@Razvan , i downloaded the source code , but i cant recompile it in visual studio it comes up with xcopy error , ny ideas?
This error is caused by the post build event that the project has configured.
The simplier solution is to remove the post build events. Right click the project -> Properties -> Build -> Post build events.
@thnx razwan so after making changes to usercontrol , i should recompile and then copy and paste the dll to the bin folder on live website , which dll i have to copy any idea apart from nforum.dll and nforumbusinessLogic
All the logic from the forum project is in nForum.dll and nForum.BusinessLogic.dll
Thanx Razvan , sorted out :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted