Quote:
Originally Posted by ruinernix
This works, but all messages created end up in a moderation queue even though the forum is not set to moderate posts/threads. I tried adding 'visible'=>'1' but it doesn't make a difference. Any clues? I suppose it's because I'm running this from an outside script, that isn't really logged into VB. I made a modification to functions_newpost.php
PHP Code:
Replaced:
// see if post has to be moderated or if poster in a mod
if (
((
With:
// see if post has to be moderated or if poster in a mod
if ( ($post['visible'] == 0) AND
((
It does the job, but I'd like to understand why it's not working properly..
|
Any solution for this? I still encounter this problem when I use build_new_post function. Right now, I have to execute SQL queries to delete it from moderation table and set the visible flag to one. Any better solution?