MyBB Community Forums

Full Version: [F] Attachments in copied threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If you copy (not move!) a thread containing attachments these attachments are missing in the copied thread.
Just a reminder: This bug isn't fixed yet. Toungue
I guess that's what this means Confused
				// we need to add code to copy attachments(?), polls, etc etc here
Any news? This bug still exists in 1.2.2.
I will fix today.
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
Use this file to fix
There's still something wrong:
Quote:MySQL error: 1054
Unknown column 'visisble' in 'field list'
Query: INSERT INTO mybb_posts (tid, fid, subject, icon, uid, username, dateline, message, ipaddress, includesig, smilieoff, edituid, edittime, visisble) VALUES ('159', '5', 'Test', '0', '1', 'Admin', '1159252219', 'So,\r\n\r\nnun teste ich mal Bildchen da oben:\r\ngggg\r\ngggg\r\ngggg\r\n\r\naha, geht also dann noch das mit dem ü ä ö, klapt das bei den deutsch-sprachigen wenigstens hier im Forum?', '141.6.8.72', 'yes', 'no', '25', '1159403534', '1')
Fix:
Replace
'visisble' => $post['visible']
with
'visible' => $post['visible']
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.


Use this file to fix your problems.
Upload to your inc folder.
A user of the german community has a problem with the new file.

1. The copied thread only contains the first post.
2. Attachments are still missing.
Pages: 1 2