Login module for member (not administrator site) - Joomla! Forum - community, help and support


hi all,

i looking block login access member page specific ip address. tried .htaccess doesn't seems working. idea?

please take note not asking login administrator (back end)

appreciate if here help.

thank you.

if know user(s), there method block them in admin > user manager. otherwise need insert php code in template determine referring ip , redirect

code: select all

$kickout = $_server['remote_addr'];

if( preg_match('/174.141.213.30|72.186.109.58|132.45.66.83/',$kickout) ) {
header('location: http://google.com');
exit();
}





Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support