First off, my end goal is to make an AJAX call to custom code that has access to the global $DB, and then have some output added to the HTML on the page. I have an extension that is outputing existing data in the forum threads just fine. It’s the adding of new data to the database that is the problem.
I looked at the spellcheck code for “inspiration”, and it is listed in the array of exceptions so it passes the _is_authorized check. My URL “chunk”/php file isn’t, so I’m getting the error page (“You are not authorized to perform this action”). My current attempt was to call a separate php file up in the “scripts” directory so I didn’t have path/function pair issues, but I got no love.
Anyone have ideas on how to add a new valid path/function pair and/or add a path to the exceptions list in the Forums without hacking it? Extending the Forum_Core is my current idea, but I don’t like it much.
Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.