vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What code determines if new posts will show up as Moderated or not? (hook locations) (https://vborg.vbsupport.ru/showthread.php?t=130275)

tweakmonkey 10-29-2006 10:50 AM

What code determines if new posts will show up as Moderated or not? (hook locations)
 
When you enable anonymous posting or require moderation of messages in a specific forum, posting sends you to the message: "Your post will not visible until a moderator has approved it for posting." - it then takes you back to the forums instead of the thread you tried to create or reply to.

I am trying to modify a plugin in the threadfpdata_presave and postdata_presave hook locations that currently sets the value for "visible" to 0, making the post invisible. I'd also like to change the message to send the user to this message and return them to the forums instead of the thread.

Is there another value I can change at this hook location to send it to this message instead of the default "You will now be taken back to your thread.."?

tweakmonkey 10-31-2006 04:20 AM

Probably a long shot, but anyone know what I'm asking here? :)


All times are GMT. The time now is 09:26 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.02572 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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