Jump to content

Number of Topics per Forum


Adriano Faria
 Share

Recommended Posts

This unfortunately is still not working as intended for me :( 

Quote

Sorry, there is a problem

You can't create new topics because you reached the maximum number of 1 allowed topics for your group in this forum

Error code: TOPICS PER FORUM/1

image.thumb.png.d830caeab26fa8fca1db70b13729038b.png

My only topic in this section is locked and pinned:

image.thumb.png.7fa7963a085392c0989c3f7793e389fa.png

 

Furthermore if i change the max amount of topics for administrator to 2 or higher it still returns the above error.

Edited by Dan Richardson
Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...
  • 2 weeks later...

runnin latest invision and version  2.1.1 of this plugin

When i try to 'split' posts off a topic

I get a 500 error and the system logs report

Error: Call to a member function getNrTopicsForumData() on null (0)

#0 /html/system/Content/Controller.php(3689): IPS\forums\hook2179::formElements(Object(IPS\forums\Topic))
#1 /html/applications/forums/modules/front/forums/topic.php(1143): IPS\Content\_Controller->_splitForm(Object(IPS\forums\Topic))
#2 /html/system/Content/Controller.php(3293): IPS\forums\modules\front\forums\_topic->_splitForm(Object(IPS\forums\Topic))....

 

when I disable the plugin the split post from topic works ok

looking like the hook for this plugin is the cause?

Link to comment
Share on other sites

1 hour ago, sound said:

runnin latest invision and version  2.1.1 of this plugin

When i try to 'split' posts off a topic

I get a 500 error and the system logs report

Error: Call to a member function getNrTopicsForumData() on null (0)

#0 /html/system/Content/Controller.php(3689): IPS\forums\hook2179::formElements(Object(IPS\forums\Topic))
#1 /html/applications/forums/modules/front/forums/topic.php(1143): IPS\Content\_Controller->_splitForm(Object(IPS\forums\Topic))
#2 /html/system/Content/Controller.php(3293): IPS\forums\modules\front\forums\_topic->_splitForm(Object(IPS\forums\Topic))....

 

when I disable the plugin the split post from topic works ok

looking like the hook for this plugin is the cause?

I’ll take a look tomorrow. I’m away today. 

Link to comment
Share on other sites

  • 2 weeks later...
On 2/3/2017 at 11:30 AM, Adriano Faria said:

Yes, it is a global setting PER GROUP but the limitation is PER MEMBER.

@Adriano FariaI hope this will work for us. We have a particular forum where members can ask us questions. We only want to take 25 questions per month total. Will this pluging be able to lock a forum or prevent there from being more than 25 questions? I see above you mentioned it's per member not per forum. 

Link to comment
Share on other sites

3 hours ago, Justin Stellman said:

Is there a way to edit or customize the error text when the maximum number of topics are reached?

Sure, it’s a language bit. You can change it in your ACP.

3 hours ago, Justin Stellman said:

@Adriano FariaI hope this will work for us. We have a particular forum where members can ask us questions. We only want to take 25 questions per month total. Will this pluging be able to lock a forum or prevent there from being more than 25 questions? I see above you mentioned it's per member not per forum. 

It’s per forum/member group. I mean, you can set Members group to have 1 topic in Forum1 per day/week/month/year, so this restriction will be applied for all users in Members group. 

Edited by Adriano Faria
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 3 months later...

Bug/Suggestion - In case topic needs to be approved before they are visible, the plugin does not detect the topics in that case. Users are able to post as many topics as they want as they are pending approval. Once the number of topics is approved, the user is not able to post anymore for the day.

Is it possible to count pending approval/hidden topics as well?

Link to comment
Share on other sites

  • 1 month later...

Quick question on this plugin... I want to limit the number of topics that a user group can open every day to 10 per day. Do I need to lock all his previous topics or does it detect only the new topics by date?

I mean, in some forums there are users with a hundred topics each, do I need to lock all those topics or will the app ignore older ones and will only count those posted every day until 10 is reached?
Thanks

Link to comment
Share on other sites

I am asking this in a second post because it's a different thing.

Does the app start working on new topics since the app is installed or will count the topics already posted during a period of time by a user in a certain user group? I am saying it because I have a user group called mentoring for which I limited the number of topics to 10. He has posted more than 10 topics topic, I have specified 10 as maximum topics for that user group and forum. I signed in like him, tried to open a new topic and it would let me write a new topic.

image.png.3f09ae869e824abef2c2057500e9ee33.png

 

image.thumb.png.9d73dd05dcfd7585c084b34ff0661f5a.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Similar Content

    • By Adriano Faria
      Useful in support/study groups boards, this plugin will control the number of open (unlocked) topics that each user group can have in each forum in a specific period ( per hour, per day, per week per month or per year), by adding a new tab on MANAGE FORUMS, listing all groups and allowing enter a number of topics.
      Settings per forum:
      Number of topics per group Period: per hour, per day, per week, per month and per year
    • By Adriano Faria
      This resource will give the ability to moderators (with proper permission) to moderate content (topics and posts) in specific forums from members of groups selected in the app settings.
      Settings:
      Groups that will have their content moderated in specific forums Moderator Permission:
      Can add/remove restrictions  
      --------------
      Depending on how it goes in the Marketplace, I will add all types of content you have installed to this resource and not only topics.
    • By DawPi
      With this plugin you will be able to enable grid forum view in selected categories only.
    • By DawPi
      With this plugin you can limit how many topics user will be able to add in specific forum. Two limit modes - single (per forum) or all forums together.
    • By opentype
      Support topic for this product:
       
×
×
  • Create New...