Quote:
Originally Posted by sabret00the
i know this really don't help but
PHP Code:
$post['title'] = "Discuss: ".$newstitle."";
only needs to be
PHP Code:
$post['title'] = "Discuss: ".$newstitle;

|
thanks but it can be done that way and thats usually how i code lol but thanks for your suggestion
ok after some echo debugging it comes down to this line in functions_newpost.php
PHP Code:
if ($post['preview'] OR sizeof($errors) > 0)
{
echo "error or preview";
// preview or errors, so don't submit
return;
}
for some reason it thinks that it has errors or it is a preview...
i have set these variables to this in my custom function for running build_new_post():
PHP Code:
$post['preview']= '';
$errors= array();
and it still thinks test are errors or a preview