Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2015, 02:11 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Solved] Deny more than x posts in a specific forum

Hi!!!

Is there a mod or other way that can do the following?

* in some categories of forum lets say that members can post only x posts
and don't let him post other, depends usergroup and restrict how many posts he is avalaible to make.

Thanks for any clue.
Reply With Quote
  #2  
Old 11-09-2015, 02:57 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone please...
Reply With Quote
  #3  
Old 11-09-2015, 03:36 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't personally know of any existing add-on that does that.

Are you looking to restrict users forever to a certain number of posts in certain forums, or are you looking to impose time-based limits, such as a certain number of posts per day or week, etc.?

Do you want to be able to define different limits for different usergroups? Do you want different limits for different forums?
Reply With Quote
Благодарность от:
Stratis
  #4  
Old 11-09-2015, 04:01 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mark, thanks for replying.

Lets say that some sites don't want in "welcome" forums, members to make many post or other forum they want to stop spamming.
* Restrict users forever to a certain number of posts in certain forums. But choose which usergroup, not different limits, i think there is no purpose for that.

Quote:
Do you want different limits for different forums?
Maybe this is ok, it depends how easy it is.

Reply With Quote
  #5  
Old 11-19-2015, 01:37 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any good news? or someone has seen a mod can make this
Reply With Quote
  #6  
Old 11-24-2015, 05:20 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stratis, here is a preliminary add-on that I would ask you to download and test and let me know if this is what you have in mind.

Download and import the attached .XML file, and then set the settings like you want:



Please let me know any changes you would like. Once everything is like you want, I will publish it and list you as a co-author.
Attached Images
File Type: png markfl_rpbf_acp.png (46.7 KB, 0 views)
Attached Files
File Type: xml product-markflrestrictpostsbyfora.xml (7.5 KB, 7 views)
Reply With Quote
  #7  
Old 11-24-2015, 05:53 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark, don't have words to say.

Actually it does not work, there is not something that I can make wrong.
its very easy as you made it, and its what I want, hope many others find this useful.

I have tested many ways. it seams that mod does not exists
Reply With Quote
  #8  
Old 11-24-2015, 05:57 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
Thanks Mark, don't have words to say.

Actually it does not work, there is not something that I can make wrong.
its very easy as you made it, and its what I want, hope many others find this useful.

I have tested many ways. it seams that mod does not exists
What it should do if a user is restricted is hide all of the buttons/links that allow new posts to be made. How do you have the settings set, and what result are you getting?
Reply With Quote
  #9  
Old 11-24-2015, 06:14 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I understand, I read code in xml. Buttons are still there and can make new thread - posts
as well. I have tested many ways, even without "Excluded Usergroup(s)"
tested even checked all "Restricted Forums" it seams that does not make any effect.

Tested with Post Limit with mine 5 different members connection I have for this purpose.
is there a way that some other mod can stop this to work?
Reply With Quote
  #10  
Old 11-24-2015, 06:22 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try changing the execution order to 65535 for the two plugins and see if that fixes it. It could be that other add-on(s) are interfering in some way.

If not, I would have to check your site out as an admin to see why it's not working there. So, if it doesn't work after the above suggested change, and you want me to investigate, PM to me the login credentials for an admin account.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05456 seconds
  • Memory Usage 2,281KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete