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 ForumsRepositoryRepositoryClicking moderator button causes errorClicking moderator button causes error
Previous
 
Next
New Post
6/29/2007 8:48 PM
 

Below is the code that was added to moderateuploads.ascx.vb

' the very first thing we need to do is make sure the current user
' is a moderator.
Dim bCanModerate As Boolean = False
Try
   If HttpContext.Current.User.Identity.IsAuthenticated Then
     bCanModerate = oRepositoryBusinessController.IsTrusted(Request.QueryString("pid"), Request.QueryString("mid"))
   End If
Catch ex As Exception
End Try

If Not bCanModerate Then
   Response.Redirect(NavigateURL("Access Denied"), True)
End If

 

 

 
New Post
6/30/2007 9:25 AM
 

Have you tried temporarily disabling the friendly URL provider to see if that is the issue?


Scott McCulloch
Developer, F5 Networks
Owner, Ventrian DotNetNuke Modules
 
New Post
7/1/2007 5:50 AM
 

Hi,

I'm having the same problem

Fresh 453 install on localhost with Scott's Friendly URL's. I have disabled the Friendly URL in my host settings ran into the same problem once more.

Marc


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
7/1/2007 1:02 PM
 

Did you comment out the line you have to had to the web.config when you use Scott's FriendlyURLs?

EDIT: I just got a chance to look at this and recreate the problem. You have to replace DotNetNuke.HttpModules.UrlRewrite.dll from Scott's provider with the original DNN version.

 
New Post
7/1/2007 3:41 PM
 

Mike,

Thanks for figuring it out. At least i know my way around it then. You were right i didn't comment it out of the web.config and most certainly i didn't replace the dll.

In my case i don't need the moderation option in all of my sites. So this will lead me to an alternative path for both scenario's  

Thanks again,

Marc


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryClicking moderator button causes errorClicking moderator button causes error


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