#2 Mar 16, 2008 06:18
The odd thing there is
$comment_cookies ? ' checked="checked"' : ''
I can't for the life of me see any way where $comment_cookies can be 'true' for a first-time visitor.
It can't and that's the whole point of it. The cookie can is created on the moment you click "remember me". It's only supposed to 'remember' a previous setting.
For this fact you simply cannot 'opt-out' for new visitors. And logged in members get their 'preferred name' by default. So you're only bothered with not logged in members. Eat them. Or copy the code for creating the 'remember me' cookie and paste that right after their registration.