FIXED IT!!
Ok, if you have who's online installed open up ubb_forum.cgi find :
$ThisHTML .= &page_bottom; # some HTML
$ThisHTML .= $Footer;
local($ThatHTML);
$ThatHTML = $ThisHTML;
$ThatHTML =~ s//$replace/g;
print "$ThatHTML";
undef($ThatHTML);
and replace it with:
$ThisHTML .= &page_bottom; # some HTML
$ThisHTML .= $Footer;
if ($vars_misc{count_views} ne 'no') {
&processVIEWS($ThisHTML);
}
local($ThatHTML);
$ThatHTML = $ThisHTML;
$ThatHTML =~ s//$replace/g;
print "$ThatHTML";
undef($ThatHTML);
next scroll to the bottom of the file and find
if ($vars_misc{count_views} ne 'no') {
&processVIEWS($ThisHTML);
}
print "$ThisHTML";
and delete it.
The problem was that who's online changed $ThisHTML to $ThatHTML so that the cgi script loaded both, and that caused it to load 2 instances of the page. What i've done is incorporated the code for the views, which used $ThisHTML - and made it so that it was added to $ThatHTML - which was then shown.
[ May 04, 2001 01:01 PM: Message edited by: berzerka ]