Quote:
Originally Posted by Jennifer Marx
I tried this -- and put $styleid = 8; in the phpinclude field, but it seems to do nothing. It appears the original poster had this issue as well. But thank you for trying to help me -- I do appreciate it! 
|
ok try putting this into phpinclude of the webtemplate:
PHP Code:
$styleid = 8;
$vbulletin->userinfo['styleid'] = $styleid;
$userselect = true;
$style = $db->query_first_slave("
SELECT *
FROM " . TABLE_PREFIX . "style
WHERE styleid = '$styleid'
LIMIT 1
");
eval('$header = "' . fetch_template('header') . '";');
eval('$footer = "' . fetch_template('footer') . '";');
eval('$headinclude = "' . fetch_template('headinclude') . '";');