/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Raw Paleo Diet Forums > Suggestion Box
"Science" section
Iguana:
The "Science" section should be moved out of the "Members only" part! Why is it there?
TylerDurden:
Craig and I originally wanted a few forums to be only available to members, this incentivising people to register as members in order to read the posts in those forums. I would prefer forums where people post privately (eg:- personals forum/journals etc.) to be only available to members, so I have no issue with the science forum becoming available to non-members as well.
goodsamaritan:
I agree with Iguana too.
So... let's move it then?
TylerDurden:
--- Quote from: goodsamaritan on August 07, 2017, 10:51:07 am ---I agree with Iguana too.
So... let's move it then?
--- End quote ---
Fair enough.
surfsteve:
Now it just made me sign in as a registered member to view everything in the forum.
Navigation
[0] Message Index
[#] Next page
Go to full version