vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Mysql: Change status of posts waiting moderation (https://vborg.vbsupport.ru/showthread.php?t=309867)

postcd 03-24-2014 11:52 PM

Mysql: Change status of posts waiting moderation
 
Hi,

i have several thousand posts awaiting moderation ("Threads to Moderate"), please can anyone share mysql command to turn all these posts into approved/deleted?

ForceHSS 03-24-2014 11:58 PM

If you do it from the admincp you can do many at the same time it would be the best way

Lynne 03-25-2014 04:50 PM

Most shared hosting servers will not let you process more than 1000 at a time. So, you will need to approve them in batches of only 1000. (Maybe, that is. It could be your host doesn't have it set like that.)

postcd 03-25-2014 09:12 PM

3.8.4, shared host, memory exhausted, blank screen. please anyone can share mysql command to achieve that? or any alternative way to achieve?

Lynne 03-26-2014 10:13 PM

Did you try doing this in smaller batches?

If you do it via mysql, you could screw other things up, which is why anyone is reluctant to give the command. I mean, the *exact* command you ask for is to just change post.visible from 0 to 1 in the post table. But there are other tables this could affect and so I don't know that anybody wants to go through and figure all those out.

postcd 05-21-2014 06:20 AM

This can be done from frontend of the forum when loged in as admin, there is moderator panel and one can do 200 threads on page..

A way to delete all awaiting moderation at once is to go to AdminCP/Threads & Posts / Prune and select to prune only awaiting moderation.


All times are GMT. The time now is 06:40 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.02653 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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