I am looking for someone that can assist in getting my forum to look like my wordpress. I would like it to be dynamic but can live with static.
website is
www.thedailynole.com
I found this on the interwebs and it kinda worked but it broke more than it fixed. Some how it broke the time on my forum and the font and alignment of the forum.
Quote:
Step 1:
Create a WP Header Plugin:
Hook Location: global_start Title: WP Header Execution Order: 5 (or default)
Code:
ob_start();
include('../wp-load.php');
include('../wp-content/themes/rt_iridium_wp/header2.php');
$globalWPHeader= ob_get_contents();
ob_end_clean();
$preRegister['globalWPHeader'] = $globalWPHeader;
vB_Template::preRegister('header', $preRegister);
explaination: include ‘../htdocs/wp-load.php’; This line is looking for your ‘wp-load.php’ file so change the location according to your setup. include(‘../htdocs/wp-content/themes/gazette/header.php’); Finds your ‘header.php’ file, change location accordingly. $wp_header = ob_get_contents();
Assigns the ‘header.php’ content to the variable $wp_header
Edit the header Template:
Style Manager-Edit Templates-header:
I’m sure you’re header template will look a little different from mine but this is were you include $wp_header plugin which will insert your wordpress header into your vBulletin forum.
Code:
{vb:raw $globalWPHeader}
Add this line in header of template of the vbulletin via admincp.
|