Set Max length of Personal Text
1.2a
Allows you to set the max number of characters in a users personal text. Because some members decide to post a story! The default number is 40. It also lets the user know how big their avatar must be.
Version 1.2a
- Fixed tiny bug
- Added a nice touch to the profile to tell the user what size him/her must have their avatar or it will be resized. Before they didn't know.
- Changed the layout of the mod, so the user can now see how many characters s/he can still post, and is still compatible with all mods.
- Set maximum length of personal text from admin center.
1) Install mod
2) Upload profile.pl,admin.pl and english.lng
3) Go to your prefrences and change the default number if you want.
Big P
webmaster@rapmad.com
http://community.rapmad.com
Big P
http://www.rapmad.com
Sources/Profile.pl
$txt{'228'}:
$pertxt{'01'}
$pertxt{'03'}
$txt{'474'} $userpic_limits
$txt{'474'} $pertxt{'04'}
Sources/Admin.pl
$color{'titlebg'} = $FORM{'titlebg'} || '#FFB903';
$pertxt = $FORM{'pertxt'} || '40';
\$maintenance = $maintenance; # Set to 1 to enable Maintenance mode
\$pertxt = $pertxt; # Max length of personal text
$txt{'689'}
$pertxt{'02'}
english.lng
$txt{'155'} = "Maintenance Mode";
$pertxt{'01'} = "Personal Text:";
$pertxt{'02'} = "Set the max length of the personal text:";
$pertxt{'03'} = "Max $pertxt; characters remaining:";
$pertxt{'04'} = "Please note that your image has to be gif or jpg. It must also be $userpic_width by $userpic_height pixels or it will be resized to $userpic_width by $userpic_height pixels.";