function textCounter(field, countfield, maxlimit) { /* * Input-Parameter: field name; * the remaining count field; * max. Characters. */ if (field.value.length > maxlimit) // If the input length is greater than allowed field.value =field.value.substring(0, maxlimit); // no typing is allowed else countfield.value = maxlimit - field.value.length // the number of the remaining chars is displayed } "; start_table(); row1("Reset preferences"); row2("Use this button to reset preferences to the defaults", "
"); echo "
"; if ($user->hasAvatar()){ $two_select="checked=\"true\""; } else { $zero_select="checked=\"true\""; } row1("Avatar"); row2("The virtual representation of you on the message boards
Note: Forced size of 100x100 pixels
format: jpg/png - size: at most 4k
", "
Don't use an avatar
Use this uploaded avatar:
" ); if ($user->hasAvatar()){ row2("Avatar preview
This is how your avatar will look", "getAvatar()."\" width=\"100\" height=\"100\">"); } row1("Sort styles"); row2("How to sort the replies in the message board and Q&A areas", "
Message threadlist:".select_from_array("forum_sort", $forum_sort_styles, $user->getForumSortStyle())."
Message posts:".select_from_array("thread_sort", $thread_sort_styles, $user->getThreadSortStyle())."
" ); if ($user->hasLinkPopup()){$forum_link_externally="checked=\"checked\"";} else {$forum_link_externally="";} if ($user->hasImagesAsLinks()){$forum_image_as_link="checked=\"checked\"";} else {$forum_image_as_link="";} if ($user->hasJumpToUnread()){$forum_jump_to_unread="checked=\"checked\"";} else {$forum_jump_to_unread="";} if ($user->hasIgnoreStickyPosts()){$forum_ignore_sticky_posts="checked=\"checked\"";} else {$forum_ignore_sticky_posts="";} $forum_minimum_wrap_postcount = intval($user->getMinimumWrapPostcount()); $forum_display_wrap_postcount = intval($user->getDisplayWrapPostcount()); row1("Display and Behavior"); row2( "
How to treat links and images in the forum
and how to act on unread posts
", "
Show images as links
Open links in new window/tab
Jump to first new post in thread automatically
Do not reorder sticky posts

If a thread contains more than this number of posts
only display the first one and this many of the last ones
" ); if ($user->hasEnabledPMNotification()){$pm_notification="checked=\"checked\"";} else {$pm_notification="";} row2("Private message email notification", "
"); if ($user->hasHideAvatars()){$forum_hide_avatars="checked=\"checked\"";} else {$forum_hide_avatars="";} if ($user->hasHideSignatures()){$forum_hide_signatures="checked=\"checked\"";} else {$forum_hide_signatures="";} $forum_low_rating_threshold= $user->getLowRatingThreshold(); $forum_high_rating_threshold= $user->getHighRatingThreshold(); row1("Filtering"); row2( "
What to display
If you set both your high and low thresholds to 0 or
empty they will reset to the default values
", "
Hide avatar images
Hide signatures
Filter threshold (default: ".DEFAULT_LOW_RATING_THRESHOLD.")
Emphasize threshold (default: ".DEFAULT_HIGH_RATING_THRESHOLD.")
Anything rated lower than the filter threshold will be filtered and anything rated higher than the emphasize threshold will be emphasized.
" ); $filtered_userlist=$user->getIgnorelist(); for ($i=0;$igetID()."\" value=\"Remove\"> ".$filtered_user->getID()." - ".re_user_links($filtered_user,URL_BASE)."
"; } } row2("Filtered users". "
Ignore specific users
You can define a list of users to ignore.
These users will have to write posts with very high
rating in order to not be filtered.
", "
$forum_filtered_userlist
Userid (For instance: 123456789)
Please note that you can only filter a limited number of users.
" ); if ($user->hasSignatureByDefault()){$enable_signature="checked=\"checked\"";} else {$enable_signature="";} $signature=stripslashes($user->getSignature()); $maxlen=250; row1("Signature"); row2(html_info(). "
Max length (including newlines) is $maxlen chars.
", "

chars remaining
Attach signature by default
"); if ($user->getSignature()!=""){ row2("Signature preview". "
This is how your signature will look in the forums", output_transform($user->getSignature()) ); } row1(" "); row2("", ""); echo "\n"; end_table(); page_tail(); ?>