fly
10-21-2005, 03:11 PM
I have amy's hack installed (with some changes) to post a thread after a new user verifies their email address. However, I have a problem. I'm using the hook 'register_activate_process' which works great, but this hook is also used if someone changes their email address. How can I check if this is a new registration or not?
Thinking while typing: Hmmm, would a check for a postcount of zero work? What is that variable?
edit:if ($vbulletin->userinfo['posts'] == '0')
{
CODE
}
that should work, right?
final edit: Yeah, that works. No need for the thread now! IM A GENIUS!
Thinking while typing: Hmmm, would a check for a postcount of zero work? What is that variable?
edit:if ($vbulletin->userinfo['posts'] == '0')
{
CODE
}
that should work, right?
final edit: Yeah, that works. No need for the thread now! IM A GENIUS!