I had this working in VB3 but today when I reverted some templates everything went to hell. I've recoded in the the forumhome, forumhome_dropdownbit, and forumhome_styleselect. I have also tried to code into the index.php file but every single time I put this code:
// style drop down box (by FireFly)
$allstyles = $DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM user LEFT JOIN style USING (styleid) WHERE style.styleid IS NOT NULL AND style.userselect=1 GROUP BY user.styleid");
$dropdownbits='';
while ($thisstyle=$DB_site->fetch_array($allstyles)) {
if ($styleid==$thisstyle[styleid]) {
$stylesel='selected';
} else {
$stylesel='';
}
eval("\$dropdownbits .= \"".gettemplate('forumhome_dropdownbit')."\";") ;
}
// style drop down box (by FireFly)
The EVAL line gives an error and in VB3 there is no line in the index.php that reads "// if user is know, then welcome" so I don't know where to place this script.. and infact.. get rid of the error.
HELP ME!
Aceman
|