PDA

View Full Version : Post via batch


aleinside
01-27-2011, 02:40 PM
I'm trying to save thread/post with build_new_post function.

I set
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'cron');
define('CSRF_PROTECTION', true);

and pass username and userid in post array, but I got some errors:

That username is already in use or does not meet the administrator's standards. If you are xxx and you have forgotten your password, click here.
The string you entered for the image verification did not match what was displayed.

How can I fix it?


Thank you

aleinside
01-31-2011, 08:58 AM
I used datamanager_init and the set_info e set function.
All works fine ;)