Quote:
Originally Posted by thuffner
How do you make it not count a specific user though? Chris, where in that code do you specify a User ID or something identifying the person you dont want their posts to count?
Thanks. 
|
Try this:
Change:
PHP Code:
$user->set('posts', 'posts + 1', false);
To:
PHP Code:
if($this->registry->userinfo['userid'] != 9999)
{
$user->set('posts', 'posts + 1', false);
}
Replace 9999 with the proper userid.