Robert Carver
10-03-2004, 10:45 AM
This is probably related to the problem I asked about in http://www.vbadvanced.com/forum/showthread.php?t=2750 but wanted to run this past everyone.
I have followed the directions on the VBadvanced manual for integrating other VB pages and hacks, and have applied the integration to index.php, forumdisplay.php, and showthread.php. However, when I follow the instructions and find this:
eval('print_output("' . fetch_template('FORUMHOME') . '");');
and replace it with this:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
I get this showing up TWICE on the page, once at the top (where it should be, and a second time in the middle of the page:
<html dir="ltr" lang="en">
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>BudoSeek! Martial Arts Community Forums - powered by vBulletin</title>
Here again are my test pages if someone would like to look at them.
http://www.budoseek.net/vbulletin/cmps_index.php
http://www.budoseek.net/vbulletin/cmps_forumdisplay.php?f=56
http://www.budoseek.net/vbulletin/cmps_showthread.php?t=7215
I have also included a screen shot of what one of my Windows users is having problems with. As you see, the forum table is starting below my cmps module on the left.
So why is the opening HTML tag and meta tags reprinting?
Thanks for your help in advance!
I have followed the directions on the VBadvanced manual for integrating other VB pages and hacks, and have applied the integration to index.php, forumdisplay.php, and showthread.php. However, when I follow the instructions and find this:
eval('print_output("' . fetch_template('FORUMHOME') . '");');
and replace it with this:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
I get this showing up TWICE on the page, once at the top (where it should be, and a second time in the middle of the page:
<html dir="ltr" lang="en">
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>BudoSeek! Martial Arts Community Forums - powered by vBulletin</title>
Here again are my test pages if someone would like to look at them.
http://www.budoseek.net/vbulletin/cmps_index.php
http://www.budoseek.net/vbulletin/cmps_forumdisplay.php?f=56
http://www.budoseek.net/vbulletin/cmps_showthread.php?t=7215
I have also included a screen shot of what one of my Windows users is having problems with. As you see, the forum table is starting below my cmps module on the left.
So why is the opening HTML tag and meta tags reprinting?
Thanks for your help in advance!