PDA

View Full Version : Forum integration issue


MC1
12-06-2004, 12:32 PM
I'm working on a site that was installed by another person. I've read the installation docs, and the readme, and verified that he performed all the steps correctly and that nothing was missing........

Everything looks fine on the CMPS page. I've added some modules, changed the layout, etc. with no problems. But when I follow the steps to integrate the CMPS modules/layout on the forum pages, the "Custom Content" always ends up at the top of the first column (no matter what column or order I choose). I ran the w3c HTML validator on the page and it says it is valid xhtml. Looking at the source generated, it is clear that the page content is placed right after the <td> for the first column.

I've tried the forumhome.php (the original vBulletin index) and the forumdisplay.php (just in case it was a template issue), and both exhibit the same behavior.

You can view it here: http://www.hangingoutthewash.com/forumdisplay1.php?f=7

This seems to work for others (based on perusing these forums), so I'm at a loss.

Thanks.

This is CMPS v1.0.0 on vBulletin v3.0.3

Brian
12-06-2004, 12:45 PM
In your forum/includes/vba_cmps_include_bottom.php file try looking for this:
if ($mods['identifier'] == 'custompage' AND $pages['template'])
{
$cusid = $mods['modid'];
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template($pages['template']) . '";');
}


Replace it with this:
if ($mods['identifier'] == 'custompage')
{
$cusid = $mods['modid'];
if ($pages['template'])
{
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template($pages['template']) . '";');
}
}


And see if that makes any difference.

Our Sponsors
 

MC1
12-06-2004, 01:16 PM
Beautiful!!!

Thank you very much!

:D

moses
04-01-2005, 06:00 AM
thanks, that worked for me also!