Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.

Forum Update Notes for Version 2.2.0

Discussion Forum 2.2.0 requires version 1.6.9 or greater of ExpressionEngine.

A number of additions have been made to the forum themes. If you have not customized your existing forum templates:

Simply replace your entire forum theme folder with the new set:

themes/forum_themes/

The update process is now complete. You can disregard the rest of the information in this page.

If you have customized your existing templates:

If you have customized the look of your forum you will need to manually add the new template features described below.

Javascript to prevent accidental deletion of attachments on edit

To prevent the possibility of deleting an attachment when editing a forum post, auto-submitting when pressing the enter key in a text field has been disabled using javascript. To add this change manually, you will need to edit three fields, all found in /themes/forum_themes/theme_name/theme_submission.php:

Submission Form Template

Replace:

<input type="text" class="input" name="title" style='width:100%' size="90" value="{title}" />

with:

<input type="text" class="input" name="title" style='width:100%' size="90" value="{title}" onkeydown="var evt = arguments[0] || window.event; return (evt.keyCode != 13);" />

Replace:

<input type="text" class="input" name="poll_question" style='width:75%' size="90" value="{poll_question}" />

with:

<input type="text" class="input" name="poll_question" style='width:75%' size="90" value="{poll_question}" onkeydown="var evt = arguments[0] || window.event; return (evt.keyCode != 13);" />

Poll Answer Field Template

Replace:

<input type="text" class="input" name="option[{n}]" style="width:50%" size="60" value="{poll_answer}" maxlength="120" />

with:

<input type="text" class="input" name="option[{n}]" style="width:50%" size="60" value="{poll_answer}" maxlength="120" onkeydown="var evt = arguments[0] || window.event; return (evt.keyCode != 13);" />

Additional Localization Variables

A number of new localization variables have also been added. They are listed below.

New Localization Variables
File nameTextLocalization Replacement
theme_announcements.phpAvatar{lang:avatar}
Rank{lang:rank}
PM{lang:pm_abbrev}
theme_atom.phpCopyright{lang:copyright}
theme_member.phpRank{lang:rank}
Email Console{lang:email_console}
Send Private Message{lang:send_pm}
AOL IM{lang:mbr_aim_console}
ICQ{lang:mbr_icq}
Yahoo Messenger{lang:mbr_yahoo}
No Photo{lang:no_photo}
{current_page} of {total_pages}{current_page} of {total_pages}
Search Field{lang:search_field}
Screen Name{lang:mbr_screen_name}
Email Address{lang:mbr_email_address}
URL{lang:mbr_url}
Location{lang:mbr_location}
I am Online{lang:am_online}
Add me to your Buddy List{lang:add_to_buddy}
Smileys{lang:smileys}
KB{lang:kb}
Private Message{lang:private_message_single}
value=Searchvalue={lang:search}
value=Submitvalue={lang:submit}
theme_legends.phpOld Topic{lang:legend_old_topic}
New Topic{lang:legend_new_topic}
Hot Topic{lang:legend_hot_topic}
New Poll{lang:legend_new_poll}
Moved Topic{lang:legend_moved_topic}
Hot Old Topic{lang:legend_hot_old_topic}
Old Poll{lang:legend_old_poll}
Closed Topic{lang:legend_closed_topic}
Announcement{lang:announcement}
theme_search.phpTotal Results:{lang:total_results}
{current_page} of {total_pages}{current_page} {lang:of} {total_pages}
</a> by <a</a> {lang:by} <a
value=Searchvalue={lang:search}
theme_threads.phpPM{lang:pm}
Expand{lang:expand}
Collapse{lang:collapse}
Avatar{lang:avatar}
Rank{lang:rank}
theme_global.phpAtom feed{lang:atom_feed}
RSS feed{lang:rss_feed}
Powered by ExpressionEngine{lang:powered_by_ee}
ExpressionEngine Discussion Forum{lang:ee_discussion_forum}
Version{lang:version}
ExpressionEngine Forums{lang:ee_forums}
No New Messages{lang:no_new_messages}
New Messages{lang:new_messages}
theme_rss.phpCopyright{lang:copyright}
theme_topics.php{current_page} of {total_pages}{current_page} {lang:of} {total_pages}
theme_user_banning.phpThis member is currently banned{lang:member_is_banned}



Return to Update Page