HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

3.0.9

Title Attachment upload-failure creating ghostly content
Description If an attachment fails to upload correctly (typically due to it being too large, or a corrupt image), then the content entry will remain on the server without a properly associated Comcode textual resource. This can result in a 'ghost entry' being displayed in place of a proper resource if the '0' textual resource has been written-to previously (such as by editing one of these failed entries).
Affects All users
Fix This will be fixed in the next release.

Back to the top

Comments / View


Title Catalogue e-mail fields displayed incorrectly
Description Catalogue e-mail fields do not display correctly.
Affects All users of catalogues with email fields
Fix Change line 306 of sources/catalogues.php from:

Code

               $use_ev=hyperlink(mailto_obfuscated().' '.$ev,escape_html(obfuscate_email_address($ev)));
to:

Code

               $use_ev=make_string_tempcode('<a href="'.mailto_obfuscated().obfuscate_email_address(escape_html($ev)).'">'.obfuscate_email_address(escape_html($ev)).'</a>');

Back to the top

Comments / View


Title Catalogue input fields that don't support Comcode say that they do
Description Catalogue input fields that don't support Comcode say that they do when adding/editing an entry to/in a catalogue.
Affects All users
Fix Change lines 188-195 of cms/pages/modules/cms_catalogues.php from:

Code

            case 'short_text':
            case 'short_trans':
               $function='form_input_line_comcode';
               break;
            case 'long_text':
            case 'long_trans':
               $function='form_input_text_comcode';
               break;
to:

Code

            case 'short_text':
               $function='form_input_line';
               break;
            case 'short_trans':
               $function='form_input_line_comcode';
               break;
            case 'long_text':
               $function='form_input_text';
               break;
            case 'long_trans':
               $function='form_input_text_comcode';
               break;

Back to the top

Comments / View


Title Catalogue long-text fields do not display correctly
Description Catalogue fields of 'a block of text (no comcode support)' do not respect whitespace when displayed.

A fix is described here. Please note that this fix will not cause properly display in the ocPortal preview box at the add/edit stage, due to limitations of how the preview system is designed.
Affects All users of catalogues with 'long-text' fields
Fix Change lines 308-312 of sources/catalogues.php from:

Code

            case 'user':
               $username=$GLOBALS['FORUM_DRIVER']->get_username($ev);
               if (is_null($username)) $username=do_lang('UNKNOWN');
               $use_ev=hyperlink($GLOBALS['FORUM_DRIVER']->member_profile_link($ev),escape_html($username));
               break;
to:

Code

            case 'user':
               $username=$GLOBALS['FORUM_DRIVER']->get_username($ev);
               if (is_null($username)) $username=do_lang('UNKNOWN');
               $use_ev=hyperlink($GLOBALS['FORUM_DRIVER']->member_profile_link($ev),escape_html($username));
               break;
            case 'long_text':
               $use_ev=make_string_tempcode('<span style="white-space: pre">'.escape_html($ev).'</span>');
               break;
(in other words, add three new lines underneath)

Back to the top

Comments / View


Title CEDI 'random page' feature broken
Description The 'random page' feature for CEDI does not function: a '(…) no output' error is given.
Affects All users
Fix Change line 235 of site/pages/modules/cedi.php from:

Code

      if ($type=='misc') return $this->page();
to:

Code

      if (($type=='misc') || ($type=='random')) return $this->page();

Back to the top

Comments / View


Title CEDI attachment permissions problems
Description The permissions for attachments to CEDI pages and posts cannot be retrieved.
Affects Attachments made to CEDI posts and pages.
Fix Extract the contents of the attached patch ZIP into your installation.
Fix files cedi.zip

Back to the top

Comments / View


Title Chat stability improvements
Description The chat system used to cease checking for new messages if a reqest failed, meaning that no new messages would appear, even if they were being posted correctly. These files correct the problem.
Affects Users of the chat system with bad connections
Fix Extract the files from the attachment into your ocPortal installation, overwriting the originals. If you have made modifications to either JAVASCRIPT_AJAX.tpl or JAVASCRIPT_CHAT.tpl in custom themes, you will need to run a diff between the files and copy our changes across.
Fix files chat.zip

Back to the top

Comments / View


Title Clicking on calendar cell to add event always makes it in the morning
Description You may click on calendar hour cells to add a calendar event, but for example, 4pm would be linked to add under 4am.
Affects All users
Fix Change lines 529 and 679 of /site/pages/modules/calendar.php from:

Code

                  $add_url=build_url(array('page'=>'cms_calendar','type'=>'ad','date'=>date('Y-m-d h:i:s',$timestamp)),get_module_zone('cms_calendar'));
to:

Code

                  $add_url=build_url(array('page'=>'cms_calendar','type'=>'ad','date'=>date('Y-m-d H:i:s',$timestamp)),get_module_zone('cms_calendar'));

(i.e. "h:i:s" becomes "H:i:s")

Back to the top

Comments / View


Title Comcode buttons don't work for chat messages
Description The Comcode buttons for the message input in a chatroom don't work.
Affects Users of the chat system
Fix Add the following after line 227 of /site/pages/modules/chat.php:

Code

require_javascript('javascript_posting');
So that lines 227 and 228 become:

Code

require_javascript('javascript_validation');
require_javascript('javascript_posting');

Back to the top

Comments / View


Title Errors sending emails to default admin/test users
Description A 'recoverable error' relating to failure to send e-mail, will be displayed when ocPortal tries to send an e-mail to a member without an e-mail address.
ocPortal doesn't normally allow members to not have e-mail addresses, but the default admin/test members are an exception. If these members are present on the forum, then personal topics started with them, or replies to topics they are tracking, will trigger the error message.
Affects OCF users
Fix Please assign an e-mail address to your admin user.

A workaround for new users will be introduced in the next patch release.

Back to the top

Comments / View


Title Long-text input fields missing
Description A bug was introduced with a fix for the previous patch release - now "'a block of text (no comcode support)'" fields have no input space assigned for them in the add/edit forms.
Affects All users of catalogues with long-text fields
Fix Change lines 264-267 of cms/pages/modules/cms_catalogues.php from:

Code

            case 'form_input_text_comcode':
               if (is_null($default)) $default=''; // Plug anomaly due to unusual corruption
               $result=form_input_text_comcode($_cf_name,$_cf_description,'field_'.$field['id'],$default,$field['cf_required']==1);
               break;
to:

Code

            case 'form_input_text_comcode':
               if (is_null($default)) $default=''; // Plug anomaly due to unusual corruption
               $result=form_input_text_comcode($_cf_name,$_cf_description,'field_'.$field['id'],$default,$field['cf_required']==1);
               break;
            case 'form_input_text':
               if (is_null($default)) $default=''; // Plug anomaly due to unusual corruption
               $result=form_input_text($_cf_name,$_cf_description,'field_'.$field['id'],$default,$field['cf_required']==1);
               break;
(in other words, add 4 new lines underneath)

Back to the top

Comments / View


Title My Profile link may be broken
Description The 'My Profile' link in the login box links to start an IM with oneself, if the 'username links open IM conversation' option is on.
Affects Users with the aforementioned option on
Fix Change line 112 of sources/blocks/side_personal_stats.php from:

Code

            $url=$GLOBALS['FORUM_DRIVER']->member_profile_link($member);
to:

Code

            $url=$GLOBALS['FORUM_DRIVER']->member_profile_link($member,true);

Back to the top

Comments / View


Title Paypal problems
Description There are a number of problems with the subscription framework.
Affects All users who use this
Fix This will be fixed in the next patch release. If you would like a fix earlier, please enquire.

Back to the top

Comments / View