1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Daily Threads Limit

Discussion in 'Add-on Releases [Archive]' started by borbole, Mar 30, 2011.

Thread Status:
Not open for further replies.
  1. borbole

    borbole Well-Known Member

    This mod will enable you to set a maximum number of threads in forums of your choosing on daily basis.

    Installation. First unzip the mod package and ftp the library folder inside to the root of your forum folder. Then go to your Acp->Add-ons->Install New Add-on->Install from uploaded file: Click the Browse button, locate the addon_DailyThreadsLimit.xml file inside the mod package and ht the Install Add On button.

    To configure the mod go to Options in your Acp->Options and all the way to the bottom you will see a new setting, Daily Threads Limit. Click on it and configure the mod to your likings.
    For more, please have a look at the attached screenshots below.

    Thank you for reading this thread :)

    If you need support with this mod, then please post at its thread at my forum:


    Attached Files:

    Perspektif, Ray, makdeniss and 4 others like this.
  2. makdeniss

    makdeniss Active Member

    Is this per user or per all on certain forum?
  3. borbole

    borbole Well-Known Member

    This is for all.
  4. Ray

    Ray Active Member

    I may need this in the future, good job!

    The default error message, however, could have been worded a bit better as it can lead users to believe that they've posted 5 times in that specific forum when they haven't even posted once.

    Consider this:
    "Sorry, the maximum number of 5 threads per day set for this forum has been reached. Please come back tomorrow."
    "Sorry, the maximum number of 5 threads per day set for this forum has been reached. Go back to index."

    (Yes, I know the admin can change this to whatever they choose to, just a suggestion...)
    borbole likes this.
  5. Matthew Sagen

    Matthew Sagen Member

    Is there any way possible you can make a WEEKLY thread limit? We want our each of our users to only be able to create a new thread ONCE per week on certain forums.
  6. CurveGotti

    CurveGotti Active Member


    $daycut = time() - 86400;
    $daycut = time() - 604800;
  7. Matthew Sagen

    Matthew Sagen Member

    I didn't realize upon posting that this is for ALL, not per user. I'd still like others to be able to post to the forum if they haven't reached their limit. I could be wrong, but wouldn't this make EVERYONE unable to post after ONE individual had already posted? Maybe I'm wrong.

    But thank you none the less if I am wrong. Hah. That is awesome. :)

    Edit: The other issue I get is also when uploading said .xml I get "Please enter a valid callback method". We're running 1.0.4
  8. CurveGotti

    CurveGotti Active Member

    TBH I have never used the mod, nor even looked at the code prior to you asking if it was possible to make it a week instead of a day, so I can't give a concrete answer. Based on the wording in the warning message in the screen shots I would venture to guess the limit itself is on a user by user basis, though.
  9. Matthew Sagen

    Matthew Sagen Member

Thread Status:
Not open for further replies.

Share This Page