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

3.1.4

Title Comcode parsing error
Description Some servers seem to fail on some new security code that was added to the Comcode parser.

(This bug has been fixed in a re-release on 3.1.4)
Affects Some servers, unknown which
Fix Change line 496 of sources/comcode_text.php from:

Code

                  preg_replace('#\\(\d+)#','..${1}',$ahead_lower); // CSS escaping
to:

Code

                  preg_replace('#\\\\(\d+)#','..${1}',$ahead_lower); // CSS escaping

Back to the top

Comments / View


Title Problem with editing rank images
Description Edited rank images do not display on the usergroup editing page, if a custom theme is in-use.
Affects All OCF users who have a custom theme
Fix Change line 168 of sources/themes.php from:

Code

   $rows=$db->query('SELECT id,path FROM '.get_table_prefix().'theme_images WHERE '.db_string_equal_to('theme',$GLOBALS['FORUM_DRIVER']->get_theme()).' AND id LIKE \''.db_escape_string(db_encode_like($type.'%')).'\' ORDER BY path');
to:

Code

   $rows=$db->query('SELECT id,path FROM '.get_table_prefix().'theme_images WHERE ('.db_string_equal_to('theme',$GLOBALS['FORUM_DRIVER']->get_theme()).' OR '.db_string_equal_to('theme','default').') AND id LIKE \''.db_escape_string(db_encode_like($type.'%')).'\' ORDER BY path');

Back to the top

Comments / View


Title Problem with member warning
Description The link in a member profile to warn that member is incorrect.
Affects All OCF users
Fix Change line 156 of site/pages/modules/members.php from:

Code

   $modules[]=array('usage',do_lang('WARN_MEMBER'),build_url(array('page'=>'warnings','type'=>'ad','id'=>$member_id,'redirect'=>$redir_url),get_module_zone('warnings')));
to:

Code

   $modules[]=array('usage',do_lang('WARN_MEMBER'),build_url(array('page'=>'warnings','type'=>'ad','member_id'=>$member_id,'redirect'=>$redir_url),get_module_zone('warnings')));

Back to the top

Comments / View


Title Recommendation e-mail slightly wrong
Description The recommendation e-mail doesn't quite contain the right information, although it is mostly fine.
Affects All users
Fix In lang/EN/recommend.ini, change:

Code

RECOMMEND_MEMBER_MESSAGE={1} has recommended that you visit {3}. The following link will take you there:\n{2}\n\nThis e-mail was generated by the recommendation system of {2}.\n\n{1}'s personal message follows:\n\n
to:

Code

RECOMMEND_MEMBER_MESSAGE={1} has recommended that you visit {3}. The following link will take you there:\n{2}\n\nThis e-mail was generated by the recommendation system of {3}.\n\n{1}'s personal message follows:\n\n

Back to the top

Comments / View