Jump to content
Sign in to follow this  
beyondthebets

Including Pagelines PHP sections to MyBB forum

Recommended Posts

beyondthebets

Hey, I'm trying to include header.php and footer.php to my MyBB forum. When I tried including the header, I got this error: Fatal error: Call to undefined function pagelines_register_hook() in (MYDOMAIN)/wp-content/themes/platformpro/header.php on line 12 What else do I need to include to allow this to work? Thanks

Share this post


Link to post
Share on other sites
Simon
You cannot simply include the header file. You need to include wp-load.php to bootstrap wordpress, then use wordpress functions inside mybb to output the header/footer. This kind of thing is well beyond basic forum support. Have any mybb users documented integrating mybb?

Share this post


Link to post
Share on other sites
beyondthebets
It looks like my solution will be to use jQuery -- I think.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×