Quote:
Originally posted by Silenced Soul
Yes, the forumid 1/2 are the forumid's that you don't want to be included, and your queries would look like this:
$getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit] AND forumid!=forumid1 AND forumid!=forumid2
'");
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit] AND forumid!=forumid1 AND forumid!=forumid2
'");
|
This worked.
Thanks a lot!
Too bad none of the other members feeled the need to answer this question.