We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

ideas on getting around _is_authorized() in Forum module?

Development and Programming

caycifish's avatar
caycifish
12 posts
16 years ago
caycifish's avatar caycifish

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!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.