// Tripcode indicator // t++ //++++----
// This may be a blob of code but it apparently works >< please help me here
$tripkeycount = substr_count($name, TRIP_KEY);
- if($config['ALLOW_NONAME']==3){
+ /*if($config['ALLOW_NONAME']==3){
if($name) $name = '';
if($tripkeycount) $name = '';
if($email) $now = "<a href=\"mailto:$email\" class=\"linkmail\">$now</a>";
- }elseif($config['ALLOW_NONAME']==2){ // 強制砍名
+ }else
+ */if($config['ALLOW_NONAME']==2){ // 強制砍名
if($tripkeycount==1) $name = preg_match('/(\\'.TRIP_KEY.'.{10})/', $name, $matches) ? '<span class="postertrip">'.$matches[1].'</span>' : '';
if($tripkeycount==2) $name = preg_match('/(\\'.TRIP_KEY.TRIP_KEY.'.{16})/', $name, $matches) ? '<span class="postertrip">'.$matches[1].'</span>' : '';
if($tripkeycount==3) $name = preg_match('/(\\'.TRIP_KEY.'.{32})/', $name, $matches) ? '<span class="postertrip">'.$matches[1].'</span>' : '';