Facebook Page
Twitter
RSS
+ Reply to Thread
Results 1 to 1 of 1
  1. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,311
    Thanks
    34,279 times
    Thanked
    31,688 times
    Thank/Post
    2.381
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #1
    Overview:

    This product allows you to designate forums by forumid where posting is restricted based on post count. You may set either a minimum or maximum post count required. You may set whether new threads, new replies, or both are restricted. You may designate usergroups that are exempt from any restrictions. You may define global CSS to be applied to the user alert message, that will override the CSS for the element defined by the product's StyleVars. You may decide not to show an alert message, to show a message only stating the user's post count prohibits them from posting, or to show a message that also includes why their post count prevents them from posting.



    Product Settings:

    • Enable Product?: Set whether product is active or not (Yes or No).
    • Forumids And Their Restrictions: Enter on separate lines, the comma-delimited lists of forumids, followed by the pipe "|" followed by the restriction type (threads, posts, or both) another pipe whether the postcount will be a max or a min, and finally the post count used as the threshold.

      For example:

      2,4,7|threads|max|10
      3,5,6|both|min|50

      will require users to have no more than 10 posts in their post count to post new threads in forums 2, 4, or 7 and at least 50 posts in their post count to post new threads and replies to threads in forums 3,5, or 6.
    • Exempt Usergroups: Select the usergroups who will be exempt from the posting restrictions.
    • Exempt Users: Enter the usernames of users who will be exempt from this product, each on a separate line. Usernames are case-insensitive.
    • Message CSS: Enter any additional CSS you'd like to be applied to the message to restricted users, in all styles.

      Note: Any CSS entered here will override the product's StyleVars.
    • Show Explanation?: Set whether to explain to users that they cannot post. You may choose either:

      No
      Yes (Only that posting is not allowed)
      Yes (Include why posting is not allowed)

    Alert Message Phrases:



    • markfl_rfbpc_nonewreplies: This phrase is shown to users who are restricted from posting new replies in threads within restricted forums if you choose any option other than "No" in the "Show Explanation?" setting. The default value is:

      Your post count prohibits you from posting new replies in this forum!
    • markfl_rfbpc_nonewthreads: This phrase is shown to users who are restricted from posting new threads within restricted forums if you choose any option other than "No" in the "Show Explanation?" setting. The default value is:

      Your post count prohibits you from posting new threads in this forum!
    • markfl_rfbpc_toofew_replies: This phrase is shown to users who are restricted from posting new replies in threads within restricted forums because their post count is too low if you choose "Yes (Include why posting is not allowed)" in the "Show Explanation?" setting. The default value is:

      Users with less than {1} posts cannot reply to threads here. Your post count is currently {2}.
    • markfl_rfbpc_toofew_threads: This phrase is shown to users who are restricted from posting new threads within restricted forums because their post count is too low if you choose "Yes (Include why posting is not allowed)" in the "Show Explanation?" setting. The default value is:

      Users with less than {1} posts cannot create new threads here. Your post count is currently {2}.
    • markfl_rfbpc_toomany_replies: This phrase is shown to users who are restricted from posting new replies in threads within restricted forums because their post count is too high if you choose "Yes (Include why posting is not allowed)" in the "Show Explanation?" setting. The default value is:

      Users with more than {1} posts cannot reply to threads here. Your post count is currently {2}.
    • markfl_rfbpc_toomany_threads: This phrase is shown to users who are restricted from posting new threads within restricted forums because their post count is too high if you choose "Yes (Include why posting is not allowed)" in the "Show Explanation?" setting. The default value is:

      Users with more than {1} posts cannot create new threads here. Your post count is currently {2}.

    StyleVars:



    You will find this product's StyleVars in the group labeled "MarkFL_Restricted_Forums_By_Post_Count" and they are as follows:

    • markfl_rfbpc_alertbackground: The background color of the user alert messages.
    • markfl_rfbpc_alertborder: The border for the user alert message element.
    • markfl_rfbpc_alertborderradius: The border radius for the user alert message element.
    • markfl_rfbpc_alertcolor: The text color of the user alert messages.
    • markfl_rfbpc_alertfont: The font for the user alert messages.
    • markfl_rfbpc_alertmisc: Any additional style specific CSS.

    As stated previously, you may set global CSS that will override any style specific CSS defined by the StyleVras in the product setting labeled "Message CSS."

    Updates:

    Version 1.1:

    • Added setting to allow exempting individual users by username.


    Compatibility:

    Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

    Backup/Warning:

    This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

    As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

    To Install:

    1. Download and extract the attached .zip file.
    2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
    3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
    4. Click "Import."
    5. You MUST enable the product in the settings before it will function.
    6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

Similar Threads

  1. Replies: 1
    Last Post: March 4th, 2015, 20:28
  2. How can I count it?
    By evinda in forum Computer Science
    Replies: 13
    Last Post: October 11th, 2014, 09:29
  3. How do I rate me? Let me count the ways...
    By DreamWeaver in forum Questions, Comments, and Feedback
    Replies: 5
    Last Post: December 14th, 2013, 13:09
  4. [SOLVED] Restricted 3-Body ODE simplification
    By dwsmith in forum Advanced Applied Mathematics
    Replies: 3
    Last Post: March 7th, 2013, 14:27

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Math Help Boards