function textCounter(field, countfield, maxlimit) { if (field.value.length > maxlimit) { field.value =field.value.substring(0, maxlimit); } else { countfield.value = maxlimit - field.value.length } } "; start_table(); echo "
"; $zero_select = $two_select = ""; if (strlen($user->prefs->avatar)){ $two_select="checked=\"true\""; } else { $zero_select="checked=\"true\""; } row1("Identity"); row2("Avatar
An image representing you.
Format: JPG or /PNG. Size: at most 4 KB, 100x100 pixels
", "Don't use an avatar
Use this uploaded avatar: " ); if (strlen($user->prefs->avatar)){ row2("Avatar preview
This is how your avatar will look", "prefs->avatar."\" width=\"100\" height=\"100\">"); } if (!$user->prefs->no_signature_by_default){ $signature_by_default="checked=\"checked\""; } else { $signature_by_default=""; } $signature=stripslashes($user->prefs->signature); $maxlen=250; row2( "Signature
Max length (including newlines) is $maxlen chars.". html_info(), "
chars remaining
Attach signature by default " ); if ($user->prefs->signature!=""){ row2("Signature preview". "
This is how your signature will look in the forums", output_transform($user->prefs->signature) ); } row1("Private message notification"); if ($user->prefs->pm_notification){ $pm_notification="checked=\"checked\""; } else { $pm_notification=""; } row2( "Send email notification of new private messages", "" ); row1("Message display"); row2("How to sort threads and posts", "Threads: ".select_from_array("forum_sort", $forum_sort_styles, $user->prefs->forum_sorting)."
Posts: ".select_from_array("thread_sort", $thread_sort_styles, $user->prefs->thread_sorting) ); if ($user->prefs->link_popup){ $forum_link_popup="checked=\"checked\""; } else { $forum_link_popup=""; } if ($user->prefs->images_as_links){ $forum_image_as_link="checked=\"checked\""; } else { $forum_image_as_link=""; } if ($user->prefs->jump_to_unread){ $forum_jump_to_unread="checked=\"checked\""; } else { $forum_jump_to_unread=""; } if ($user->prefs->ignore_sticky_posts){ $forum_ignore_sticky_posts="checked=\"checked\""; } else { $forum_ignore_sticky_posts=""; } $forum_minimum_wrap_postcount = intval($user->prefs->minimum_wrap_postcount); $forum_display_wrap_postcount = intval($user->prefs->display_wrap_postcount); 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->prefs->hide_avatars){ $forum_hide_avatars = "checked=\"checked\""; } else { $forum_hide_avatars = ""; } if ($user->prefs->hide_signatures){ $forum_hide_signatures = "checked=\"checked\""; } else { $forum_hide_signatures = ""; } $forum_low_rating_threshold = $user->prefs->low_rating_threshold; $forum_high_rating_threshold = $user->prefs->high_rating_threshold; row1("Message 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
" ); // the following deprecated // //Filter threshold (default: ".DEFAULT_LOW_RATING_THRESHOLD.") //
//Emphasize threshold (default: ".DEFAULT_HIGH_RATING_THRESHOLD.") //
Messages rated lower than the filter threshold will be filtered and messages rated higher than the emphasize threshold will be emphasized." $filtered_userlist = get_ignored_list($user); $forum_filtered_userlist = ""; for ($i=0; $iid."\" value=\"Remove\"> ".$filtered_user->id." - ".user_links($filtered_user)."
"; } } row2("Filtered users". "
Ignore specific users
You can define a list of users to ignore.
", "$forum_filtered_userlist
User ID (For instance: 123456789)

Please note that you can only filter a limited number of users. " ); row1("Update"); row2("Click here to update message board preferences", ""); echo "\n"; row2("Or click here to reset preferences to the defaults", "
" ); end_table(); page_tail(); $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit ?>