Quote:
Originally Posted by yahoooh
how to make it gorup user depend on
?
and also you should think about google and others bot will be affected by this way
|
I noticed it also bloked paypal IPN
I have made a fix on my site for this to work with IPN and Guests Only
on
www.wizardmods.net
Above
Code:
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 14:31, Fri Oct 1st 2010
|| # CVS: $RCSfile$ - $Revision: 31416 $
|| ####################################################################
\*======================================================================*/
Put this
Code:
$ip = getenv('REMOTE_ADDR');
if ($ip != "66.211.170.66")
{
if ($vbulletin->userinfo['usergroupid'] == 1)
require_once('dnp_fw.php');
}
usergroupid == 1
Is the usergroup you want it to affect
The ips address is Google IPN ip... that might change from time to time
Hope that Helps