Quote:
|
Originally Posted by deadhobo Thanks to both of you for restarting the discussion. I was turned off the idea after asking on another vB site which basically turned out that I would need to hire a coder if I wanted it done (not going to happen).
I looked into the register template and register.php, but I can't find where the actual email verification is setup; I found this which informed me of the "$vbphrase[ip]: $post[ip]" phrase, which I think would work perfectly with an if statement... if I can just find where to put it. |
No it won't, the $post array variable is for each of the postbits. If you are not in a post it's not going to work. $bbuserinfo['userid'] should work if there members but they are not yet so you actually want: $_SERVER['REMOTE_ADDR']
If you wanted to set up a range then first of all you would have to split the ip address into chunks, lets say the ip is 192.168.0.1 in a php script you need to put:
You must first be a
registered member to view any code.
now $ipsplit[0] = 192
$ipsplit[1] = 168
$ipsplit[2] = 0
$ipsplit[3] = 1