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 ForumsFeedbackFeedbackbizarre subject & category displaysbizarre subject & category displays
Previous
 
Next
New Post
8/30/2007 10:06 PM
 

I just installed feedback 4.01.01 and am a bit confused by the category and subject variables. First off, in the e-mail, it is sending only a number in the subject field ... neither the 'name' nor the 'value'. It also appears that the category is not sent t all. So, going to the Feedback Comments module, low and behold, same thing with the 'subject' ... it's a number ... and there's now another number, which I'm guessing is the 'category'. All a bit befuddling. Is all this o be corrected at some point? When's the next release (corrected release) of this module to be released? Thanks.

 
New Post
9/13/2007 1:15 PM
 

Same issue here.  Is there any resolution to the number in the email subject issue?

 
New Post
9/20/2007 7:08 PM
 

I had the same problem.  I think they are going to fix it in the soon to be released version of the module, but I needed it fixed for a project I'm working on now (probably the same situation for you guys too).  Anyway, this is the solution I came up with, but please use with caution!  I'm not sure if this works in all configurations of the module but if you run this script to update the GetCategoryFeedback sp it should start displaying the Category and the Subject rather then their ID:

ALTER  procedure dbo.[GetCategoryFeedback]
 @PortalID int,
 @CategoryID nvarchar(100),
 @Status int,
 @CurrentPage int,
 @PageSize int
AS
 --Create a temp table to hold the current page of data
 --Add and ID column to count the records
 CREATE TABLE #TempTable
 (
  ID int IDENTITY PRIMARY KEY,
  PortalID int,
FeedbackID int,
CategoryID nvarchar(100),
CreatedByEmail nvarchar(200),
ApprovedBy int,
DateCreated datetime,
ModuleID int,
Status int,
Message nvarchar(1000),
Subject nvarchar(200)
 )
--Fill the temp table with the Feedback data
 IF @CategoryID = ''
  BEGIN
  
   INSERT INTO #TempTable
   (
  PortalID,
  FeedbackID,
  CategoryID,
  CreatedByEmail,
  ApprovedBy,
  DateCreated,
  ModuleID,
  Status,
  Message,
  Subject
    )
   SELECT
  Feedback.PortalID,
  FeedbackID,
  CategoryID = case when FeedbackCategory.[ListID] is null then [CategoryID] else FeedbackCategory.[ListValue] end,
  CreatedByEmail,
  ApprovedBy,
  DateCreated,
  ModuleID,
  Status,
  Message,
  Subject = case when FeedbackSubject.[ListID] is null then [Subject] else FeedbackSubject.[ListValue] end
  FROM dbo.[Feedback]
  left outer join FeedbackList FeedbackSubject on Feedback.[Subject] = convert(varchar,FeedbackSubject.ListID)
  left outer join FeedbackList FeedbackCategory on Feedback.[CategoryID] = convert(varchar,FeedbackCategory.ListID)
  WHERE
  Status = @Status and Feedback.PortalID = @PortalID
  ORDER BY
  DateCreated Desc
 END
 Else
  BEGIN
   INSERT INTO #TempTable
   (
  PortalID,
  FeedbackID,
  CategoryID,
  CreatedByEmail,
  ApprovedBy,
  DateCreated,
  ModuleID,
  Status,
  Message,
  Subject
    )
   SELECT
  Feedback.PortalID,
  FeedbackID,
  CategoryID = case when FeedbackCategory.[ListID] is null then [CategoryID] else FeedbackCategory.[ListValue] end,
  CreatedByEmail,
  ApprovedBy,
  DateCreated,
  ModuleID,
  Status,
  Message,
  Subject = case when FeedbackSubject.[ListID] is null then [Subject] else FeedbackSubject.[ListValue] end
  FROM dbo.[Feedback]
  left outer join FeedbackList FeedbackSubject on Feedback.[Subject] = convert(varchar,FeedbackSubject.ListID)
  left outer join FeedbackList FeedbackCategory on Feedback.[CategoryID] = convert(varchar,FeedbackCategory.ListID)
  WHERE
  CategoryID = @CategoryID and Feedback.PortalID = @PortalID
  and Status = @Status
  ORDER BY
  DateCreated Desc
 END
--Return the total number of records available 
 DECLARE @TotalRecords int
 SELECT @TotalRecords = COUNT(FeedbackID) FROM #TempTable
 
 --Create variable to identify the first and last record that should be selected
 DECLARE @FirstRec int, @LastRec int
 SELECT @FirstRec = (@CurrentPage - 1) * @PageSize
 SELECT @LastRec = (@CurrentPage * @PageSize + 1)
 --Select one page of data based on the record numbers above
 SELECT
PortalID,
FeedbackID,
CategoryID,
CreatedByEmail,
ApprovedBy,
DateCreated,
ModuleID,
Status,
Message,
Subject,
TotalRecords = @TotalRecords
 FROM 
    #TempTable
 WHERE
    ID > @FirstRec
 AND
    ID < @LastRec
 

I hope it helps!

yogs

 
New Post
9/23/2007 8:18 PM
 

Same issue ...anyone figure out how to get all the info emailed?

 
New Post
10/7/2007 10:53 AM
 

The name of the user submitting the feedback was not being saved together with the feedback submitted and this has been fixed in the 4.4.2 version of the module. The other issue mentioned about the subject/category ID's being displayed instead of the values has also been rectified in the upcoming release.

Thanks

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackbizarre subject & category displaysbizarre subject & category displays


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