MyBB Community Forums

Full Version: Integrating WP and MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to integrate WordPress and MyBB forums. Specifically, I just want to add WordPress's navbar (the new menu) to my MyBB website. Following the CODEX example, I've added the following to my header.php of my MyBB installation:

require('/home/linuxdis/public_html/wp-blog-header.php');
However, I get 500 error when navigating to the forum. Examining error_log revealed this:

PHP Fatal error: Cannot redeclare is_super_admin() (previously declared in /home/linuxdis/public_html/forum/inc/functions.php:5484) in /home/linuxdis/public_html/wp-includes/capabilities.php on line 1213

Bummer, the functions are named the same. Other than renaming one of the functions and probably breaking absolutely everything, is there a way to go around this? :/
Well, I used the !function_exists trick, but there are apparently many more functions that are named the same. Is there any way around this?
I just use an iframe .. but I am ignorant Sad