I did it... you use the userid instead of username...
To ignore posts totals from the guest user, simply edit your index.php and change:
Code:
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
to:
Code:
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post WHERE userid!=0');
If you run a script such as webwelcome where it picks out the number of posts since the user last logged in, just find the line:
Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");
and change to:
Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]' AND userid!=0");
HOWEVER - this doesn't solve my initial issue, making a forum transparent. Apparently since the forumid is not logged to the posts table, this might be impossible unless we add a column to the table such as "ignoreforum" and set it to 1 or 0 when posting items for that forum. Then we could look for ignoreforum!=1 and it would probably work.
Problem is, I don't know enough to do that.. but I'll keep looking. I know in my original case the NNTP gateway hack did add an "isnntpgateway" column which I could have used. If I can figure out how it is setting this, I can probably complete this "hack" (so to speak)