Ogden2k
01-02-2005, 07:45 PM
This isn't an issue with the hack, but with vBa CMPS.
I have this code in the phpinclude_start template:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM ".TABLE_PREFIX."post WHERE dateline > '$bbuserinfo[lastvisit]'");
Then I place this in the Nav template: $getnewpost[posts]
It worked on vBa 1.1, but does not with vBa CMPS. Why is that?
I have this code in the phpinclude_start template:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM ".TABLE_PREFIX."post WHERE dateline > '$bbuserinfo[lastvisit]'");
Then I place this in the Nav template: $getnewpost[posts]
It worked on vBa 1.1, but does not with vBa CMPS. Why is that?