• Hi all,

    Could anyone provide me with any links, or helpful advice on how to have a wordpress header (from my mainpage) with menus, to appear over a mybb forum (similar to how it’s done here on gigalicous.com/forum/ and silvertails.net/forum). I am fairly new to mybb, wordpress, and php. I’ve only really worked with SMF forum software (for about 3+ years) but I grew tired of their community who pretty much told me to give up on trying to get a wordpress header over smf. After doing some research it appears several people have been quite successful achieving similar goals using mybb software (as linked above).

    I currently set up a dummy site with place holder images (no CSS work yet) with smf, but I had no luck getting the wp header and smf to function properly so I am doing a fresh install of mybb now.

    test.inglouriousbasterds.org

    If anyone reading these boards could help or guide me in the right direction, I would greatly appreciate it. Again, I am fairly new to php work. If it’s something complicated that requires advanced php work, I wouldn’t mind hiring someone to do so, I just don’t know where to look!

    WordPress Version 3.8 – myBB version 1.6.11

    Thanks you.

Viewing 1 replies (of 1 total)
  • Hi,

    I am the owner of Silvertails.net I can help you out with this.

    Basically I run a cron that generates 3 seperate HTML items.

    1 – The header
    2 – The sidebar
    3 – The footer.

    I dump these into .html files using objects ino vriables then pushing the variable to the file.

    In mybb I then wrote a very simple plugin which looks for <mainsite_header> etc and replaces them by including the .html files in place, using file_get_contents and the local path.

    You need to do some transformation on the code that comes out of WP to make sure it stays relevant to your forum.

    You then need to create a new stylesheet in your forum theme and change all of the class and id’s in the HTML to be prefaced with WP.

    It sounds complex but creating the stylesheet is the longest part, once that is done it’s all automated.

    I run a cron to do the HTML creation several times a day or on specific actions within wordpress, such as when a new post is made, that way I am not overloading my server too much with constant requests for creating the HTML which will slow down the response times for users.

    You could probably do it by pumping it straight into your myBB cache which would make it somewhat faster but my mybb runs fairly quickly so I haven’t felt the need.

    If you have issues contact me at silvertails.net and I will help you out some more.

    Dan

Viewing 1 replies (of 1 total)
  • The topic ‘Question – WordPress header over MyBB forum’ is closed to new replies.