Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Mar 2017, 01:02
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Thumbs up Restricting new threads/post to members with less than x number of posts

I want to be able to restrict new threads/posts in one of our forums based on the member having less than x number of posts to their credit. Can this be done? Is there a MOD that has this feature?
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam

Last edited by Snowhog; 08 Mar 2017 at 22:14.
Reply With Quote
  #2  
Old 06 Mar 2017, 03:24
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Hey Paul!

I have attached a product that should do just what you want. Give it a try, and let me know if there are any issues, or there are any features you'd like added.

Once you import the product, you'll have to visit the settings to enable the product, and to define your forums and their minimum post counts. Everything is explained in the settings.

Once I know you are happy with it, I will publish it and cite you as the co-author since it was your idea.
Attached Files
File Type: xml product-markflrestrictedforums.xml (7.9 KB, 5 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons

Last edited by MarkFL; 06 Mar 2017 at 03:38. Reason: typo
Reply With Quote
  #3  
Old 06 Mar 2017, 03:27
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Thank you. Won't get to it tonight; just to tired (did a 3 hour, 41.8 mile bicycle ride this afternoon). But tomorrow I'll install it and let you know.

Much appreciated, as always!
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #4  
Old 06 Mar 2017, 03:37
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
Thank you. Won't get to it tonight; just to tired (did a 3 hour, 41.8 mile bicycle ride this afternoon). But tomorrow I'll install it and let you know.

Much appreciated, as always!
Wow! I'm more tired now just thinking about a 41.8 mile bike ride!
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #5  
Old 06 Mar 2017, 11:42
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
More complicated many options.. And this one to http://www.vbulletin.org/forum/showthread.php?t=233979
Marks is easier

Last edited by Stratis; 06 Mar 2017 at 11:48.
Reply With Quote
  #6  
Old 06 Mar 2017, 14:34
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Originally Posted by MarkFL View Post
Hey Paul!

I have attached a product that should do just what you want. Give it a try, and let me know if there are any issues, or there are any features you'd like added.

Once you import the product, you'll have to visit the settings to enable the product, and to define your forums and their minimum post counts. Everything is explained in the settings.

Once I know you are happy with it, I will publish it and cite you as the co-author since it was your idea.
Installed. I'm looking at the settings now, and what you put together is the opposite of what I want.

This MOD allows one to set 'minimum' posts a member must have before they are permitted to post to specified forums. I have, at this time, a single forum area I want to limit who can post to.

The forum I want to limit members posting in is called Help the New Guy. I want to be able to set a 'maximum' number of posts a member can have and still be permitted to post in this forum. Once they have more than x number of posts (the 'maximum' allowed), they would be blocked from posting in this forum; they would have to choose among the many other 'topic specific' forums we have.

So, say I set a limit of 50 posts. Any member who has 50 or less posts would be able to post in this forum. Once any member reaches 51 or more posts, they would be blocked from being able to post in this forum.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #7  
Old 06 Mar 2017, 14:43
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
When you said:

Originally Posted by Snowhog View Post
I want to be able to restrict new threads/posts in one of our forums based on the member having less than x number of posts to their credit. Can this be done? Is there a MOD that has this feature?
I thought you meant the restriction would be imposed on those having less than x posts.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #8  
Old 06 Mar 2017, 14:45
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
That's the problem with trying to communicate only in written form. One has to be very careful, doing their best to 'say' what they want the other person to 'hear'.

Did my last post make my need any clearer?
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #9  
Old 06 Mar 2017, 15:03
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
That's the problem with trying to communicate only in written form. One has to be very careful, doing their best to 'say' what they want the other person to 'hear'.

Did my last post make my need any clearer?
Yes, and so what I'll do is add a second setting that allows for defining a maximum post count. But let me ask you, in this "Help The New Guy" forum, you want only those with a low post count to be able to help the new guy? Should this restriction just be on posting new threads but not on posting replies to existing threads?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #10  
Old 06 Mar 2017, 15:13
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Originally Posted by MarkFL View Post
Yes, and so what I'll do is add a second setting that allows for defining a maximum post count. But let me ask you, in this "Help The New Guy" forum, you want only those with a low post count to be able to help the new guy? Should this restriction just be on posting new threads but not on posting replies to existing threads?
Ah, I hadn't thought about that aspect. Hmm.

Okay, yes, I want to restrict creation of 'new threads' in this forum based on a member having no more than x posts, but anyone can reply to the threads in this forum.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #11  
Old 06 Mar 2017, 15:23
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, I will see what I can do.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #12  
Old 08 Mar 2017, 16:04
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Hey Paul,

I have updated the product (and attached it here), and instead of adding more settings, I allowed more flexibility in the existing setting. Now you can define whether new threads, new replies, or both are restricted, and whether the post count is a maximum or a minimum.

For your application, where X is the forumid of your "Help The New Guy" forum, enter into the setting "Forumids And Their Restrictions" the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Let me know if this fits the bill, and if you need any additional features.
Attached Files
File Type: xml product-markflrestrictedforums.xml (9.4 KB, 4 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #13  
Old 08 Mar 2017, 17:06
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Thank you. It's installed and set as active, specifying 15|threads|max|50.

The only thing left would be for a message to be displayed to an affected member, such as:

15|threads|max|50|You are not permitted to create your new thread here. Please use a topic specific forum.
Settings for the message box itself would need to be added, but I think that would be simple enough, as several of your other MODs already have the coding to do that.

I remain extremely grateful for your assistance and believe in supporting those from whom I derive a benefit. Free support isn't free; there is always a cost, even if it is just the expenditure of time put in to making something available for others 'at no cost'. A persons time and talents are a valued commodity and should not be taken for granted.

I can't support you directly here, so I've made a contribution to http://mathhelpboards.com. It's the very least I can do for the assistance you've provided and that I've benefited from.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #14  
Old 08 Mar 2017, 18:28
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Snowhog View Post
Thank you. It's installed and set as active, specifying 15|threads|max|50.

The only thing left would be for a message to be displayed to an affected member...
A message is already displayed to affected users.

Originally Posted by Snowhog View Post
Settings for the message box itself would need to be added, but I think that would be simple enough, as several of your other MODs already have the coding to do that.
I could add an "Additional CSS" setting to be applied to the message element.

Originally Posted by Snowhog View Post
I remain extremely grateful for your assistance and believe in supporting those from whom I derive a benefit. Free support isn't free; there is always a cost, even if it is just the expenditure of time put in to making something available for others 'at no cost'. A persons time and talents are a valued commodity and should not be taken for granted.

I can't support you directly here, so I've made a contribution to http://mathhelpboards.com. It's the very least I can do for the assistance you've provided and that I've benefited from.
While not necessary, that is certainly appreciated!
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #15  
Old 08 Mar 2017, 19:37
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
Ah, okay.

Are these the only two elements in the .xml file that handle the message?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:37.

Layout Options | Width: Wide Color: