vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Auto-Approve Posts On Reply (https://vborg.vbsupport.ru/showthread.php?t=318233)

MarkFL 04-13-2015 09:00 PM

Auto-Approve Posts On Reply
 
1 Attachment(s)
This simple hack is the result of a request by My Hattiesburg found here:

Reply to a moderated post

The purpose and philosophy of this product is that if a moderator or administrator replies to a moderated post, then they are implying approval of the post and so the original post and the reply should both be auto-approved and then visible to the public. This alleviates the need to first approve the original post before replying, or if approving the original post is overlooked, approving both posts when done.

The "original post" can be either a moderated post that is quoted, or the last post in the thread prior to a reply being made. If the moderated (original) post is the first in the thread, then you have the option not to approve threads.

You can set whether this product acts globally or only in certain forums. You can also choose whether descendant forums are affected when choosing forums with children.

Settings given in the AdminCP are as follows:
  • Auto-Approve Posts On Reply Enabled? (yesno)
  • Auto-Approve Original Posts? (yesno)
  • Auto-Approve Quoted Posts Only? (yesno)
  • Auto-Approve Threads? (yesno)
  • Auto-Approve Posts in ALL Forums? (yesno)
  • Active Forums (multiple select)
  • Include Descendant Forums? (yesno)

Update: version 1.1
  • Fixed bug regarding user redirection.

Installation:

Download and extract the attached zip file.

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product XML file that was included in the .zip file.

Click "Import"

You MUST enable the product by going to:

AdminCP -> Options -> MarkFL: Auto-Approve Posts On Reply v1.0

And clicking "Yes" for "Auto-Approve Posts On Reply Enabled?"

Support for this product can be found here:

My Hattiesburg 04-15-2015 02:18 AM

Seems to work great, thanks for your work on this!

vze2yqtm 06-22-2015 04:55 PM

Thanks :) !!!! Will test soon!

BrettC Frontier 08-06-2015 10:32 PM

I have users reporting that they are getting 'invalid thread specified' while this product is active when posting to a forum that requires moderator approval. Ideas? :)

MarkFL 08-06-2015 11:51 PM

Quote:

Originally Posted by BrettC Frontier (Post 2552276)
I have users reporting that they are getting 'invalid thread specified' while this product is active when posting to a forum that requires moderator approval. Ideas? :)

Update: version 1.1
  • Fixed bug regarding user redirection.

BrettC Frontier 08-26-2015 06:52 AM

Had a thought about this addon the other day, and it might have some value on a per-thread basis.

When a new thread is being created, add in an additional check box in the moderator tools section on the newthread.php page. Call it "Require all replies to be approved?".

So when a user goes to reply to a particular thread with the mode enabled... the post will need to be quoted/replied to as per what the addon currently does before showing up.


I know that there is the Moderate Posts on a per-forum basis, but the one-off threads needing such a feature would be odd/bizarre to generate a new forum with a singular thread in it, let alone enabling moderate posts in an already active forum. :)

MarkFL 08-27-2015 12:58 AM

Quote:

Originally Posted by BrettC Frontier (Post 2553661)
Had a thought about this addon the other day, and it might have some value on a per-thread basis.

When a new thread is being created, add in an additional check box in the moderator tools section on the newthread.php page. Call it "Require all replies to be approved?".

So when a user goes to reply to a particular thread with the mode enabled... the post will need to be quoted/replied to as per what the addon currently does before showing up.


I know that there is the Moderate Posts on a per-forum basis, but the one-off threads needing such a feature would be odd/bizarre to generate a new forum with a singular thread in it, let alone enabling moderate posts in an already active forum. :)

Something like that would likely be better to do as a separate add-on, to allow moderators to create threads in any forum whose replies are auto-added to the moderation queue. :)

dePhrozt 07-24-2016 01:50 AM

Is there anything like this for 5.2.2?


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01233 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete