mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment) - a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this) - if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too) git-svn-id: file:///svn/phpbb/trunk@5709 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -569,12 +569,7 @@ class custom_profile
|
||||
|
||||
if ($preview == false)
|
||||
{
|
||||
include_once($phpbb_root_path . "includes/message_parser.$phpEx");
|
||||
include_once($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
|
||||
$message_parser = new parse_message();
|
||||
$message_parser->message = $value;
|
||||
$message_parser->decode_message($user->profile_fields[str_replace('pf_', '', $profile_row['field_ident']) . '_bbcode_uid']);
|
||||
$value = $message_parser->message;
|
||||
decode_message($value, $user->profile_fields[str_replace('pf_', '', $profile_row['field_ident']) . '_bbcode_uid']);
|
||||
}
|
||||
|
||||
$field_length = explode('|', $profile_row['field_length']);
|
||||
|
Reference in New Issue
Block a user