vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Staff can Post Hidden Posts (https://vborg.vbsupport.ru/showthread.php?t=112718)

davidw 03-18-2008 12:44 AM

It automatically redirects me, as it is designed to do.
My fix works as well :)

Boofo 03-18-2008 07:29 AM

I have the fix for the db error email that you get when you post a hidden post. Find this code (in the newpost_complete plugin):

PHP Code:

// remove entry of moderation queue
    
$vbulletin->db->query_write("
        DELETE FROM " 
TABLE_PREFIX "moderation
        WHERE postid = 
$post[postid]
    "
); 


And replace it with:

PHP Code:

// remove entry of moderation queue
    
$vbulletin->db->query_write("
        DELETE FROM " 
TABLE_PREFIX "moderation
        WHERE primaryid = " 
$post[postid] . "
        AND type = 'reply'
    "
); 


The code has been verified and it works. It now removes the hidden post from the moderation queue and does not send any db error emails. It wasn't working right on 3.7.0 beta 6. Thanks to Marco for the type code.

Boofo 03-21-2008 12:46 PM

Has anyone gotten this to work with the editpost at all? It would be nice to be able to hide a post that has already been posted.

kube 04-09-2008 12:20 AM

I made some of these changes...and it`s working in my testboard (3.6.7),
but I would like to use it for more than moderation !

It is shown as a post to moderate, but if I use the Link

....modcp/moderate.php?do=posts#posts

there is nothing.

It`s great that ist is not "really" to moderate for that what I want to do with it, but how do I get thes Symbols away ??

Konstantinos 06-28-2008 07:51 AM

it includes post to moderate which is not good

SgtSling 03-08-2009 07:06 PM

got it working on 3.80 .. but wow!
Needs an update!

SnowBot 11-13-2010 06:14 AM

can we update this for 4.0.8 guys?

Scooterpig 01-13-2011 04:03 AM

Anyone have this running fine on 3.8.6 please?

Krix 01-26-2011 03:53 PM

Please convert this mods to VB 4.1.1 or to 4.x.x

Becouse this modyfication is a very helpfull for moderators in board.

scottn 04-10-2011 06:27 PM

Quote:

Originally Posted by Scooterpig (Post 2148295)
Anyone have this running fine on 3.8.6 please?

Hi.

I got it working in 3.8.6, but I had changed it so it doesn't add to the moderation queue at all, but uses a different value (than 0) for VISIBLE, and changed a few things to accommodate that.

The problem is how to disable email notifications when a mod or admin checks the Hide Post box and submits a quick reply?

If it was already mentioned here, I didn't quite get it, sorry :)


All times are GMT. The time now is 02:06 AM.

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.01184 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete