Frequently Asked Questions

Dec 12, 2019 - 05:10am

 [F] Frequently Asked Questions  / Common Problems and Solutions  / Common Customization Problems & Questions  /

How can I remove "Preview New Discussion/Message page"?

Rate This FAQ
 (Not yet rated)

Created On: 15 Nov 1999 1:23 pm
Last Edited: 22 Apr 2005 8:35 am

Question Email This Printer Friendly

I like the moderation feature, especially the Objectionable Word option. However I would like discussions and messages to be posted directly without the "A moderator will review your new discussion topic." page popping up. How can I do this?

Answer

This requires modifying various macros from standard.tpl (webxStd-local.tpl for v5.0+). Please see your documentation for further information on WCTL and standard templates.

Example
Messages:

Edit the standard template "addMessage". To have moderated messages
that do not contain objectionable words post directly (instead of
going through the normal approve/edit form), add the following to
the addMessage form: <input name=postDirect type=hidden value=true>

Discussions:

Edit the standard template for "addDiscussion". Place
<input type=hidden name=approve value=approve>
right after the <FORM...> in all locations where it appears.