Page 1 of 15

Post Count Requirements

Posted: Sun May 04, 2008 5:55 pm
by Extensions Robot
Modification name: Post Count Requirements
Author: tbackoff
Modification description: This mod will limit users from access or posting in certain forums if they don't have the proper post count requirement. Groups can bypass requirements by a setting in the ACP.
Modification version: 2.1.2
Tested on phpBB version: 3.0.11

Download file: post_count_requirements_2_1_2.zip
File size: 168.58 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--

Post Count Requirements

Posted: Sun May 04, 2008 5:55 pm
by Paul
Modification validated/released

Notes:

Post Count Requirements

Posted: Sun May 04, 2008 5:55 pm
by SyntheticChaos
ScreenShots:

ACP Forum Settings
Image

ACP Group Settings
Image

More screenshots and a demo coming soon...

Re: Post Count Requirements

Posted: Sun May 04, 2008 8:08 pm
by mcdanielnc89
Yay! First person to ask a question, LOL...

Can this be turned on/off in the ACP?

Re: Post Count Requirements

Posted: Mon May 05, 2008 2:00 pm
by SyntheticChaos
mcdanielnc89 wrote:Yay! First person to ask a question, LOL...

Can this be turned on/off in the ACP?
Yes it can be turned off by setting the post requirement to 0 in the ACP.

Re: Post Count Requirements

Posted: Mon May 05, 2008 6:41 pm
by fazaljatoi
DEMO ?

Re: Post Count Requirements

Posted: Mon May 05, 2008 10:31 pm
by Babu3d
I can't find the options in admin cp..

Help me

Re: Post Count Requirements

Posted: Tue May 06, 2008 2:25 am
by SyntheticChaos
fazaljatoi wrote:DEMO ?
I do not have a demo ready, but I will try to get some screenshots for everyone one in a couple of hours. I will try to get a demo setup for everything for the client-side of the script. However I will be sure to get some screenshots soon. I will be generating a demo script soon.
Babu3d wrote:I can't find the options in admin cp..

Help me
Some people have told me clearing the cache for the forum will do the trick. (I will try this method soon to see if it works) Also, please make sure you did make the changes to the ACP template files as directed in the install file.

Re: Post Count Requirements

Posted: Tue May 06, 2008 8:59 pm
by net83it
very interesting

users that don't have post requiriments for viewing a forum are also blocked to search into that forum?

Re: Post Count Requirements

Posted: Tue May 06, 2008 9:06 pm
by net83it
another question

users that don't have the post requirrment to view a forum, see that forum on index page or that forum is invisible to them?

thank you

Re: Post Count Requirements

Posted: Wed May 07, 2008 7:58 pm
by SyntheticChaos
net83it wrote:very interesting

users that don't have post requiriments for viewing a forum are also blocked to search into that forum?
The user will be able to search for the topic, and they will find it, however they cannot view the content of the topic. In a future update, I will try to add a feature so they cannot even find the blocked topic in the search results.
net83it wrote:another question

users that don't have the post requirrment to view a forum, see that forum on index page or that forum is invisible to them?

thank you
No they can still see the forum from the index or a category page, however they cannot access the forum or its topics when they click it. In the future I will try to add a future so it is possible to make a forum invisible to people with not enough posts.

Re: Post Count Requirements

Posted: Wed May 07, 2008 8:44 pm
by mara7
Good idea & nice mod .. :D

I love it ..

Re: Post Count Requirements

Posted: Thu May 08, 2008 12:18 am
by tcruz
my error, help me

SQL ERROR [ mysql4 ]

Unknown column 'forum_postcount_view' in 'field list' [1054]

SQL

UPDATE phpbb_forums SET parent_id = 0, forum_type = 0, forum_status = 0, forum_parents = '', forum_name = 'Geral', forum_link = '', forum_desc = '', forum_desc_uid = '', forum_desc_options = 7, forum_desc_bitfield = '', forum_rules = '', forum_rules_uid = '', forum_rules_options = 7, forum_rules_bitfield = '', forum_rules_link = '', forum_image = '', forum_style = 0, display_subforum_list = 1, display_on_index = 0, forum_topics_per_page = 0, enable_indexing = 1, enable_icons = 0, enable_prune = 0, prune_days = 7, prune_viewed = 7, prune_freq = 1, forum_postcount_view = 4, forum_postcount_post = 0, forum_flags = 32 WHERE forum_id = 6

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/acp/acp_forums.php
LINE: 1239
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_forums.php
LINE: 178
CALL: acp_forums->update_forum_data()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_forums->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

Re: Post Count Requirements

Posted: Thu May 08, 2008 4:03 am
by SyntheticChaos
tcruz wrote:my error, help me
If you can provide more information on the error (ie. what were you exactly doing) I might be able to help you better. From what I can see, it looks like you were trying to edit a forum inside of the ACP.

From looking at the error, did you run the SQL query stated in the instructions. It looks like the fields inside of the phpbb_forums table were not created. Please make sure these two fields are created.

Re: Post Count Requirements

Posted: Thu May 08, 2008 10:15 am
by tcruz
SyntheticChaos wrote:
tcruz wrote:my error, help me
If you can provide more information on the error (ie. what were you exactly doing) I might be able to help you better. From what I can see, it looks like you were trying to edit a forum inside of the ACP.

From looking at the error, did you run the SQL query stated in the instructions. It looks like the fields inside of the phpbb_forums table were not created. Please make sure these two fields are created.


excuse my English


Yes I was a forum to change the ACP and when you put a bit of the posts gives this error. Everything is properly installed and the fields were created in the database. My database is not phpbb_ is simply the name of the table.