ExpressionEngine

2.11.9 User Guide

Retired Documentation

You are using the documentation for version 2.11.9. Go here for the latest version or check here for your available upgrades to the latest version.

Forum Update Notes for Version 3.1.0

Discussion Forum 3.1.0 requires version 2.0.2 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 two files, both found in /themes/forum_themes/theme_name/forum_submission/:

Submission Form Template (submission_form.html)

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 (poll_answer_field.html)

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 name Text Localization Replacement theme_announcements.php Avatar {lang:avatar} Rank {lang:rank} PM {lang:pm_abbrev} theme_atom.php Copyright {lang:copyright} theme_member.php Rank {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=Search value={lang:search} value=Submit value={lang:submit} theme_legends.php Old 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.php Total Results: {lang:total_results} {current_page} of {total_pages} {current_page} {lang:of} {total_pages} </a> by <a </a> {lang:by} <a value=Search value={lang:search} theme_threads.php PM {lang:pm} Expand {lang:expand} Collapse {lang:collapse} Avatar {lang:avatar} Rank {lang:rank} theme_global.php Atom 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.php Copyright {lang:copyright} theme_topics.php {current_page} of {total_pages} {current_page} {lang:of} {total_pages} theme_user_banning.php This member is currently banned {lang:member_is_banned} Return to Update Page