PDA

View Full Version : vbblog integration breaks the <body> tag


neverstop
05-11-2008, 02:25 PM
Hi,

I am trying to integrate the vbblog. When blog is integrated, the body tag gets all borked for some reason. You can see what I mean here:

http://www.cubbiefans.com/blog.php (notice the "body >" tag just above the content and the beginning "<" at the very top left of the page)

Other pages seem to integrate without any issues:

http://www.cubbiefans.com/forums.php
http://www.cubbiefans.com/news.php
http://www.cubbiefans.com/calendar.php

Brian
05-12-2008, 02:40 PM
Looks like vB has an extra space in their body tag that's throwing the CMPS off a little. Try looking in your includes/vba_cmps_include_top.php file for this line:
$bodycut = strlen($bmatches[0]) + $bodytag + 1;

Replace with this (just removing + 1 from the end):
$bodycut = strlen($bmatches[0]) + $bodytag;

And that should take care of the issue.