didn't work.. still get the same error... here's the top part of my showthread.php...
PHP Code:
<?php
error_reporting(7);
$action = $HTTP_GET_VARS['action'];
$goto = $HTTP_GET_VARS['goto'];
if ( isset($goto) and ($goto=='lastpost' or $goto=='newpost')) {
$noheader=1;
}
/// this is where my stuff begins... added dbsite...
global $DB_site;
$userstuff = $DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
// there's more after this....
did i put global $DB_site in the right place?
also, i'm trying to use the eval.... etc.. gettemplate command a few lines below that.... would that cause problems? Also, it sez the error is on line 14, here's my line 14....
PHP Code:
$userstuff = $DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]");
additionally, when i put this underneat the "showthread" bunch of "/'s" and "#"'s, it works fine...