Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Feedback Module...  How to delete unwanted comments?
Previous Previous
 
Next Next
New Post 5/9/2008 7:32 PM
User is offline Wesley
8 posts
10th Ranked


Re: How to delete unwanted comments? 

I have since discovered that the other moderation buttons for the feedback module (v4.4.3) are also defunct.  Each of them refreshes the page but does not actually perform the specified action on the comment.

 
New Post 5/9/2008 10:43 PM
User is offline Sanjay Mehrotra
402 posts
www.acuitisolutions.com
8th Ranked




Re: How to delete unwanted comments? 

did your site by any chance have a prior version of feedback installed on another page? If yes, then in 4.4.3 (of feedback) the ability to moderate posts that were made on a different instance of the module (ie on a different page or if you added and then deleted the prior instance) was removed since it was considered a security hole.

You can get around this by modifying the stored proc (and I'd be happy to show you how) but that would explain why the page is refreshing without any changes...
Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 5/10/2008 2:19 AM
User is offline Wesley
8 posts
10th Ranked


Re: How to delete unwanted comments? 

I have several feedback forms scattered about on various pages.  While I'm reasonably sure all of them were installed after upgrading Feedback to 4.4.3, I can't be absolutely certain.  Since I'm not a programmer, I'm not particularly keen on the idea of tinkering with anything that isn't easy enough for a monkey to accomplish, lest I break something.

That is, if I change the stored proc (whatever that is, mind you), is it going to break something else, or am I going to have to change it again if I drop another feedback form on another page, etc.?

 
New Post 5/14/2008 1:50 PM
User is offline Alan
1 posts
10th Ranked


Re: How to delete unwanted comments? 

 Sanjay Mehrotra wrote

did your site by any chance have a prior version of feedback installed on another page? If yes, then in 4.4.3 (of feedback) the ability to moderate posts that were made on a different instance of the module (ie on a different page or if you added and then deleted the prior instance) was removed since it was considered a security hole.

You can get around this by modifying the stored proc (and I'd be happy to show you how) but that would explain why the page is refreshing without any changes...
Sanjay

Yes please! Can you explain this?

 
New Post 5/14/2008 2:43 PM
User is offline Sanjay Mehrotra
402 posts
www.acuitisolutions.com
8th Ranked




Re: How to delete unwanted comments? 

 Alan wrote

 Sanjay Mehrotra wrote

 

did your site by any chance have a prior version of feedback installed on another page? If yes, then in 4.4.3 (of feedback) the ability to moderate posts that were made on a different instance of the module (ie on a different page or if you added and then deleted the prior instance) was removed since it was considered a security hole.

You can get around this by modifying the stored proc (and I'd be happy to show you how) but that would explain why the page is refreshing without any changes...
Sanjay

 

Yes please! Can you explain this?

Alan,

So here is the original stored procedure that I'm talking about. (UpdateFeedbackStatus)


CREATE PROCEDURE {databaseOwner}{objectQualifier}UpdateFeedbackStatus
 @ModuleID int,
 @FeedbackID int,
 @Status int
AS
IF @Status = 4
 DELETE {databaseOwner}[{objectQualifier}Feedback] WHERE FeedbackID = @FeedbackID and ModuleID = @ModuleID
ELSE
 UPDATE {databaseOwner}[{objectQualifier}Feedback]
 SET    Status = @Status
 WHERE FeedbackID = @FeedbackID and ModuleID = @ModuleID
GO

If you modify this stored procedure as follows, it would allow you to update the status of any feedback submitted (ie similar to what was the case prior to 4.4.3).

CREATE PROCEDURE {databaseOwner}{objectQualifier}UpdateFeedbackStatus
 @ModuleID int,
 @FeedbackID int,
 @Status int
AS
IF @Status = 4
 DELETE {databaseOwner}[{objectQualifier}Feedback] WHERE FeedbackID = @FeedbackID

ELSE
 UPDATE {databaseOwner}[{objectQualifier}Feedback]
 SET    Status = @Status
 WHERE FeedbackID = @FeedbackID

GO


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Feedback Module...  How to delete unwanted comments?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP