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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumStatistics Links WrongStatistics Links Wrong
Previous
 
Next
New Post
9/6/2006 5:50 AM
 

Chris,

Just a reminder to a problem I highlighted earlier in the year. This still seems to be a problem on 3.20.08 on 4.3.4. I've included the text from the orginal post below. I've also give my words on my solution. I can provide the code if required.

Not vital for most, but I know I will have to correct before I upgrade.

Cheers
Roger


 Chris,

I've been having a go with your What's New module, and I've come up with a problem which, whilst caused by use of that module, is a fault in the main Forum.

If you place the What's New module on a page other than the forum page (a likely place is your Home Page), then if it is that page which causes the statistics to get updated by the What's New module calling Forum module code, then the links in the Statistics area are set to the page the What's New module is on.

Link should be - http://localhost/NewForum/tabid/329/ctl/UserProfile/mid/707/userid/2/Default.aspx

But end up as - http://localhost/Home/tabid/36/ctl/UserProfile/userid/2/mid/707/Default.aspx

Easy way to test on dev machine. Put the What's New module on a different page. Update web.config, then refresh that page. Swap to Forum page, and try the links.

I think it is this code in ForumStatisticsInfo.vb that is causing the problem

Private Sub GenerateString()

Dim _portalSettings As PortalSettings = PortalController.GetCurrentPortalSettings

Dim _tabID As Integer = _portalSettings.ActiveTab.TabID

sMostViewedThreadURL = forumURL(mMostViewsThreadId, mMostViewsSubject, mMostViewsThreadForumID, _tabID)

sMostActiveThreadURL = forumURL(mMostActiveThreadId, mMostActiveSubject, mMostActiveThreadForumID, _tabID)

End Sub

Cheers
Roger


The main forum is affected by using activetab.tabid to populate the url's. I've implemented a fix in my code which resolves the problem, but I don't believe it is ideal. Basically I store the tabid at configuration time, and then use this instead of the activetab in the places that populate the statistics information. Basically I do this because I can't see how to get the tabid for a given moduleid, so it seems best to store it when you know you are on the correct tab.


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/8/2006 7:45 PM
 

Hey Roger,

Just to give you a heads up there are a few things I did in the current development base (code) that will affect the next release.

I changed how the module gets TabID and ModuleID throughout, this should eliminate issues w/ breadcrumbs being off, what's new being off, etc. These type of bugs would have only been seen if users used the Group feature like we do here on dotnetnuke.com, or if the users had the seperate whats new module installed.

In addition, I have removed Statistics and the What's New footer and I am still in the processing of breaking these out into completely seperate controls that get installed at time of forum install. (This allows you to place them anywhere on any page).

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
9/9/2006 4:54 AM
 

Hi Chris,

Sounds good. I'll try and wait patiently for the next version . It's mainly the forums I'm waiting for, before I move forward from DNN 3.3.2. It maybe time for the move to DNN 4.x!!

Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/9/2006 5:20 AM
 

Roger, do not move to 3.3.2 instead go to 3.3.4 or whatever is latest. Aside from the core modules I work on, I am moving everything over to 4.x myself at this time so it may be about that time for a transition. Based on some internal testing, I think you will be able to get better performance using 2.0 anyways which is one of the reasons I am making the move. (Core is also doing performance enhancements now too!)

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
9/9/2006 11:17 AM
 
Chris, I thought I was on 3.3.2 already. But just looked, I'm on 3.2.2. I'm a little tied on this site, because I run a store as well, on Catalook, so I have to move forward with that, but I know it is available on x.3.4. I may not go to 4.x quite yet, the Gallery isn't too hot on there for me , mainly date problems which should go away when it is moved to SQL based. So, I'm going to prepare testing on 3.3.4 next I think, unless 3.3.5 is due soon.

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumStatistics Links WrongStatistics Links Wrong


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