Hey thanks for the link, do I just copy, paste and replace into my current functions_posting.php with the text from Github link over the old parts?3Di wrote: ↑Sat Jan 13, 2018 6:44 am^^ but's wrong ^^![]()
See here https://github.com/phpbb/phpbb/pull/5082/files
Code: Select all
// We display the posted attachments within the desired order.
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
+ $attachrow_template_vars = [];
+
foreach ($attachment_data as $count => $attach_row)
{
$hidden = '';
- $attachrow_template_vars = array();
$attach_row['real_filename'] = utf8_basename($attach_row['real_filename']);
foreach ($attach_row as $key => $value)
+
in the first columns means "Add the Line", the -
means "Remove the line",Code: Select all
// We display the posted attachments within the desired order.
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
$attachrow_template_vars = [];
foreach ($attachment_data as $count => $attach_row)
{
$hidden = '';
$attach_row['real_filename'] = utf8_basename($attach_row['real_filename']);
foreach ($attach_row as $key => $value)
Do you really think we don't test?John connor wrote: ↑Fri Jan 12, 2018 11:53 pm
Yeah, they in fact should have tested this them selves to see if there were any issues. I don't know what they do, but they should have a site dedicated for testing. Upload the new release and look for issues. Seems common sense to me.
That's exactly what us and others did. Still, these issues were unfortunately missed.John connor wrote: ↑Fri Jan 12, 2018 11:53 pm
Yeah, they in fact should have tested this them selves to see if there were any issues. I don't know what they do, but they should have a site dedicated for testing. Upload the new release and look for issues. Seems common sense to me.
That is not correct - the attachments also disappear on post editing. And preview is on of the most useful function when creating a long post, esp. because there is no (builtin / working) WYSIWYG-Editor
Thank you so much for your instructions, I've done that and it works well! Cheers.canonknipser wrote: ↑Sat Jan 13, 2018 4:07 pmThe+
in the first columns means "Add the Line", the-
means "Remove the line",
so your code should look like:Code: Select all
// We display the posted attachments within the desired order. ($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data); $attachrow_template_vars = []; foreach ($attachment_data as $count => $attach_row) { $hidden = ''; $attach_row['real_filename'] = utf8_basename($attach_row['real_filename']); foreach ($attach_row as $key => $value)
All who have been waiting for a few days and/or read in the forum