Urls in forum threads.

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.
7/23/2007 7:25:25 AM
Gravatar
Total Posts 488

Urls in forum threads.

If I go to any forum and click on a thread, I can see a link like that:

http://www.mojoportal.com/ForumThreadView.aspx?thread=893&pageid=5&ItemID=7

As far as I can see, link

http://www.mojoportal.com/ForumThreadView.aspx?thread=893&pageid=5

produces the same result. What is the last parameter used for?

P.S. In some cases forumid is also included to the link. Is all that optional?

7/23/2007 8:54:55 AM
Gravatar
Total Posts 18439

Re: Urls in forum threads.

ItemID is the forumID, it is used so that it can be passed to other pages like ForumPostEdit.aspx and also I think used for breadcrumbs in forums.

Joe

7/23/2007 9:34:11 AM
Gravatar
Total Posts 488

Re: Urls in forum threads.

When I just delete both forumid and itemid from the query string the page title is set correctly. I suppose the forum is determined from the thread.

Why having these parameters in the query string in this case?

The less parameters you have the less is the probability that incorrect values can cause something bad.

9/6/2007 11:32:53 AM
Gravatar
Total Posts 18439

Re: Urls in forum threads.

I answered this question correctly the first time. ItemID is used in some cases whether you see it in the page or not. In some cases it is needed for correct redirecting.

I don't want to do uneeded changes here that may introduce bugs. I have many more interesting things to put my attention on, the ideal of reducing query string params in a feature that is working fine is not interesting to me at this time.

Joe

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