/* * 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; } } } } }
Hi!
In the worlds with many players, the in-game forum gets used a lot. As it isn't possible to see if there are new posts in a thread like in a normal forum, I use the index page to see what new posts there are in the forum. But it only shows the three newest posts, leaving many more posts unseen. I really like reading the airline news threads, when new posts arrive I like to just take a pause and read the new post.
I think adding a couple more posts on the index page will improve the in-game forum.
...I think the limit to one post per thread is a good idea. Sometimes threads go on for an eternity if left alone for a couple of hours.
limited to one post per thread or all posts or allow a user preference. I'll think about the user preference end a bit more but hopefully will get a chance to do a quick fix.