New topics need approval

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28022
Joined: Sat Aug 16, 2003 7:36 am

New topics need approval

Post by Extensions Robot » Tue Dec 09, 2008 7:00 pm

Modification name: New topics need approval
Author: mtrs
Modification description: Adds a new forum permission which can send new topics to moderation
Modification version: 1.0.2
Tested on phpBB version: 3.0.5

Download file: New_topics_need_approval-1.0.2.zip
File size: 76.28 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 Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 9 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25490
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

New topics need approval

Post by Paul » Tue Dec 09, 2008 7:00 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

New topics need approval

Post by mtrs » Tue Dec 09, 2008 7:00 pm

Thank you mod team validating this mod. This is my first validated mod.
******
- 1.0.2 works with 3.0.6
- Also, AutoMOD installs 1.0.2 on 3.0.7-PL1 fine. Installing with AutoMOD is recommended.
******
To uninstall 1.0.1 from (3.0.3, 3.0.4 or 3.0.5) for updating to 1.0.2

Open
posting.php
Find (Around line 1009)

Code: Select all

			if ((($config['enable_queue_trigger'] && $user->data['user_posts'] < $config['queue_trigger_posts']) || !$auth->acl_get('f_noapprove', $data['forum_id']) || ($mode == 'post' && $auth->acl_get('f_topic_approve', $data['forum_id']))) && !$auth->acl_get('m_approve', $data['forum_id']))
Inline-Find and delete

Code: Select all

 || ($mode == 'post' && $auth->acl_get('f_topic_approve', $data['forum_id']))
Open
includes/functions_posting.php
Find (Around line 1631)

Code: Select all

	if ((($config['enable_queue_trigger'] && $user->data['user_posts'] < $config['queue_trigger_posts']) || !$auth->acl_get('f_noapprove', $data['forum_id']) || ($mode == 'post' && $auth->acl_get('f_topic_approve', $data['forum_id']))) && !$auth->acl_get('m_approve', $data['forum_id']))
Inline-Find and delete

Code: Select all

 || ($mode == 'post' && $auth->acl_get('f_topic_approve', $data['forum_id']))
Last edited by mtrs on Sat Mar 06, 2010 4:01 pm, edited 3 times in total.
I abandoned all of my mods.

globetrotting
Registered User
Posts: 139
Joined: Thu Jan 15, 2004 8:14 pm
Location: globetrotting
Contact:

Re: New topics need approval

Post by globetrotting » Thu Dec 11, 2008 8:36 am

Congrats, mtrs - very useful MOD, thank you!

Is there any easier way to update from version 0.0.3 than uninstall / re-install the code - and what should I do with the pre-existing database entry?
Das Sein ändert das Bewußtsein

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: New topics need approval

Post by fazaljatoi » Thu Dec 11, 2008 8:43 am

make approvel with ranks topic & posts

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: New topics need approval

Post by mtrs » Thu Dec 11, 2008 11:48 am

globetrotting wrote:Congrats, mtrs - very useful MOD, thank you!

Is there any easier way to update from version 0.0.3 than uninstall / re-install the code - and what should I do with the pre-existing database entry?
You don't actually need to update from 0.0.3 version of this mod, it works same but with less file edits. To upgrade to 1.0.1 you should be using version 3.0.3 and just remove previous edits of 0.0.3 and do new edits of 1.0.1. Database entry is the same with previous 0.0.3, so, you don't need the run install_ntne.php file for database entry.

Edit: Remove outdated edits
Last edited by mtrs on Sat Feb 06, 2010 9:37 am, edited 1 time in total.
I abandoned all of my mods.

globetrotting
Registered User
Posts: 139
Joined: Thu Jan 15, 2004 8:14 pm
Location: globetrotting
Contact:

Re: New topics need approval

Post by globetrotting » Fri Dec 12, 2008 12:13 am

cool, thx :)
Das Sein ändert das Bewußtsein

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: New topics need approval

Post by fazaljatoi » Sat Dec 13, 2008 7:10 am

i install this mod
but in ranks no show any opation need topic/post aprovel?
please make changing as a ranks .
aprovel with ranks pleas edit with ranks same

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: New topics need approval

Post by mtrs » Sat Dec 13, 2008 11:19 am

I assume you're assigning ranks depending on post counts,
rank1 => 0-5 posts
rank2 => 6-10 posts

set the limit, (see my previous post) as 10, so only users with rank1, rank2 need approval for new topics.
I abandoned all of my mods.

Tom2008
Registered User
Posts: 9
Joined: Sun Feb 03, 2008 1:03 am

Re: New topics need approval

Post by Tom2008 » Sat Dec 13, 2008 12:14 pm

mtrs,

thanks for creating this mod. i'd like to know if it's possible to do that for new posts, not only for new topics. It'd be a great mod to block spammers, new users would need approval to post anywhere, after x posts approveds, he could post without approval. Is that possible?

Sorry my english is not good.

Tks

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: New topics need approval

Post by mtrs » Sat Dec 13, 2008 12:27 pm

Tom2008 wrote:i'd like to know if it's possible to do that for new posts, not only for new topics.
What you ask is a default phpbb3 feature, go to

Forum Permissions -> Misc
Can post without approval: Yes -- No -- Never

Also, a new feature came with 3.0.3 against spammers,
go to

ACP -> General -> Post settings

Enable queued posts: Yes --- No
Ability to put registered usersAbility to put registered users posts to post approval if their post count is lower than the specified value below. This setting has no effect on the permission setting for post/topic approval.

Maximum post count for queued posts: [.......]
If queued posts is enabled, this is the post count the user need to reach in order to post without post approval. If the users post count is below this number, the post is stored in the queue automatically.

@Tom2008, having seen these features, they can do what you ask for, but this mod brings a new forum permission to start new topics with approval, and that' all. ;)
I abandoned all of my mods.

User avatar
fazaljatoi
I've Been Banned!
Posts: 503
Joined: Wed Aug 31, 2005 8:02 pm

Re: New topics need approval

Post by fazaljatoi » Sat Dec 13, 2008 2:01 pm

mtrs wrote:I assume you're assigning ranks depending on post counts,
rank1 => 0-5 posts
rank2 => 6-10 posts

set the limit, (see my previous post) as 10, so only users with rank1, rank2 need approval for new topics.
Enable queued posts: [yes}
Ability to put registered users posts to post approval if their post count is lower than the specified value below. This setting has no effect on the permission setting for post/topic approval.

Maximum post count for queued posts:{ 2}
If queued posts is enabled, this is the post count the user need to reach in order to post without post approval. If the users post count is below this number, the post is stored in the queue automatically.

please clear here. i want my new users need aprovel 2 posts aprovel .after 2 posts aproved then no need 3rd post aprovel

if we no aprovel 2 posts .user make 3rd post show 3rd post?

we want if users post 10 posts no show all posts after aprovel 2 posts (must be aproved 2 first post}

guide me plz
guide me please

do not mind i m in new this plz

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: New topics need approval

Post by mtrs » Sat Dec 13, 2008 10:05 pm

fazaljatoi wrote:we want if users post 10 posts no show all posts after aprovel 2 posts (must be aproved 2 first post
I am sorry, this mod doesn't support what you ask, it is only for new topic approval.
I abandoned all of my mods.

User avatar
Doctor Love
Registered User
Posts: 117
Joined: Sat Jul 24, 2004 12:20 am
Location: USA
Contact:

Re: New topics need approval

Post by Doctor Love » Sun Dec 21, 2008 11:53 am

Paul, am I correct in assuming that in order to gain the privilege of being able to create a topic with-OUT approval the permission must be set to "NO"? IF SO, then the logic is reversed from all of the other permissions. A permission is a privilege and should be stated as "Can create a topic without approval". The way it is now, the square, that should be green with FULL permissions will not be green.
Aleichem Shalom,

Doctor Love

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: New topics need approval

Post by mtrs » Sun Dec 21, 2008 4:50 pm

The installed new permission comes by default NO, and doesn't affect anything. So, I preferred YES to activate this mod. Otherwise, it would take extra time to set permissions.
If it were possible to install a new permission with default value YES, I would have preferred otherwise.
I abandoned all of my mods.

Locked

Return to “[3.0.x] MOD Database Releases”