Add IP Option for hide and mask 1.2a (SP 1) Add option to disable IP address from showing on posts to admin center. If a language other than english is selected, you will want to translate the texts "Show IP in posts?", "Show alternate text for IP?" and "Alternate text to show for IP" in Admin.pl to your selected language. ************************************** Original Author : Drue Pautz Updated to SP1 by Sonic Added features by CescoAiel ************************************** Drue Pautz, Sonic, CescoAiel www.scotsonphones.co.uk/YaBB, www.FamPeeters.com Settings.pl ########## Layout ########## $showip = 0; # Set to 1 to display IP on message $loggedip = 0; # Set to 1 to display custom text in stead of IP $loggediptxt = "IP logged"; # The text to display instead of the IP Sources/Display.pl $mip $mip_string $mip = $settings[7] eq 'Administrator' ? $mip : "$txt{'511'}"; if ($showip) { $mip_string = ' ' . $mip . ''; } elsif ($loggedip) { $mip_string = ' ' . $loggediptxt . ''; } else { $mip_string = ''; } Sources/AdminEdit.pl $txt{'740'} Show IP on posts? Show alternate text for IP? Alternate text to show for IP if ($showyabbcbutt) { $syabbcchecked = "checked" } if ($showip) { $sipchecked = "checked" } if ($loggedip) { $lipchecked = "checked" } \$showyabbcbutt = $showyabbcbutt; # Set to 1 to display the yabbc buttons on Posting and IM Send Pages \$showip = $showip; # Set to 1 to display IP on message \$loggedip = $loggedip; # Set to 1 to display custom text in stead of IP \$loggediptxt = \"$loggediptxt\"; # The text to display instead of the IP # Set as 0 or 1 if box was checked or not my $fi; push @onoff, 'showip'; push @onoff, 'loggedip'; $timeoffset = $FORM{'timeoffset'} || 0; $loggediptxt = $FORM{'loggediptxt'} || "IP logged";