MyBB Community Forums

Full Version: error : function build_codebuttons_editor()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey guys

I'm writing a bridge for MYBB + our CMS . everything is almost fine , except we have a problem with the newest version of mybb (1.6.3)

the problem is in viewing and creating a topic which needs an editor function to be loaded and gave us this error :
Fatal error: Call to a member function build_codebuttons_editor() on a non-object in  ***\forums\inc\functions.php on line 2391

what do I miss here ?

what's the relationships of this function and the user session or cookies that might be interfered by our bridge file ...

I'm including the bridge file in global.php .

thanks
Can you paste your function here ?
sorry , its been a while, I'm searching around and now that I just made it as a question , I found the solution myself.

problem was with using of this code :
define("IN_ADMINCP", 1);
in the bridge file .

Mybb is a classy bulletin software , really appreciate your job.

sorry to bother you guys , You may delete this topic.