Set Personal Text Length - SP1 1.0 Allows you to set the personal text length from the admin center's Settings and Preferences menu. Paul-Robert Archibald http://www.archtechnologies.co.uk Settings.pl $TopAmmount = 15; # No. of top posters to display on the top members list $PersonalText = 50; # To set the length of the personal text $PersonalTextPlus = 51; # To set the legnth of the personal text Plus 1 english.lng $txt{'749'} = "The 'number of posts' box can only contain digits."; $ptltxt{'01'} = "# To set the Personal Text Length too "; $txt{'757'} = "Your usertext is too long! It must be less than 51 characters."; $txt{'757'} = "Your usertext is too long! It must be less than $PersonalTextPlus characters."; Sources/AdminEdit.pl
$ptltxt{'01'}
$TopAmmount = $FORM{'TopAmmount'} || 25; $PersonalText = $FORM{'personaltext'} || 50; $PersonalTextPlus = $PersonalText+1; \$TopAmmount = $TopAmmount; # No. of top posters to display on the top members list \$PersonalText = $PersonalText; # To set the length of the personal text \$PersonalTextPlus = $PersonalTextPlus; # To set the legnth of the personal text Plus 1 Sources/Profile.pl if(length($member{'usertext'}) > 51) { &fatal_error("$txt{'757'}"); } if(length($member{'usertext'}) > $PersonalTextPlus) { &fatal_error("$txt{'757'}"); }