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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page Quota not working in 4.5.1Page Quota not working in 4.5.1
Previous
 
Next
New Post
5/6/2007 12:55 AM
 

All,

I'm setting un a fresh install of DNN 4.5.1 allowing demo portal creation to the users. Everything works fine but the page quota (I've configured a default setting of 5) is not working. I can create a child portal as an anonymous user with no problems but the page quota is not applied. Only when I access as the host user and change the value to a different number it works.

Is it a bug? Anybody else is having this issue?

Thanks in advance.

 
New Post
5/6/2007 9:21 AM
 

please log it in the Public issue tracker at support.dotnetnuke.com


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/6/2007 4:47 PM
 

Oki, done. Issue ID: DNNP-5614

Now, I want to try to fix it because we don't know when it will be fixed. I found out the the problem is caused (at first sight at least) by the "Pages" property of the "PortalSettings" object. In the file "/admin/tabs/ManageTabs.ascx.vb" I found this procedure:

The second line compares the Pages and PageQuota properties. The PageQuota's value is 5 meaning is correct (figured it out in debugging) but the Pages' value is 1 wich is wrong because the total number of pages was six (I created six to ensure it is not responding to the pagequota).

Once I logged in as host and set the PageQuota setting for the portal to 6, the pages property works fine and the comparison works normal showing the warning and disabling the update button.

So, to solve it I need to know where the pages property is modified, and why it is correct once the host updates/changes the pagequota setting.

Any help would be much appreciated.

Private Sub CheckQuota()
      If PortalSettings.Pages < PortalSettings.PageQuota Or UserInfo.IsSuperUser Or PortalSettings.PageQuota = 0 Then
          cmdUpdate.Enabled = True
      Else
          cmdUpdate.Enabled = False
          DotNetNuke.UI.Skins.Skin.AddModuleMessage(Me, Localization.GetString("ExceededQuota", Me.LocalResourceFile),Skins.Controls.ModuleMessage.ModuleMessageType.YellowWarning)
      End If
End Sub

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page Quota not working in 4.5.1Page Quota not working in 4.5.1


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