Ok, this is the main part i needed
Code:
// do light bulb
if ($bbuserinfo['lastvisitdate']=='Never') {
$forum['onoff']='on';
} else {
if ($bbuserinfo['lastvisit']<$forum['lastpost']) {
$forum['onoff']='on';
} else {
$forum['onoff']='off';
}
}
Now wouldnt this be something else like thread instead of forum, since i want to see if the thread has been updated, not the forum
Code:
$forum['lastpost'])
Also shoudnt
Have to be recognized as something
Im not a wiz at this, so thanks for going through it with me