So im working in a project that will have Wordpress has the main page and then vbulletin as a forum. I already connected both platforms with a plugin so the users can login either in wordpress or in vbulletin.
Now for the design part, I want the vbulletin forum page to have the wordpress header and footer, searched on google and found that that can be achieved by creating a plugin/hook in vbulletin like this:
after that just insert $wp_header in vbulletin header file.
Problem is nothing happens, all I get is "$wp_header" written on top of my vbulletin page.
EDIT: I have my wordpress installed in a folder 'apostasgreen', and vbulletin in the folder 'apostasgreen/forum'. maybe my file paths are wrong?
EDIT 2: Getting slowly there, got a few improvements after searching in google:
1. Do not use 'global_start' while creating the plugin, instead select 'global_bootstrap_init_start'. 2. I found this code so I changed it on the plugin and this time something actually shows up: